Eric Engestrom
bb84fa146f
util: use C99 declaration in the for-loop hash_table_foreach() macro
...
Signed-off-by: Eric Engestrom <eric@engestrom.ch >
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com >
2018-10-25 12:43:18 +01:00
Eric Anholt
4636ce362d
glsl/tests: Fix a compiler warning about signed/unsigned loop comparison.
...
Fixes: d32956935e ("glsl: Walk a list of ir_dereference_array to mark array elements as accessed")
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com >
2018-02-20 20:23:57 -08:00
Ian Romanick
d32956935e
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 >
2016-12-19 15:55:43 -08:00
Ian Romanick
e92935089b
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 >
2016-12-19 15:55:43 -08:00
Ian Romanick
b7053b80f2
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 >
2016-12-19 15:55:43 -08:00