glsl: Mark 'in' variables at global scope as read-only
authorChad Versace <chad.versace@intel.com>
Thu, 20 Jan 2011 22:12:16 +0000 (14:12 -0800)
committerChad Versace <chad.versace@intel.com>
Fri, 21 Jan 2011 22:06:28 +0000 (14:06 -0800)
commit01a584d09350d2c726312e2c9e88c5dbc54bdb70
tree65fd9930298934b9208be590692df26e487bdae1
parentf633b993b0d11cbc2880707405cf38201a5df61d
glsl: Mark 'in' variables at global scope as read-only

Fixes Piglit tests:
spec/glsl-1.30/compiler/storage-qualifiers/static-write-centroid-in-01.frag
spec/glsl-1.30/compiler/storage-qualifiers/static-write-in-01.frag
spec/glsl-1.30/compiler/storage-qualifiers/static-write-in-02.frag
src/glsl/ast_to_hir.cpp