[Mesa-dev] [PATCH 1/2] Allow for GLSL shaders to have #extension directive anywhere in source file. (reworked)

Brian Paul brianp at vmware.com
Tue Dec 3 07:58:54 PST 2013


On 12/03/2013 05:47 AM, Kevin Rogovin wrote:
> Allow for GLSL shaders to have #extension directive
> anywhere in source file; during preprocessor, #extension
> directives are saved to a list rather than being added
> to the pre-processed string. That list is played back
> before parsing of pre-processed text takes place.
>

Kevin,  I have a patch that accomplishes the same thing via a DRI config 
option.  I'm still catching up on my email backlog but I'll
try to post it later.

-Brian



More information about the mesa-dev mailing list