<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:jason@jlekstrand.net" title="Jason Ekstrand <jason@jlekstrand.net>"> <span class="fn">Jason Ekstrand</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTOURBUG - Decreasing for loops over shared arrays hang the GPU (GEN9)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=100134">bug 100134</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>NOTOURBUG
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTOURBUG - Decreasing for loops over shared arrays hang the GPU (GEN9)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=100134#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTOURBUG - Decreasing for loops over shared arrays hang the GPU (GEN9)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=100134">bug 100134</a>
              from <span class="vcard"><a class="email" href="mailto:jason@jlekstrand.net" title="Jason Ekstrand <jason@jlekstrand.net>"> <span class="fn">Jason Ekstrand</span></a>
</span></b>
        <pre>(In reply to Forrest Reiling from <a href="show_bug.cgi?id=100134#c0">comment #0</a>)
<span class="quote">> Created <span class=""><a href="attachment.cgi?id=130135" name="attach_130135" title="Offending SPIR-V">attachment 130135</a> <a href="attachment.cgi?id=130135&action=edit" title="Offending SPIR-V">[details]</a></span>
> Offending SPIR-V

> We have a very simple glsl compute shader which hangs gen9

> #version 450
> #extension GL_ARB_separate_shader_objects : enable

> shared int roi[8];

> void main() {
>   for (uint i = 7; i >= 0; i--) {</span >

If you made this a signed integer, it would properly go below 0 and the loop
would terminate. :-)

<span class="quote">>     roi[i] = 1;
>   }
> }</span ></pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>