<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 --- - [i965 Bisected]Ogles2conform GL2Tests/three_uniforms/three_uniforms_vec4_ivec4_bool_use_ivec4_to_render_frag.test fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=72379">72379</a>
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>mattst88@gmail.com
          </td>
        </tr>

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

        <tr>
          <th>Summary</th>
          <td>[i965 Bisected]Ogles2conform GL2Tests/three_uniforms/three_uniforms_vec4_ivec4_bool_use_ivec4_to_render_frag.test 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>ystem Environment:
--------------------------
Platform: Ironlake/Sandybridge/Ivybridge/Haswell/Baytrail
Libdrm:    (master)libdrm-2.4.50
Mesa:    (master)7435d9f77c84a57ad9bbed2e6558c0f06cac5cd6
Xf86_video_intel:(master)2.99.906-79-gbd22abee8f33b20ff6bc7297b0a9ae8708d18727
Cairo:    (master)8e11a42e3e9b679dce97ac45cd8b47322536a253
Libva:    (staging)1264cd81fd8728f18bd2feedf6e9c1a232663890
Libva_intel_driver:(staging)2a61b0d17072bdc5b58608e3dfa2c4f9f80dcec4
Kernel:    (drm-intel-nightly) 164a4cb4c1431a0689f85507868356fae24da638

Bug detailed description:
-------------------------
It fails on Ironlake/Sandybridge/Ivybridge/Haswell/Baytrail with mesa master
branch. It works well on 10.0 branch.
GL2Tests_three_uniforms_three_uniforms_vec4_ivec4_bool_use_vec4_to_render_frag.test
also fails with same bisect commit.

Bisect shows: 13de9f03f177d3ae0921fded1a102b66130f8b40 is the first bad commit.
commit 13de9f03f177d3ae0921fded1a102b66130f8b40
Author:     Matt Turner <<a href="mailto:mattst88@gmail.com">mattst88@gmail.com</a>>
AuthorDate: Tue Oct 22 17:51:28 2013 -0700
Commit:     Matt Turner <<a href="mailto:mattst88@gmail.com">mattst88@gmail.com</a>>
CommitDate: Wed Dec 4 20:05:44 2013 -0800

    i965/fs: New peephole optimization to generate SEL.

    fs_visitor::try_replace_with_sel optimizes only if statements whose
    "then" and "else" bodies contain a single MOV instruction. It also
    could not handle constant arguments, since they cause an extra MOV
    immediate to be generated (since we haven't run constant propagation,
    there are more than the single MOV).

    This peephole fixes both of these and operates as a normal optimization
    pass.

    fs_visitor::try_replace_with_sel is still arguably necessary, since it
    runs before pull constant loads are lowered.

    total instructions in shared programs: 1559129 -> 1545833 (-0.85%)
    instructions in affected programs:     167120 -> 153824 (-7.96%)
    GAINED:                                13
    LOST:                                  6

    Reviewed-by: Paul Berry <<a href="mailto:stereotype441@gmail.com">stereotype441@gmail.com</a>>

Reproduce steps:
-------------------------
1. xinit
2. ./GTF -width=64 -height=64
-run=GL2Tests/three_uniforms/three_uniforms_vec4_ivec4_bool_use_ivec4_to_render_frag.test</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>