[Bug 105301] The big SKQP bug

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Oct 30 18:31:37 UTC 2018


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

--- Comment #29 from Kenneth Graunke <kenneth at whitecape.org> ---
(In reply to Dongseong Hwang from comment #26)
> Kenneth, actually skqp assigns SRC1 by glBindFragDataLocationIndexed.
> However, skia bindw two varying out variables to (number=0, index=0) and
> (number=0, index=1). Is it legal? I cannot find the spec preventing this
> usage. 

Yes, that's exactly what you're supposed to do.  Location should be the same
for both (render target 0), index should select color 0 vs. color 1.

That all seems fine.  The GPU hang is definitely on a later draw with a shader
that has 'discard' in it.  I believe the GL_ONE_MINUS_SRC1_COLOR blend factor
is still set, but the 'discard' shader doesn't write two color outputs.  Like,
they meant to reset the blend factor and forgot.

-- 
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/20181030/ba65ee0d/attachment.html>


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