<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 - [i965 Bisected]Piglit/glean_fragprog1-swz_test fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=90000">90000</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[i965 Bisected]Piglit/glean_fragprog1-swz_test fails
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>git
          </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>high
          </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>huax.lu@intel.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-3d-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>System Environment:
--------------------------
Platform: HSW
Libdrm:       
(master)libdrm-2.4.60-31-g6f90b77ea903756c87ae614c093e3d816ebb26fc
Mesa:        (master)b6354d9bb077815d2e388dc5d0e7411ea6d89748
Xserver:   
(master)xorg-server-1.17.0-72-gf1da6bf5d94911e78d2e27e6accf0c6e3aefb331
Xf86_video_intel:(master)2.99.917-256-gfbefc8f2bd4242c3f01b02e25276340237b34a88
Libva:        (master)062a63932c0f1439aa587aa986bbcfb758ff38f2
Libva_intel_driver:(master)ed03aebc6e702dab65204cc1469eef0da73e2372
Kernel:   (drm-intel-nightly)631c2f8cb69ecbd7dd0494c37dd3c7fbd04de928

Bug detailed description:
-----------------------------
It fails on i965 platforms with mesa master branch, works well on 10.5 branch.
Following cases also fail with the same bisect commit:
Piglit:
glean_fragprog1-z-write_test
glean_fragprog1-rsq_test_2_(reciprocal_square_root_of_negative_value)
Ogles3conform(fails on SNB+):
ES3-CTS.shaders.struct.uniform.sampler_array_fragment

Bisect shows: d47405eb707b9921f70454049677a9d504ee3fa6 is the first bad commit.
commit d47405eb707b9921f70454049677a9d504ee3fa6
Author:     Jason Ekstrand <<a href="mailto:jason.ekstrand@intel.com">jason.ekstrand@intel.com</a>>
AuthorDate: Fri Apr 10 16:24:11 2015 -0700
Commit:     Jason Ekstrand <<a href="mailto:jason.ekstrand@intel.com">jason.ekstrand@intel.com</a>>
CommitDate: Fri Apr 10 17:19:54 2015 -0700

    i965: Use NIR by default for fragment shaders

    GLSL IR vs. NIR shader-db results on i965:

       total instructions in shared programs: 2889747 -> 2890782 (0.04%)
       instructions in affected programs:     2425446 -> 2426481 (0.04%)
       helped:                                3698
       HURT:                                  5341

    GLSL IR vs. NIR shader-db results on g4x:

       total instructions in shared programs: 2547252 -> 2550440 (0.13%)
       instructions in affected programs:     1984482 -> 1987670 (0.16%)
       helped:                                2844
       HURT:                                  4776

    GLSL IR vs. NIR shader-db results on Iron Lake:

       total instructions in shared programs: 4053381 -> 4063828 (0.26%)
       instructions in affected programs:     3026601 -> 3037048 (0.35%)
       helped:                                4110
       HURT:                                  8331
       GAINED:                                1287
       LOST:                                  9

    GLSL IR vs. NIR shader-db results on Sandy Bridge:

       total instructions in shared programs: 5307041 -> 5236666 (-1.33%)
       instructions in affected programs:     3442908 -> 3372533 (-2.04%)
       helped:                                11829
       HURT:                                  5604
       GAINED:                                33
       LOST:                                  18

    GLSL IR vs. NIR shader-db results on Ivy Bridge:

       total instructions in shared programs: 4926333 -> 4857017 (-1.41%)
       instructions in affected programs:     3144042 -> 3074726 (-2.20%)
       helped:                                11559
       HURT:                                  4774
       GAINED:                                46
       LOST:                                  25

    GLSL IR vs. NIR shader-db results on Bay Trail:

       total instructions in shared programs: 4926333 -> 4857017 (-1.41%)
       instructions in affected programs:     3144042 -> 3074726 (-2.20%)
       helped:                                11559
       HURT:                                  4774
       GAINED:                                46
       LOST:                                  25

    GLSL IR vs. NIR shader-db results on Haswell:

       total instructions in shared programs: 4392487 -> 4293476 (-2.25%)
       instructions in affected programs:     2800180 -> 2701169 (-3.54%)
       helped:                                13073
       HURT:                                  3383
       GAINED:                                46
       LOST:                                  23

    GLSL IR vs. NIR shader-db results on Broadwell (FS only):

       total instructions in shared programs: 4378113 -> 4283025 (-2.17%)
       instructions in affected programs:     2743209 -> 2648121 (-3.47%)
       helped:                                12470
       HURT:                                  3609
       GAINED:                                64
       LOST:                                  27

    Signed-off-by: Jason Ekstrand <<a href="mailto:jason.ekstrand@intel.com">jason.ekstrand@intel.com</a>>
    Acked-by: Matt Turner <<a href="mailto:mattst88@gmail.com">mattst88@gmail.com</a>>
    Acked-by: Kenneth Graunke <<a href="mailto:kenneth@whitecape.org">kenneth@whitecape.org</a>>

output:
----------------------------------------------------------------------
Fragment Program test 1: test a specific set of fragment programs.

FAILURE:
  Program: SWZ test
  Expected color: 0, 0, 1, 0
  Observed color: 0, 0, 0, 0
fragProg1:  FAIL rgba8, db, z24, s8, win+pmap, id 32
        0 tests passed, 1 tests failed.
FAILURE:
  Program: SWZ test
  Expected color: 0, 0, 1, 0
  Observed color: 0, 0, 0, 0
fragProg1:  FAIL rgba8, db, z24, s8, win+pmap, id 33
        0 tests passed, 1 tests failed.
FAILURE:
  Program: SWZ test
  Expected color: 0, 0, 1, 0
  Observed color: 0, 0, 0, 0
fragProg1:  FAIL rgba8, db, z24, s8, win+pmap, id 111
        0 tests passed, 1 tests failed.
FAILURE:
  Program: SWZ test
  Expected color: 0, 0, 1, 0
  Observed color: 0, 0, 0, 0
fragProg1:  FAIL rgba8, z24, s8, win+pmap, id 158
        0 tests passed, 1 tests failed.
FAILURE:
  Program: SWZ test
  Expected color: 0, 0, 1, 0
  Observed color: 0, 0, 0, 0
fragProg1:  FAIL rgba8, db, z24, s8, accrgba16, win+pmap, slow, id 159
        0 tests passed, 1 tests failed.
FAILURE:
  Program: SWZ test
  Expected color: 0, 0, 1, 0
  Observed color: 0, 0, 0, 0
fragProg1:  FAIL rgba8, z24, s8, win+pmap, id 166
        0 tests passed, 1 tests failed.
FAILURE:
  Program: SWZ test
  Expected color: 0, 0, 1, 0
  Observed color: 0, 0, 0, 0
fragProg1:  FAIL rgba8, db, z24, s8, win+pmap, id 167
        0 tests passed, 1 tests failed.
FAILURE:
  Program: SWZ test
  Expected color: 0, 0, 1, 0
  Observed color: 0, 0, 0, 0
fragProg1:  FAIL rgba8, db, z24, s8, accrgba16, win+pmap, slow, id 168
        0 tests passed, 1 tests failed.


Reproduce steps:
---------------------------- 
1. xinit
2. PIGLIT_TEST='SWZ test' bin/glean -o -v -v -v -t +fragProg1</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>