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

Timothy Arceri tarceri at itsqueeze.com
Tue Jul 18 23:53:01 UTC 2017


On 15/07/17 06:21, Józef Kucia wrote:
> 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?

I've push this patch. Thanks for the test :)

> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/piglit
> 


More information about the Piglit mailing list