Reviewed-by: Ian Romanick <ian.d.roman...@intel.com>

On 02/10/2018 08:33 AM, Eric Anholt wrote:
> Cc: Ian Romanick <ian.d.roman...@intel.com>
> Fixes: d32956935edf ("glsl: Walk a list of ir_dereference_array to mark array 
> elements as accessed")
> ---
>  src/compiler/glsl/tests/array_refcount_test.cpp | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/compiler/glsl/tests/array_refcount_test.cpp 
> b/src/compiler/glsl/tests/array_refcount_test.cpp
> index ecd7f46900b8..0d8f4521caed 100644
> --- a/src/compiler/glsl/tests/array_refcount_test.cpp
> +++ b/src/compiler/glsl/tests/array_refcount_test.cpp
> @@ -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;
>     }
> 

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to