[Piglit] [PATCH] arb_shading_language_420pack: Don't use const with out or inout parameters

Ian Romanick idr at freedesktop.org
Thu Aug 8 16:52:58 PDT 2013

From: Ian Romanick <ian.d.romanick at intel.com>

The GLSL 4.40 spec still says:

    "The const qualifier cannot be used with out or inout, or a
    compile-time error results."

Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Cc: Matt Turner <mattst88 at gmail.com>
 .../compiler/qualifiers/relaxed-parameter-qualifier-ordering.vert     | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/tests/spec/arb_shading_language_420pack/compiler/qualifiers/relaxed-parameter-qualifier-ordering.vert b/tests/spec/arb_shading_language_420pack/compiler/qualifiers/relaxed-parameter-qualifier-ordering.vert
index a89cb2e..58af3b8 100644
--- a/tests/spec/arb_shading_language_420pack/compiler/qualifiers/relaxed-parameter-qualifier-ordering.vert
+++ b/tests/spec/arb_shading_language_420pack/compiler/qualifiers/relaxed-parameter-qualifier-ordering.vert
@@ -24,8 +24,4 @@
 #version 130
 #extension GL_ARB_shading_language_420pack: enable
 void a(in const float x) {}
-void b(out const float x) {}
-void c(inout const float x) {}
 void d(const in float x) {}
-void e(const out float x) {}
-void f(const inout float x) {}

More information about the Piglit mailing list