[Mesa-dev] [Bug 95085] Invalid sampling of second texture in fragment shader that have two samplers with different parameters.
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Apr 29 23:27:02 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=95085
--- Comment #14 from Nicolai Hähnle <nhaehnle at gmail.com> ---
I think I understand now where the bug is coming from, and I'm not sure if it's
a driver or an application bug :)
The trace uses glVertexAttribPointer instead of glVertexAttribIPointer to set
up a vertex element that will consumed by an uint GLSL variable. I kind of
suspect that that should be undefined behaviour, but I haven't found a
corresponding spec reference.
In any case, it looks like this causes different parts of the driver and the
various auxiliary tools to disagree about whether the element should be treated
as an int or as a float, and some conversion happens somewhere that makes it
all go wrong...
--
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/20160429/40c5ef04/attachment.html>
More information about the mesa-dev
mailing list