diff options
author | Francisco Jerez <currojerez@riseup.net> | 2015-09-29 19:34:07 +0300 |
---|---|---|
committer | Francisco Jerez <currojerez@riseup.net> | 2015-10-03 18:16:17 +0300 |
commit | 539055d57b5ccb8952cc611b498de507d7d322d0 (patch) | |
tree | e59a8a17fdbf338d301897d99f8697805c2cbb62 /tests | |
parent | 8349602964854b31c91bc64973da29518620502a (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.c | 4 |
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" |