[Bug 105301] The big SKQP bug

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Oct 30 23:29:08 UTC 2018


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

--- Comment #36 from Dongseong Hwang <dongseong.hwang at intel.com> ---
Thank you for all quick response and fixing this issue.

Kenneth, I carefully checked skqp. skia never do something wrong.

When it uses double blend src, skia explicitly uses the program and sets the
blend func.
glUseProgram(program = 7)
glBlendFunc(sfactor = GL_ONE, dfactor = GL_ONE_MINUS_SRC1_COLOR)

Whenever it uses single blend src, skia explicitly uses the program and sets
the blend func again.
glUseProgram(program = 16)
glBlendFunc(sfactor = GL_ONE, dfactor = GL_ONE_MINUS_SRC_ALPHA)

I think it's the hidden bug of mesa and the following patch accidentally fix
it.
https://patchwork.freedesktop.org/patch/235939/

I guess |wm_prog_data->dual_src_blend| is stale at the point, although skia
calls glBlendFunc(sfactor = GL_ONE, dfactor = GL_ONE_MINUS_SRC_ALPHA).

What do you think?

-- 
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/31d5a527/attachment-0001.html>


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