glsl: Add an ir_variable::max_ifc_array_access field.
authorPaul Berry <stereotype441@gmail.com>
Wed, 18 Sep 2013 21:15:36 +0000 (14:15 -0700)
committerPaul Berry <stereotype441@gmail.com>
Wed, 9 Oct 2013 23:49:31 +0000 (16:49 -0700)
commit3f4292a6e361c03abe922e025d24cba17e0ab305
treece1da045ef60477bc730dc361874e44396fb2026
parent22d3ef2df1f4fd6c4a0aaf17996fdcd9b70547cb
glsl: Add an ir_variable::max_ifc_array_access field.

For interface blocks that contain arrays, this field will contain the
maximum element of each contained array that is accessed by the
shader.  This is a first step toward supporting unsized arrays in
interface blocks.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/glsl/ir.cpp
src/glsl/ir.h
src/glsl/ir_clone.cpp