[Mesa-dev] [Bug 102904] piglit and gl45 cts linker tests regressed

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Sep 20 18:34:13 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=102904

--- Comment #2 from Kenneth Graunke <kenneth at whitecape.org> ---
In fs-out-overlap.shader_test, we have this:

   layout(location = 0) out vec2 a;

   // consumes Z/W components
   layout(location = 0, component = 1) out vec2 b;

Before the patch, we would do:

                  assigned[assigned_attr] = var;
                  assigned_attr++;

on the first variable.  But with the patch, we stop doing this, and fail to
record the first variable - because there's no used location.  So, on the
second variable, we look through the existing assigned attributes, and see
nothing, and fail to raise the error.

I think we just need to move the code back.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170920/21d7fcd5/attachment.html>


More information about the mesa-dev mailing list