[Piglit] [PATCH] glsl-1.50: add linker test for unused in out blocks

Józef Kucia joseph.kucia at gmail.com
Fri Jul 14 20:21:22 UTC 2017


On Tue, May 30, 2017 at 4:23 PM, Józef Kucia <joseph.kucia at gmail.com> wrote:
> This test exposes a Mesa GLSL linker bug. The test fails with the
> following error message:
>
>   error: Input block `blk' is not an output of the previous stage
>
> Section 4.3.4 (Inputs) of the GLSL 1.50 spec says:
>
>     "Only the input variables that are actually read need to be written
>     by the previous stage; it is allowed to have superfluous
>     declarations of input variables."
> ---
>  .../interstage-multiple-shader-objects.shader_test | 38 ++++++++++++++++++++++
>  1 file changed, 38 insertions(+)
>  create mode 100644 tests/spec/glsl-1.50/linker/interstage-multiple-shader-objects.shader_test

Ping. Could someone take a look?


More information about the Piglit mailing list