<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:stu_dby@126.com" title="Boyan Ding <stu_dby@126.com>"> <span class="fn">Boyan Ding</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [softpipe] piglit egl-create-context-valid-flag-forward-compatible-gl regression"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=92552">bug 92552</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Component</td>
           <td>Mesa core
           </td>
           <td>EGL
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [softpipe] piglit egl-create-context-valid-flag-forward-compatible-gl regression"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=92552#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [softpipe] piglit egl-create-context-valid-flag-forward-compatible-gl regression"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=92552">bug 92552</a>
              from <span class="vcard"><a class="email" href="mailto:stu_dby@126.com" title="Boyan Ding <stu_dby@126.com>"> <span class="fn">Boyan Ding</span></a>
</span></b>
        <pre>(In reply to Matthew Waters from <a href="show_bug.cgi?id=92552#c2">comment #2</a>)
<span class="quote">> Created <span class=""><a href="attachment.cgi?id=119006" name="attach_119006" title="egl: distnguish between unsupported api vs capabilities for EGL_CONTEXT_FLAGS">attachment 119006</a> <a href="attachment.cgi?id=119006&action=edit" title="egl: distnguish between unsupported api vs capabilities for EGL_CONTEXT_FLAGS">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=92552&attachment=119006'>[review]</a> [review]
> egl: distnguish between unsupported api vs capabilities for EGL_CONTEXT_FLAGS

> This fixes that issue for me.</span >

Well, your patch does seem to eliminate the problem, but there is a subtle
difference between how things works now and before, which I think may be
questionable.

The spec of EGL_KHR_create_context says:
    requesting a forward-compatible context for OpenGL versions less
    than 3.0 will generate an error

The code now takes "OpenGL version" above as version requested with EGL (1.0 by
default). However, the OpenGL version actually provided can be up to 3.0. In
such case, your patch will fail to create forward-compatible context, giving
the "appropriate" error, while mesa before 86ccb2a1 will succeed. Though both
behaviors pass piglit.

Any ideas?</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>