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

Sasha Koruga skoruga at gmail.com
Mon Aug 16 10:57:37 CEST 2010


Hey,

Yeah, JB mentioned that in IRC, so that's what I'm planning to do. I
plan to do it the old fashion way: read the file.

Regards,
Sasha

On Mon, Aug 16, 2010 at 1:15 AM, David Kaplan <david at 2of1.org> wrote:
>
>
> 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
>
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>
>



More information about the vlc-devel mailing list