glsl: Handle instance array declarations
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 22 Jan 2013 04:06:45 +0000 (23:06 -0500)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 25 Jan 2013 14:07:34 +0000 (09:07 -0500)
commit25e75b0a134f8f4de326c310349fc13f5ca906f2
tree59d2af1f1bceda50ce3e5fdaeb9782cdc0241cf3
parent5383661092fc46cf7013052210e6d624f4d5b596
glsl: Handle instance array declarations

v2: Add a comment and an assertion about the array size in the
non-instance name case.  Suggested by Paul Berry.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/ast_to_hir.cpp