summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorFrancisco Jerez <currojerez@riseup.net>2015-09-29 19:58:44 +0300
committerFrancisco Jerez <currojerez@riseup.net>2015-10-03 18:16:17 +0300
commit00944ced43fb5b570c25970cca8bf63354f96182 (patch)
treebd6399aea47daa69b933a7797074e3988cf13c4d /tests
parent539055d57b5ccb8952cc611b498de507d7d322d0 (diff)
arb_shader_atomic_counters/max-counters: Use different atomic counter offsets in the VS of the combined test.
It is illegal for different atomic counter uniform declarations to overlap, even across stages, use different offsets in the VS to avoid that. Reviewed-by: Timothy Arceri <t_arceri@yahoo.com.au>
Diffstat (limited to 'tests')
-rw-r--r--tests/spec/arb_shader_atomic_counters/max-counters.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/spec/arb_shader_atomic_counters/max-counters.c b/tests/spec/arb_shader_atomic_counters/max-counters.c
index 38459b4b1..7014c7b0b 100644
--- a/tests/spec/arb_shader_atomic_counters/max-counters.c
+++ b/tests/spec/arb_shader_atomic_counters/max-counters.c
@@ -312,7 +312,7 @@ run_test_combined_max_buffers(unsigned num_fragment_buffers,
" gl_Position = position;\n"
"}\n",
"#define I %d\n"
- "layout(binding=I, offset=0) uniform atomic_uint X(I);\n"
+ "layout(binding=I, offset=4) uniform atomic_uint X(I);\n"
"#undef I\n",
" x += atomicCounterDecrement(x%d);\n",
num_vertex_buffers);