X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fgallium%2Fauxiliary%2Futil%2Fu_tests.c;fp=src%2Fgallium%2Fauxiliary%2Futil%2Fu_tests.c;h=bae3fa111a4697022b3a91c60a49aa9e3aac7c60;hb=70f632962ac6d42f39ae762065caa049fc6352fd;hp=293a4580a9f3ab528e16c7b5738db3b0ea20e8ce;hpb=3e091d5a7ad03897fab01be0f3af8a8c1b98a0e2;p=mesa.git 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