[Mesa-dev] [Bug 106833] glLinkProgram is expected to fail when vertex attribute aliasing happens on ES3.0 context or later

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jun 6 08:30:55 UTC 2018


--- Comment #1 from Tapani Pälli <lemody at gmail.com> ---
FYI I noticed this test prints out following before failing tests:

"Testing with shader that has entirely unused attributes".

IMO the issue here is that Mesa does not assign a location to entirely unused
attributes (their location will be -1) and therefore checks for
overlapping/aliasing locations are not done. I've proven this by skipping
opt_dead_code for certain variables in the test and that makes it pass as we
run the appropriate check in linker.

I'm not sure if this testing overlapping locations of unused attributes makes
actually sense or how to fix the situation.

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

More information about the mesa-dev mailing list