[Bug 104335] [OpenGL CTS][SKL,KBL] KHR-GL45.vertex_attrib_64bit.limits_test occasionally fails

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Dec 20 11:58:31 UTC 2017


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

--- Comment #3 from Iago Toral <itoral at igalia.com> ---
Another thing I noticed is that if I modify the vertex shader in these tests to
also use gl_VertexID besides gl_InstanceID, for example replacing gl_InstanceID
in gl4cVertexAttrib64bitTest.cpp:1826 with this expression:

(gl_InstanceID + gl_VertexID * 2 - gl_VertexID - gl_VertexID)

so the end result is the same but it makes the compiler read gl_VertexID, then
I can no longer reproduce  the problem, even if I do the scrolling thing I
mention in the first comment which most definitely makes the issue reproducible
much more easily.

Based on this, I thought there may be some piece of state that is only set when
we resad  gl_VertexID that could be affecting the test but setting
prog_data->uses_vertexid when we set prog_data->uses_instanceid doesn't seem to
fix the problem and I did not identify any other place in the code where
reading gl_VertexID affects state setup...

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20171220/8c50984a/attachment.html>


More information about the intel-3d-bugs mailing list