glsl: Fix off-by-one error setting max_array_access for non-constant indexing
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 24 Mar 2011 23:50:23 +0000 (16:50 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 25 Mar 2011 18:28:07 +0000 (11:28 -0700)
commit0d9d036004f135c38990c60f46074b70cff6e663
treec8bbd53b5efdc7a392283ebcda032b1fd345941d
parentbc83f6bd585bba6dee3fa2264d32ab59e9a9c99e
glsl: Fix off-by-one error setting max_array_access for non-constant indexing

NOTE: This is a candidate for the stable branches.
src/glsl/ast_to_hir.cpp