summaryrefslogtreecommitdiff
path: root/tests/spec/arb_shader_atomic_counters
diff options
context:
space:
mode:
authorIlia Mirkin <imirkin@alum.mit.edu>2014-06-17 01:19:51 -0400
committerIlia Mirkin <imirkin@alum.mit.edu>2014-06-18 17:41:49 -0400
commit94dfd5352e7c68e4b080e63ea824f2dc313e5389 (patch)
treee3b379508719e2e8e91ec7d413935633cfbd40d3 /tests/spec/arb_shader_atomic_counters
parent88f81e0787573e2adccfd1c27108a0155575fd59 (diff)
arb_shader_atomic_counters: fix gs support check
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
Diffstat (limited to 'tests/spec/arb_shader_atomic_counters')
-rw-r--r--tests/spec/arb_shader_atomic_counters/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/spec/arb_shader_atomic_counters/common.c b/tests/spec/arb_shader_atomic_counters/common.c
index 7547d5d34..95d809e38 100644
--- a/tests/spec/arb_shader_atomic_counters/common.c
+++ b/tests/spec/arb_shader_atomic_counters/common.c
@@ -211,7 +211,7 @@ atomic_counters_supported(GLenum shader_stage)
return n;
case GL_GEOMETRY_SHADER:
- if (piglit_is_extension_supported("GL_ARB_geometry_shader4"))
+ if (piglit_get_gl_version() >= 32)
glGetIntegerv(GL_MAX_GEOMETRY_ATOMIC_COUNTERS, &n);
return n;