<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:shuo.wang@intel.com" title="shuo.wang@intel.com">shuo.wang@intel.com</a>
</span> changed
              <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [IVB/HSW Bisected]Piglit/gles2/shaders/18_else_case fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=59955">bug 59955</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;">CC</td>
           <td>
                
           </td>
           <td>shuo.wang@intel.com
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [IVB/HSW Bisected]Piglit/gles2/shaders/18_else_case fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=59955#c9">Comment # 9</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [IVB/HSW Bisected]Piglit/gles2/shaders/18_else_case fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=59955">bug 59955</a>
              from <span class="vcard"><a class="email" href="mailto:shuo.wang@intel.com" title="shuo.wang@intel.com">shuo.wang@intel.com</a>
</span></b>
        <pre>Created <span class=""><a href="attachment.cgi?id=110336" name="attach_110336" title="Update a case in piglit-gles2 to follow the spec of ES3">attachment 110336</a> <a href="attachment.cgi?id=110336&action=edit" title="Update a case in piglit-gles2 to follow the spec of ES3">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=59955&attachment=110336'>[review]</a>
Update a case in piglit-gles2 to follow the spec of ES3

This case is belong to project Piglit-gles2(not piglit), which is porting from
piglit, and used to test gles.
this project is not followed the upgrade from OpenGL ES2.0 to OpenGL ES 3.0,so
this case is failed.

Ian's comment at 4# is the root cause:"As soon as the ES version switched to 3,
the driver started using the stricter checks, and the glReadPixels call
failed."

I just modify the project "piglit-gles2", to follow the upgrade from OpenGL
ES2.0 to OpenGL ES 3.0.Attachment is the patch. Than the case is pass.

Since this project is abandon now, I think this bug can be closed.

For the two things which was mentioned by Ian:
[Ian]1. Modify the piglit probe code to always use GL_RGBA or GL_RGBA_INTEGER
in ES mode.  If the probe is RGB, the alpha component can just be ignored.
[Shuo]I checked the source code of Piglit, the related part of Piglit has big
change, and if there is any new bug, we should open a new one.
[Ian]2. Unify the ES2 and ES3 ReadPixels error check paths in Mesa a bit more
so that the ES2 path more closely follows the spec.
[Shuo]Not sure about this one, but from this case I can see, we wanted to go
through ES2 path(which is not contained so much stricter checks), but this case
still failed.So I think, at least the error check of this part, ES2 and ES3 is
unified.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>