]> git.sesse.net Git - vlc/commit
Direct3D: implement HLSL pixel shading in the rendering pipeline
authorFelix Abecassis <felix.abecassis@gmail.com>
Fri, 7 Feb 2014 17:26:18 +0000 (17:26 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Sat, 8 Feb 2014 13:46:25 +0000 (14:46 +0100)
commit27d6d6fd5eff764b8d36f9abeb33ed069da713b3
treee77c70cfd18cfa858bf8ef662102e9291ae87de5
parentdbccf39c3e270741e7dc916d2bdd43fcd7388637
Direct3D: implement HLSL pixel shading in the rendering pipeline

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: Jean-Baptiste Kempf <jb@videolan.org>
NEWS
modules/video_output/Modules.am
modules/video_output/msw/builtin_shaders.h [new file with mode: 0644]
modules/video_output/msw/common.h
modules/video_output/msw/direct3d.c