diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2011-01-06 10:49:56 -0800 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2011-01-06 10:49:56 -0800 |
commit | 86b4398cd158024f6be9fa830554a11c2a7ebe0c (patch) | |
tree | f6a68f1bbcf218cbfefe30742054fd0002c99711 /src/mesa/main/image.h | |
parent | e942f328365309a1d8240cfe8eb5d88391015f37 (diff) |
glsl: Support the 'invariant(all)' pragma
Previously the 'STDGL invariant(all)' pragma added in GLSL 1.20 was
simply ignored by the compiler. This adds support for setting all
variable invariant.
In GLSL 1.10 and GLSL ES 1.00 the pragma is ignored, per the specs,
but a warning is generated.
Fixes piglit test glsl-invariant-pragma and bugzilla #31925.
NOTE: This is a candidate for the 7.9 and 7.10 branches.
Diffstat (limited to 'src/mesa/main/image.h')
0 files changed, 0 insertions, 0 deletions