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

Matt Turner mattst88 at gmail.com
Thu Aug 8 17:53:17 PDT 2013


On Thu, Aug 8, 2013 at 4:52 PM, Ian Romanick <idr at freedesktop.org> wrote:
> 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) {}
> --
> 1.8.1.4
>

Doh!

Reviewed-by: Matt Turner <mattst88 at gmail.com>


More information about the Piglit mailing list