[Bug 100134] Decreasing for loops over shared arrays hang the GPU (GEN9)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Mar 15 17:25:27 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=100134

Jason Ekstrand <jason at jlekstrand.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |NOTOURBUG

--- Comment #1 from Jason Ekstrand <jason at jlekstrand.net> ---
(In reply to Forrest Reiling from comment #0)
> Created attachment 130135 [details]
> 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--) {

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

>     roi[i] = 1;
>   }
> }

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20170315/bcbd3c6b/attachment.html>


More information about the intel-3d-bugs mailing list