Track whether whole-arrays are assignable
authorIan Romanick <ian.d.romanick@intel.com>
Sat, 3 Apr 2010 00:17:47 +0000 (17:17 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Sat, 3 Apr 2010 00:17:47 +0000 (17:17 -0700)
commit9d975377ca6dae7805804c0fbe625bb7c5f9e095
treead2a5b01dcf2f29d9a53ec01787356f511afaa86
parent2d946634eb3761dbec5aa8806fc36ff6d65b4f9c
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
ast_to_hir.cpp
ir.cpp
ir.h