summaryrefslogtreecommitdiffstats
path: root/docs/relnotes-7.4.1.html
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2012-07-31 10:40:43 -0700
committerKenneth Graunke <[email protected]>2012-07-31 10:52:54 -0700
commit03ac5c54b55006a7014525c3dc1ebd6ed215b6be (patch)
tree74272facca36bd38a21995d5a8592e380586cfe0 /docs/relnotes-7.4.1.html
parentd84b3a5a3c855e3f2ffc83bbbda9d615b04c0ad2 (diff)
glsl: Fix #pragma invariant(all) language version check.
It was using state->Const.GLSL_100ES, which is set if the driver supports ARB_ES2_compatibility or we're in ES2 mode. Instead, it should use state->language_version, as that represents the actual GLSL version of the shader being compiled. Since the correct logic is < 120 && !100, just make it == 110. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'docs/relnotes-7.4.1.html')
0 files changed, 0 insertions, 0 deletions