Skip to content
  • flx42's avatar
    Direct3D: implement HLSL pixel shading in the rendering pipeline · 27d6d6fd
    flx42 authored and Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf committed
    
    
    The user can choose to apply a builtin shader using a selection list
    in the options of the Direct3D vout module. A custom shader function
    can also be loaded by specifying the path of the shader file.
    
    Many changes since the latest patch proposal: we are not compiling
    "shader techniques" anymore but now shader functions using the "main"
    entrypoint.  All the shaders previously in pixelShader.fx are now
    builtins.
    
    Based on the code by Sasha Koruga for GSoC 2010.
    
    Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
    27d6d6fd