[Piglit] [PATCH] arb_enhanced_layouts: mismatch between GLSL version required and used

Juan A. Suarez Romero jasuarez at igalia.com
Mon Oct 24 15:56:56 UTC 2016


The test requires GLSL >= 1.40, but then in the code it uses 4.20. So
any backend that supports 1.40 (but not 4.20) and implements the
required extensions will fail.
---
 .../execution/component-layout/vs-fs-doubles.shader_test              | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/spec/arb_enhanced_layouts/execution/component-layout/vs-fs-doubles.shader_test b/tests/spec/arb_enhanced_layouts/execution/component-layout/vs-fs-doubles.shader_test
index de33459..2507668 100644
--- a/tests/spec/arb_enhanced_layouts/execution/component-layout/vs-fs-doubles.shader_test
+++ b/tests/spec/arb_enhanced_layouts/execution/component-layout/vs-fs-doubles.shader_test
@@ -7,7 +7,7 @@ GL_ARB_separate_shader_objects
 GL_ARB_gpu_shader_fp64
 
 [vertex shader]
-#version 420
+#version 140
 #extension GL_ARB_enhanced_layouts: require
 #extension GL_ARB_separate_shader_objects: require
 #extension GL_ARB_gpu_shader_fp64: require
@@ -30,7 +30,7 @@ void main()
 }
 
 [fragment shader]
-#version 420
+#version 140
 #extension GL_ARB_enhanced_layouts: require
 #extension GL_ARB_separate_shader_objects: require
 #extension GL_ARB_gpu_shader_fp64: require
-- 
2.7.4



More information about the Piglit mailing list