glsl: Add tracking for elements of an array-of-arrays that have been accessed
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 14 Dec 2016 04:29:23 +0000 (20:29 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 19 Dec 2016 23:55:43 +0000 (15:55 -0800)
commitb7053b80f27091acc8ccc954db99197e3073bff4
tree61b6634203e84c4a2738d24ae5eb290d7973e5a2
parent5085b640313f806150729a197c438a0cfea35f49
glsl: Add tracking for elements of an array-of-arrays that have been accessed

If there's a better way to provide access to ir_array_refcount_entry
private members to the test functions, I am very interested to know
about it.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Cc: Francisco Jerez <currojerez@riseup.net>
Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/compiler/Makefile.glsl.am
src/compiler/glsl/ir_array_refcount.cpp
src/compiler/glsl/ir_array_refcount.h
src/compiler/glsl/tests/array_refcount_test.cpp [new file with mode: 0644]