[Piglit] [PATCH 2/5] ssbo: make indirect test work on GL3.3

Dave Airlie airlied at gmail.com
Fri Nov 17 01:53:07 UTC 2017


From: Dave Airlie <airlied at redhat.com>

This uses extensions so I can test this on radeon.

Signed-off-by: Dave Airlie <airlied at redhat.com>
---
 .../execution/indirect.shader_test                                 | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/tests/spec/arb_shader_storage_buffer_object/execution/indirect.shader_test b/tests/spec/arb_shader_storage_buffer_object/execution/indirect.shader_test
index 50de38c..970bab6 100644
--- a/tests/spec/arb_shader_storage_buffer_object/execution/indirect.shader_test
+++ b/tests/spec/arb_shader_storage_buffer_object/execution/indirect.shader_test
@@ -2,11 +2,11 @@
 
 [require]
 GL >= 3.3
-GLSL >= 4.00
+GLSL >= 3.30
 GL_ARB_shader_storage_buffer_object
 
 [vertex shader]
-#version 400
+#version 330
 
 uniform int u_idx;
 in vec4 piglit_vertex;
@@ -18,7 +18,8 @@ void main() {
 }
 
 [fragment shader]
-#version 400
+#version 330
+#extension GL_ARB_gpu_shader5: require
 #extension GL_ARB_shader_storage_buffer_object: require
 
 layout(binding = 0) buffer Data {
-- 
2.9.5



More information about the Piglit mailing list