<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 - GL_ARB_gpu_shader_int64. Compute shader. Shared storage."
   href="https://bugs.freedesktop.org/show_bug.cgi?id=103972">103972</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>GL_ARB_gpu_shader_int64. Compute shader. Shared storage.
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>17.3
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </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>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Drivers/Gallium/radeonsi
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>kampeador@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=135802" name="attach_135802" title="main.cpp and shader.">attachment 135802</a> <a href="attachment.cgi?id=135802&action=edit" title="main.cpp and shader.">[details]</a></span>
main.cpp and shader.

Hello.
I can't assign a variable with the data from shared storage. Before 17.2.5 this
bug affected all storage types, when using loops. It was fixed. Now its with
shared storage only. Some algorithms are impossible to implement efficiently.
I've created a test app to reproduce this bug.
Output should be:
OUTPUT: 2101479989,1917184202,4191109983,1779160146
Currently it is:
0,0,4191109983,1779160146

It was also tested with AMD proprietary driver(GL_AMD_gpu_shader_int64) on
Windows 10 and worked correct.
Note 1: If you remove a "shared" qualifier inside shader, you will see a
correct output.
Note 2: Sometimes an app freezes my OS on Shader Program execution.</pre>
        </div>
      </p>


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

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