Skip to content
Snippets Groups Projects
Commit 4636ce36 authored by Emma Anholt's avatar Emma Anholt
Browse files

glsl/tests: Fix a compiler warning about signed/unsigned loop comparison.


Fixes: d3295693 ("glsl: Walk a list of ir_dereference_array to mark array elements as accessed")
Reviewed-by: default avatarIan Romanick <ian.d.romanick@intel.com>
parent 7075c084
No related branches found
No related tags found
Loading
......@@ -628,7 +628,7 @@ TEST_F(array_refcount_test, visit_array_indexing_an_array)
ir_array_refcount_entry *const entry_c = v.get_variable_entry(var_c);
for (unsigned i = 0; i < var_c->type->array_size(); i++) {
for (int i = 0; i < var_c->type->array_size(); i++) {
EXPECT_EQ(true, entry_c->is_linearized_index_referenced(i)) <<
"array c, i = " << i;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment