glsl: Walk a list of ir_dereference_array to mark array elements as accessed
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 15 Dec 2016 22:26:24 +0000 (14:26 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 19 Dec 2016 23:55:43 +0000 (15:55 -0800)
commitd32956935edf06c8ae6872c707bc65187b4a1d15
treed796b8c3644d6d375caea13725ffe922ba87dcaf
parente92935089bd9a987027d1f0791e7298bb3a57113
glsl: Walk a list of ir_dereference_array to mark array elements as accessed

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/compiler/glsl/ir_array_refcount.cpp
src/compiler/glsl/ir_array_refcount.h
src/compiler/glsl/tests/array_refcount_test.cpp