<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Validation of KHR_blend_equation_advanced stricter than NVidia"
href="https://bugs.freedesktop.org/show_bug.cgi?id=105161#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Validation of KHR_blend_equation_advanced stricter than NVidia"
href="https://bugs.freedesktop.org/show_bug.cgi?id=105161">bug 105161</a>
from <span class="vcard"><a class="email" href="mailto:kde@carewolf.com" title="Allan Sandfeld Jensen <kde@carewolf.com>"> <span class="fn">Allan Sandfeld Jensen</span></a>
</span></b>
<pre>Note. I have been unable to get it to work at all in compatibility-mode desktop
OpenGL. The following code only works in core mode:
#ifdef GL_KHR_blend_equation_advanced
#extension GL_KHR_blend_equation_advanced : require
layout(blend_support_all_equations) out;
#endif
because layout is not identified in basic OpenGL 2.0, and while
#ifdef GL_KHR_blend_equation_advanced
#extension GL_ARB_explicit_attrib_location : enable
#extension GL_KHR_blend_equation_advanced : require
layout(blend_support_all_equations) out;
#endif
parses, it doesn't actually change anything. Mesa still reports:
Mesa: User error: GL_INVALID_OPERATION in fragment shader does not allow
advanced blending mode (GL_MULTIPLY)
With NVidia drivers, I don't need any changes to fragment shaders.</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>