[Bug 102855] [OpenGL CTS] Multiple crashes in enhanced layout tests due to incorrect vue setup

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Sep 20 06:38:50 UTC 2017


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

--- Comment #2 from Iago Toral <itoral at igalia.com> ---
(In reply to Kenneth Graunke from comment #1)
> The problem seems to be that FS inputs / SF outputs go beyond 32, which is
> the limit imposed by the SF attribute index.

I see, for some reason I always thought that was a limitation for the entire
pipeline and not just the FS inputs... good to know.

> I think we can use URB Entry Read Offset to work around this...currently we
> hardcode it to 0 or 1...but we could probably skip over a few more.  In
> particular, we have clip distance in the VUE slots, but the FS shouldn't
> care, which gives us 2 more slots (1 offset)...

Yes, that's a good point... it may just be enough to make the tests pass
although it is still not a proper fix. I'll give it a try and comment on the
results.

> We'd still run into problems if someone tries to use an explicit max
> location and read gl_ViewportIndex / gl_LayerID in the FS, but...that's at
> least much less common of a bug.

Yeah... it is not ideal but maybe it is unlikely that real applications would
run into this issue anyway. If this is enough to make the tests happy I guess
we can wait to see if we get bug reports to decide if we need to take more
actions.

Thanks for the quick feedback Ken!

-- 
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/intel-3d-bugs/attachments/20170920/58b9b763/attachment.html>


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