Re: [Mesa-dev] [PATCH 01/21] glsl: Store a predicate for whether a built-in signature is available.

2013-09-08 Thread Paul Berry
On 4 September 2013 15:22, Kenneth Graunke wrote: > For the upcoming built-in function rewrite, we'll need to be able to > answer "Is this built-in function signature available?". > > This is actually a somewhat complex question, since it depends on the > language version, GLSL vs. GLSL ES, enabl

[Mesa-dev] [PATCH 01/21] glsl: Store a predicate for whether a built-in signature is available.

2013-09-04 Thread Kenneth Graunke
For the upcoming built-in function rewrite, we'll need to be able to answer "Is this built-in function signature available?". This is actually a somewhat complex question, since it depends on the language version, GLSL vs. GLSL ES, enabled extensions, and the current shader stage. Storing such a