<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]ES3-CTS.shaders.loops.do_while_constant_iterations.mixed_break_continue_fragment fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=83080">83080</a>
          </td>
        </tr>

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

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

        <tr>
          <th>Summary</th>
          <td>[SNB+ Bisected]ES3-CTS.shaders.loops.do_while_constant_iterations.mixed_break_continue_fragment 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: HSW
Libdrm:       
(master)libdrm-2.4.56-10-g22b995d8cbf1059535c5de5ba1869c1623ae5b08
Mesa:        (master)306e421887720b149be77c749108bcffcebe34f6
Xserver:   
(master)xorg-server-1.15.99.902-121-g2f5cf9ff9a0f713b7e038636484c77f113a5f10a
Xf86_video_intel:(master)2.99.914-68-gd209b03915e4d12ce445d72ac09bb4fe664ba664
Libva:        (master)acfcd5f0637a951d50c5112c7dfbd46f1d0dcdb3
Libva_intel_driver:(master)f3f49f2f0e6b3669d9b09341a11cf0b96e138674
Kernel:   (drm-intel-nightly)257d90d13794c2eb545ab0d6c708f21e2a0378b6

ug detailed description:
---------------------------
It fails on SNB+ platforms with mesa master branch, works well on Mesa 10.3
branch.
Following cases also fail and have same bisect commit
ES3-CTS.shaders.loops.do_while_dynamic_iterations.mixed_break_continue_fragment
ES3-CTS.shaders.loops.do_while_uniform_iterations.mixed_break_continue_fragment
ES3-CTS.shaders.loops.for_constant_iterations.mixed_break_continue_fragment
ES3-CTS.shaders.loops.for_dynamic_iterations.mixed_break_continue_fragment
ES3-CTS.shaders.loops.for_uniform_iterations.mixed_break_continue_fragment
ES3-CTS.shaders.loops.while_constant_iterations.mixed_break_continue_fragment
ES3-CTS.shaders.loops.while_dynamic_iterations.mixed_break_continue_fragment
ES3-CTS.shaders.loops.while_uniform_iterations.mixed_break_continue_fragment

Bisect shows:b8aa1005c82ff732f714cd0dcca39775aa368dd7 is the first bad commit
commit b8aa1005c82ff732f714cd0dcca39775aa368dd7
Author:     Matt Turner <<a href="mailto:mattst88@gmail.com">mattst88@gmail.com</a>>
AuthorDate: Thu Jul 17 10:50:31 2014 -0700
Commit:     Matt Turner <<a href="mailto:mattst88@gmail.com">mattst88@gmail.com</a>>
CommitDate: Fri Aug 22 10:23:34 2014 -0700

    i965/fs: Preserve CFG in predicated break pass.

    Operating on this code,

    B0: ...
        cmp.ne.f0(8)
        (+f0) if(8)
    B1: break(8)
    B2: endif(8)

    We can delete B2 without attempting to merge any blocks, since the
    break/continue instruction necessarily ends the previous block.

    After deleting the if instruction, we attempt to merge blocks B0 and B1.

    Reviewed-by: Topi Pohjolainen <<a href="mailto:topi.pohjolainen@intel.com">topi.pohjolainen@intel.com</a>>

output:
dEQP Core GL-CTS-2.0 (0x0052484b) starting..
  target implementation = 'X11'

Test case
'ES3-CTS.shaders.loops.do_while_constant_iterations.mixed_break_continue_fragment'..
Vertex compile time = 0.142000 ms
Fragment compile time = 0.299000 ms
Link time = 0.586000 ms
  Fail (Fail)

DONE!

Test run totals:
  Passed:        0/1 (0.00%)
  Failed:        1/1 (100.00%)
  Not supported: 0/1 (0.00%)
  Warnings:      0/1 (0.00%)


Reproduce steps:
---------------------------- 
1. xinit
2. ./glcts
--deqp-case=ES3-CTS.shaders.loops.do_while_constant_iterations.mixed_break_continue_fragment</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>