<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>high
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [SNB Bisected]Piglit spec/ARB_texture_float/multisample-formats 2 GL_ARB_texture_float fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=70601">70601</a>
          </td>
        </tr>

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

        <tr>
          <th>Assignee</th>
          <td>kenneth@whitecape.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[SNB Bisected]Piglit spec/ARB_texture_float/multisample-formats 2 GL_ARB_texture_float fails
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-3d-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>major
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>huax.lu@intel.com
          </td>
        </tr>

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

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

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

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

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr></table>
      <p>
        <div>
        <pre>System Environment:
--------------------------
Platform: Sandybridge
Libdrm:        (master)2.4.47
Mesa:        (master)4ef1c8fb4c0ae8d0fa2a0e4311ef63255d8485f0
Xserver:   
(master)xorg-server-1.14.99.2-14-g7cf1b595c8c8f9776a39559d2878cf90af3f2859
Xf86_video_intel:(master)2.99.904-32-gec0866e86d365ae3fd9790b1b263d49fc4981220
Cairo:        (master)6f05ecf488314e4b0c6c6b0110963c449bebe7d7
Libva:        (staging)1a011ce5bb0b80506797a25a988854f3f81ce909
Libva_intel_driver:(staging)1cee858036a87837deddc87586701ed869f96261
Kernel:    (drm-intel-nightly) 164a4cb4c1431a0689f85507868356fae24da638

Bug detailed description:
-----------------------------
It fails on sandybridge with mesa master branch, and works well on 9.2 branch.
spec_ARB_texture_float_multisample-formats_4_GL_ARB_texture_float also fail
with same bisect commit.

Bisect shows:72aade48fe7d4c4099ef713887c06b3aaacf1acd is the first bad commit.
commit 72aade48fe7d4c4099ef713887c06b3aaacf1acd
Author:     Kenneth Graunke <<a href="mailto:kenneth@whitecape.org">kenneth@whitecape.org</a>>
AuthorDate: Mon Oct 7 12:44:01 2013 -0700
Commit:     Kenneth Graunke <<a href="mailto:kenneth@whitecape.org">kenneth@whitecape.org</a>>
CommitDate: Wed Oct 9 16:36:50 2013 -0700

    i965/blorp: Rework sRGB override behavior.

    The previous code for sRGB overrides assumes that the source and
    destination formats are equal, other than the color space.  This won't
    be feasible when we add support for format conversions.

    Here are a few cases, and how the old code handled them:

    1.  RGB8 -> SRGB8, MSAA     ==>   SRGB8 -> SRGB8
    2.  RGB8 -> SRGB8, single   ==>    RGB8 -> RGB8
    3. SRGB8 ->  RGB8, MSAA     ==>    RGB8 -> RGB8
    4. SRGB8 ->  RGB8, single   ==>   SRGB8 -> SRGB8

    Apparently, preserving the behavior of #1 is important.  When doing a
    multisample to single-sample resolve, blending the samples together in
    an sRGB correct fashion results in a noticably higher quality image.
    It also is necessary to pass Piglit's EXT_framebuffer_multisample
    accuracy color tests.

    Paul, Eric, Anuj, and I talked about this, and aren't sure that it
    matters in the other cases.

    This patch preserves the behavior of #1, but otherwise reverts to
    doing everything in linear space, changing the behavior of case #4.

    Signed-off-by: Kenneth Graunke <<a href="mailto:kenneth@whitecape.org">kenneth@whitecape.org</a>>
    Reviewed-by: Ian Romanick <<a href="mailto:ian.d.romanick@intel.com">ian.d.romanick@intel.com</a>>
    Reviewed-by: Chad Versace <<a href="mailto:chad.versace@linux.intel.com">chad.versace@linux.intel.com</a>>
    Reviewed-by: Eric Anholt <<a href="mailto:eric@anholt.net">eric@anholt.net</a>>
    Reviewed-by: Daniel Vetter <<a href="mailto:daniel.vetter@ffwll.ch">daniel.vetter@ffwll.ch</a>>

output:
Using test set: GL_ARB_texture_float
Testing GL_RGB16F_ARB
Unsupported framebuffer combination
Testing GL_RGBA16F_ARB
Testing GL_ALPHA16F_ARB
Unsupported framebuffer combination
Testing GL_LUMINANCE16F_ARB
Testing GL_LUMINANCE_ALPHA16F_ARB
Unsupported framebuffer combination
Testing GL_INTENSITY16F_ARB
Testing GL_RGB32F_ARB
Unsupported framebuffer combination
Testing GL_RGBA32F_ARB
Unsupported framebuffer combination
Testing GL_ALPHA32F_ARB
Unsupported framebuffer combination
Testing GL_LUMINANCE32F_ARB
Probe at (181,17)
  Expected: 0.015686
  Observed: 0.001963
Testing GL_LUMINANCE_ALPHA32F_ARB
Unsupported framebuffer combination
Testing GL_INTENSITY32F_ARB
Probe at (181,17)
  Expected: 0.015686
  Observed: 0.001963
PIGLIT: {'result': 'fail' }


Reproduce steps:
----------------------------
1. xinit&
2. bin/ext_framebuffer_multisample-formats -auto 2 GL_ARB_texture_float</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>