summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorFrancisco Jerez <currojerez@riseup.net>2015-09-29 19:34:07 +0300
committerFrancisco Jerez <currojerez@riseup.net>2015-10-03 18:16:17 +0300
commit539055d57b5ccb8952cc611b498de507d7d322d0 (patch)
treee59a8a17fdbf338d301897d99f8697805c2cbb62 /tests
parent8349602964854b31c91bc64973da29518620502a (diff)
arb_shader_atomic_counters/max-counters: Init uint variable with unsigned literal.
This subtest was probably only tested on nVidia and this happened to work by luck. Reviewed-by: Timothy Arceri <t_arceri@yahoo.com.au>
Diffstat (limited to 'tests')
-rw-r--r--tests/spec/arb_shader_atomic_counters/max-counters.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/spec/arb_shader_atomic_counters/max-counters.c b/tests/spec/arb_shader_atomic_counters/max-counters.c
index 69b42144c..38459b4b1 100644
--- a/tests/spec/arb_shader_atomic_counters/max-counters.c
+++ b/tests/spec/arb_shader_atomic_counters/max-counters.c
@@ -284,7 +284,7 @@ run_test_combined_max_buffers(unsigned num_fragment_buffers,
"%s"
"\n"
"void main() {\n"
- " uint x = 0;\n"
+ " uint x = 0u;\n"
" %s\n"
" fcolor.x = int(x);\n"
"}\n",
@@ -306,7 +306,7 @@ run_test_combined_max_buffers(unsigned num_fragment_buffers,
"%s"
"\n"
"void main() {\n"
- " uint x = 0;\n"
+ " uint x = 0u;\n"
" %s\n"
" vcolor.x = int(x);\n"
" gl_Position = position;\n"