diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2010-04-02 17:17:47 -0700 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2010-04-02 17:17:47 -0700 |
commit | 9d975377ca6dae7805804c0fbe625bb7c5f9e095 (patch) | |
tree | ad2a5b01dcf2f29d9a53ec01787356f511afaa86 /ir.h | |
parent | 2d946634eb3761dbec5aa8806fc36ff6d65b4f9c (diff) |
Track whether whole-arrays are assignable
In GLSL 1.10 this was not allowed, but in GLSL 1.20 and later it is.
This causes the following tests to pass:
glslparsertest/glsl2/array-09.vert
glslparsertest/glsl2/array-13.vert
Diffstat (limited to 'ir.h')
-rw-r--r-- | ir.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -146,6 +146,14 @@ public: unsigned mode:3; unsigned interpolation:2; + + /** + * Flag that the whole array is assignable + * + * In GLSL 1.20 and later whole arrays are assignable (and comparable for + * equality). This flag enables this behavior. + */ + unsigned array_lvalue:1; }; |