<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 --- - [ILK Regression]Piglit glean_texCombine fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=83127">83127</a>
          </td>
        </tr>

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

        <tr>
          <th>Summary</th>
          <td>[ILK Regression]Piglit glean_texCombine fails
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>normal
          </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: ILK
Libdrm:        (master)libdrm-2.4.56
Mesa:        (10.3)627d31dc36be6a92775b038bc4a26a96df8e7191
Xserver:    (server-1.16-branch)xorg-server-1.16.0
Xf86_video_intel:(master)2.99.914
Libva:        (master)053f70fae11e4cf120412cd74e89b5c375f0f606
Libva_intel_driver:(master)cc403687155f8b79b3752e32731d44d39c040642
Kernel:   (drm-intel-fixes)1a125d8a2c22b11741fc47d4ffcf7a5ffa044dd3

Bug detailed description:
-----------------------------
It fails on ILK with Mesa 10.3 branch, works well on 10.2 branch. It always
fail on mesa master branch.

Bisect on 10.2 and 10.3 branch, shows:
The merge base a06c9791d1b7fcedfb56ecbdc601d42fab196916 is bad.
This means the bug has been fixed between
a06c9791d1b7fcedfb56ecbdc601d42fab196916 and
[d82ca4e2b2bd5de93179d29f484bba7e97bcd985].

Bisect between a06c9791d1b7fcedfb56ecbdc601d42fab196916 and
d82ca4e2b2bd5de93179d29f484bba7e97bcd985, bisect shows:
03e93f6079a0f87902b3ec3926dad46045b4b185 fixed it.
commit 03e93f6079a0f87902b3ec3926dad46045b4b185
Author:     Matt Turner <<a href="mailto:mattst88@gmail.com">mattst88@gmail.com</a>>
AuthorDate: Thu May 22 09:39:13 2014 -0700
Commit:     Ian Romanick <<a href="mailto:ian.d.romanick@intel.com">ian.d.romanick@intel.com</a>>
CommitDate: Thu May 29 15:17:53 2014 -0700

    Revert "i965/fs: Change fs_visitor::emit_lrp to use MAC for gen<6"

    This reverts commit a6860100b87415ab510d0d210cabfeeccebc9a0a.

    Why this code didn't work in all circumstances is unknown and without a
    working Ironlake simulator (which uses a different AUB format) we'll
    probably never know, short of a lot of experimentation, and spending a
    bunch of time to try to optimize a few instructions on Ironlake is not
    time well spent.

    Moreover, for mix(vec4, vec4, vec4) using the accumulator introduces a
    dependence between the otherwise independent per-component calculations.
    Not using the accumulator, even if it means an extra instruction per
    component might be preferable. We don't know, we don't have data, and
    we don't have the necessary register on Ironlake for shader_time to tell
    us.

    Cc: "10.2" <<a href="mailto:mesa-stable@lists.freedesktop.org">mesa-stable@lists.freedesktop.org</a>>
    Bugzilla: <a class="bz_bug_link 
          bz_status_VERIFIED  bz_closed"
   title="VERIFIED FIXED - [ILK Bisected]Ogles2conform GL_sin_sin_float_frag_xvary.test fails"
   href="show_bug.cgi?id=77707">https://bugs.freedesktop.org/show_bug.cgi?id=77707</a>
    Acked-by: Kenneth Graunke <<a href="mailto:kenneth@whitecape.org">kenneth@whitecape.org</a>>
    (cherry picked from commit c2c639ecf667b4b7cf17cfe33dfe710432f2c43a)


output:
----------------------------------------------------------------------
GL_EXT_texture_env_combine verification test.
We only test a subset of all possible texture env combinations
because there's simply too many to exhaustively test them all.

texCombine:  FAIL rgba8, db, z24, s8, win+pmap, id 32
        expected 1, 0, 0.25, 0.5, got 1, 0, 0.247059, 0 in Single Texture Test
        Current combine state:
        Incoming Fragment RGBA = 0, 0.25, 0.5, 0.75
        Texture Unit 0:
          GL_COMBINE_RGB_EXT = GL_INTERPOLATE_EXT
          GL_COMBINE_ALPHA_EXT = GL_INTERPOLATE_EXT
          GL_SOURCE0_RGB_EXT = GL_TEXTURE
          GL_SOURCE1_RGB_EXT = GL_TEXTURE
          GL_SOURCE2_RGB_EXT = GL_TEXTURE
          GL_SOURCE0_ALPHA_EXT = GL_TEXTURE
          GL_SOURCE1_ALPHA_EXT = GL_TEXTURE
          GL_SOURCE2_ALPHA_EXT = GL_TEXTURE
          GL_OPERAND0_RGB_EXT = GL_SRC_COLOR
          GL_OPERAND1_RGB_EXT = GL_SRC_COLOR
          GL_OPERAND2_RGB_EXT = GL_SRC_ALPHA
          GL_OPERAND0_ALPHA_EXT = GL_SRC_ALPHA
          GL_OPERAND1_ALPHA_EXT = GL_SRC_ALPHA
          GL_OPERAND2_ALPHA_EXT = GL_SRC_ALPHA
          GL_RGB_SCALE_EXT = 1
          GL_ALPHA_SCALE = 1
          Tex Env RGBA = 0.25, 0.5, 0.75, 1
          Texture RGBA = 1, 0, 0.25, 0.5


Reproduce steps:
----------------------------
1. xinit
2. bin/glean -o -v -v -v -t +texCombine --quick</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>