diff options
author | Eric Anholt <eric@anholt.net> | 2010-08-25 23:27:56 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-08-25 23:43:21 -0700 |
commit | c735d85395f8f0c0a71b04ebc728390970271fe2 (patch) | |
tree | 1c6573e8fcfa8ff61c20c575b2d82052decf4a54 /configs/solaris-x86 | |
parent | aa2f55883b9a4e8a192c5dcc97ae7fdab2a33e0a (diff) |
glsl: Don't consider things with a type containing a sampler as an lvalue.
We had ad-hoc handled some common cases by flagging sampler-typed
variables as read_only, and rejected initializers of samplers.
However, people could sneak them in in all sorts of surprising ways,
like using whole-array or structure assignment.
Fixes:
glslparsertest/glsl2/sampler-01.frag
glslparsertest/glsl2/sampler-03.frag
glslparsertest/glsl2/sampler-04.frag
glslparsertest/glsl2/sampler-06.frag
Bug #27403.
Diffstat (limited to 'configs/solaris-x86')
0 files changed, 0 insertions, 0 deletions