<div dir="auto">To be clear, I'm saying this is broken in Mesa for *any* situation that involves redefining a function that appears in a future GL version or ext. There are some limitations to this, based on when the error is triggered, I don't have the code in front of me. At least it happens for es 3.0.</div><div class="gmail_extra"><br><div class="gmail_quote">On Jul 2, 2017 15:10, <<a href="mailto:bugzilla-daemon@freedesktop.org">bugzilla-daemon@freedesktop.org</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<p>
<div>
<b><a class="m_-7766799711399768627bz_bug_link m_-7766799711399768627bz_status_NEW" title="NEW - bitfieldExtract is marked as a built-in function on OpenGL ES 3.0, but was added in OpenGL ES 3.1" href="https://bugs.freedesktop.org/show_bug.cgi?id=101666#c4" target="_blank">Comment # 4</a>
on <a class="m_-7766799711399768627bz_bug_link m_-7766799711399768627bz_status_NEW" title="NEW - bitfieldExtract is marked as a built-in function on OpenGL ES 3.0, but was added in OpenGL ES 3.1" href="https://bugs.freedesktop.org/show_bug.cgi?id=101666" target="_blank">bug 101666</a>
from <span class="m_-7766799711399768627vcard"><a class="m_-7766799711399768627email" href="mailto:imirkin@alum.mit.edu" title="Ilia Mirkin <imirkin@alum.mit.edu>" target="_blank"> <span class="m_-7766799711399768627fn">Ilia Mirkin</span></a>
</span></b>
<pre><div class="quoted-text">The predicate is correct, just never checked.
On Jul 2, 2017 15:08, <<a href="mailto:bugzilla-daemon@freedesktop.org" target="_blank">bugzilla-daemon@freedesktop.<wbr>org</a>> wrote:
</div><span class="m_-7766799711399768627quote">> *<a href="https://bugs.freedesktop.org/show_bug.cgi?id=101666#c3" target="_blank">Comment # 3</a> <<a class="m_-7766799711399768627bz_bug_link m_-7766799711399768627bz_status_NEW" title="NEW - bitfieldExtract is marked as a built-in function on OpenGL ES 3.0, but was added in OpenGL ES 3.1" href="https://bugs.freedesktop.org/show_bug.cgi?id=101666#c3" target="_blank">https://bugs.freedesktop.org/<wbr>show_bug.cgi?id=101666#c3</a>> on
> <a class="m_-7766799711399768627bz_bug_link m_-7766799711399768627bz_status_NEW" title="NEW - bitfieldExtract is marked as a built-in function on OpenGL ES 3.0, but was added in OpenGL ES 3.1" href="https://bugs.freedesktop.org/show_bug.cgi?id=101666" target="_blank">bug 101666</a> <<a class="m_-7766799711399768627bz_bug_link m_-7766799711399768627bz_status_NEW" title="NEW - bitfieldExtract is marked as a built-in function on OpenGL ES 3.0, but was added in OpenGL ES 3.1" href="https://bugs.freedesktop.org/show_bug.cgi?id=101666" target="_blank">https://bugs.freedesktop.org/<wbr>show_bug.cgi?id=101666</a>> from
> Kenneth Graunke <<a href="mailto:kenneth@whitecape.org" target="_blank">kenneth@whitecape.org</a>> *</span><div class="quoted-text">
>
<span class="m_-7766799711399768627quote">> I don't think you need to change any infrastructure, we just didn't add the
> proper built-in availability predicate to the bitfieldExtract functions in
> builtin_functions.cpp. it should be trivial to fix - this is by no means a new
> case...</span>
>
</div><span class="m_-7766799711399768627quote">> ------------------------------
> You are receiving this mail because:</span>
>
<span class="m_-7766799711399768627quote">> - You are the assignee for the bug.</span><div class="quoted-text">
>
>
<span class="m_-7766799711399768627quote">> ______________________________<wbr>_________________
> mesa-dev mailing list
> <a href="mailto:mesa-dev@lists.freedesktop.org" target="_blank">mesa-dev@lists.freedesktop.org</a>
> <a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/mesa-dev</a></span>
>
></div></pre>
</div>
</p>
<hr><div class="quoted-text">
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</div></div>
<br>______________________________<wbr>_________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/mesa-dev</a><br>
<br></blockquote></div><br></div>