<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Piglit regression: spec/ARB_texture_multisample/arb_texture_multisample-sample-mask-execution"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=91158">91158</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Piglit regression: spec/ARB_texture_multisample/arb_texture_multisample-sample-mask-execution
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>10.6
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Drivers/DRI/i965
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>idr@freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>svyatoslav.pankratov@intel.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-3d-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Piglit test
spec/ARB_texture_multisample/arb_texture_multisample-sample-mask-execution
starts fail after adding XRGB8888 format to intel_screen_make_configs to Mesa
10.6 (commit 28090b30dd6b5977de085f48c620574214b6b4ba)

spec/ARB_texture_multisample/arb_texture_multisample-sample-mask-execution
fails in src/mesa/main/blit.c: _mesa_blit_framebuffer() with bad src/dst
multisample pixel formats. But in intel driver can handle both RGB and RGBA
src/dst pixel formats. 

Adding additional checks to compatible_resolve_formats function can solve this
regression, but...
+   if ((readFormat == GL_RGB8 || readFormat == GL_RGBA8) &&   
+       (drawFormat == GL_RGB8 || drawFormat == GL_RGBA8))       
+       return GL_TRUE;                                          
+                                                             
+                                                                

But some tests from OGLconform fails too due they trying to check color with
alpha. And this fix isn't valid for it.

Reverting 28090b30dd6b5977de085f48c620574214b6b4ba may broke Weston.</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>