glsl: Mark a set of array elements as accessed using a list of array_deref_range
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 15 Dec 2016 22:01:28 +0000 (14:01 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 19 Dec 2016 23:55:43 +0000 (15:55 -0800)
commite92935089bd9a987027d1f0791e7298bb3a57113
tree6f84d8ee56054d78b8e7a25d4582d060bc8a5e56
parent8d499f60c88b70a39f53d0fbe96a6ada6fd36b8b
glsl: Mark a set of array elements as accessed using a list of array_deref_range

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