[Piglit] [PATCH] arb_compute_shader: fix shared-atomics.comp
Samuel Pitoiset
samuel.pitoiset at gmail.com
Thu Apr 27 15:19:31 UTC 2017
atomic*() functions require either GLSL 4.30 or
GL_ARB_shader_storage_buffer_object.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
---
tests/spec/arb_compute_shader/compiler/shared-atomics.comp | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/spec/arb_compute_shader/compiler/shared-atomics.comp b/tests/spec/arb_compute_shader/compiler/shared-atomics.comp
index 3835bee03..a4f4a6855 100644
--- a/tests/spec/arb_compute_shader/compiler/shared-atomics.comp
+++ b/tests/spec/arb_compute_shader/compiler/shared-atomics.comp
@@ -6,6 +6,7 @@
#version 420
#extension GL_ARB_compute_shader: enable
+#extension GL_ARB_shader_storage_buffer_object : enable
shared uint u;
shared int i;
--
2.12.2
More information about the Piglit
mailing list