aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/u_tests.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/auxiliary/util/u_tests.c')
-rw-r--r--src/gallium/auxiliary/util/u_tests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_tests.c b/src/gallium/auxiliary/util/u_tests.c
index 293a4580a9f..bae3fa111a4 100644
--- a/src/gallium/auxiliary/util/u_tests.c
+++ b/src/gallium/auxiliary/util/u_tests.c
@@ -649,7 +649,7 @@ test_texture_barrier(struct pipe_context *ctx, bool use_fbfetch,
/* Vertex shader. */
void *vs = util_set_passthrough_vertex_shader(cso, ctx, false);
- for (int i = 0; i < num_samples / 2; i++) {
+ for (unsigned i = 0; i < num_samples / 2; i++) {
float value;
/* 2 consecutive samples should have the same color to test MSAA