The test is written in GLSL 1.1 which doesn't allow storage qualifiers.
The AMD_conservative_depth specification references them but it is written
against a later GLSL spec.
---
 tests/shaders/link-mismatch-layout-02.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/shaders/link-mismatch-layout-02.c 
b/tests/shaders/link-mismatch-layout-02.c
index 49b0be0..0f7ec4a 100644
--- a/tests/shaders/link-mismatch-layout-02.c
+++ b/tests/shaders/link-mismatch-layout-02.c
@@ -43,7 +43,7 @@ PIGLIT_GL_TEST_CONFIG_END
 
 static const char layout_greater[] =
        "#extension GL_AMD_conservative_depth: require\n"
-       "layout(depth_greater) out float gl_FragDepth;\n"
+       "layout(depth_greater) float gl_FragDepth;\n"
        "vec4 foo(void);\n"
        "void main(void)\n"
        "{\n"
@@ -52,7 +52,7 @@ static const char layout_greater[] =
 
 static const char layout_less[] =
        "#extension GL_AMD_conservative_depth: require\n"
-       "layout(depth_less) out float gl_FragDepth;\n"
+       "layout(depth_less) float gl_FragDepth;\n"
        "vec4 foo(void)\n"
        "{\n"
        "    return vec4(1.0);\n"
-- 
1.7.10.4

_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to