[Bug 105301] The big SKQP bug
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Oct 31 00:14:02 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=105301
--- Comment #37 from Kenneth Graunke <kenneth at whitecape.org> ---
Created attachment 142291
--> https://bugs.freedesktop.org/attachment.cgi?id=142291&action=edit
apitrace of mixedtextblobs test
(In reply to Dongseong Hwang from comment #36)
> Thank you for all quick response and fixing this issue.
>
> Kenneth, I carefully checked skqp. skia never do something wrong.
I have attached an apitrace of mixedtextblobs. unxz then apitrace dump
mixedtextblobs.trace to see the GL calls it's making.
3794 glBlendFunc(sfactor = GL_ONE, dfactor = GL_ONE_MINUS_SRC1_COLOR)
...
3804 glDrawRangeElements(mode = GL_TRIANGLES, start = 0, end = 47, count = 72,
type = GL_UNSIGNED_SHORT, indices = NULL)
...
3808 glUseProgram(program = 4)
...
3836 glDrawRangeElements(mode = GL_TRIANGLES, start = 0, end = 33, count = 90,
type = GL_UNSIGNED_SHORT, indices = 0xad4)
3838 glEnable(cap = GL_SAMPLE_SHADING)
3841 glUseProgram(program = 7)
...
3853 glDrawRangeElements(mode = GL_TRIANGLES, start = 0, end = 95, count = 96,
type = GL_UNSIGNED_SHORT, indices = 0xba0)
Call #3853 does a draw with GL_ONE_MINUS_SRC1_COLOR and program 7, which is the
"discard" program, which only writes one color, triggering undefined behavior.
I'm not making this up. :(
--
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/20181031/7523af8e/attachment.html>
More information about the intel-3d-bugs
mailing list