[vlc-devel] [PATCH] Direct3D shader support (HLSL)

David Kaplan david at 2of1.org
Mon Aug 16 10:15:59 CEST 2010


On Mon, Aug 16, 2010 at 9:41 AM, Sasha Koruga <skoruga at gmail.com> wrote:

> >> +        const char * shaderStrings[SHADEROPTIONSCOUNT] =
> >> {"convertbt", "widen", "detect", "gamma18", "gamma22", "gammabt",
> >> "invert", "grayscale"};
> > What happens if there are other shaders in the .fx file?
>
>
> I was thinking of having something like "custom1" "custom2" "custom3",
> and then people could fill that in the shader file. If they think
> their particular shader code is useful to more people, then they can
> submit it.
>
> Is there no way to allow these names to be specified in the .fx and then
dynamically pull them out?



-- 
http://blog.2of1.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20100816/2fd02e3c/attachment.html>


More information about the vlc-devel mailing list