<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - The big SKQP bug"
href="https://bugs.freedesktop.org/show_bug.cgi?id=105301#c36">Comment # 36</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - The big SKQP bug"
href="https://bugs.freedesktop.org/show_bug.cgi?id=105301">bug 105301</a>
from <span class="vcard"><a class="email" href="mailto:dongseong.hwang@intel.com" title="Dongseong Hwang <dongseong.hwang@intel.com>"> <span class="fn">Dongseong Hwang</span></a>
</span></b>
<pre>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.
<a href="https://patchwork.freedesktop.org/patch/235939/">https://patchwork.freedesktop.org/patch/235939/</a>
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?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>