[Bug 103393] glDispatchComputeGroupSizeARB : gl_GlobalInvocationID.x != gl_WorkGroupID.x * gl_LocalGroupSizeARB.x + gl_LocalInvocationID.x

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Oct 21 18:19:22 UTC 2017


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

--- Comment #2 from Stephane Chevigny <stephane.chevigny at polymtl.ca> ---
The expected output:
value[i].x (= gl_GlobalInvocationID.x ;)  should be equal to value[i].y  and
value[i].w (= gl_WorkGroupID.x * gl_LocalGroupSizeARB.x +
gl_LocalInvocationID.x;)  for all indices i according to spec. With the
parameter I gave to glDispatchComputeGroupSizeARB, the divergence of the result
happen after the indice i = 63 on my computer. So value[i].x = value[i].z
(=gl_LocalInvocationID.x;) instead.

So on my computer, gl_GlobalInvocationID.x appear to be only equal to
gl_LocalInvocationID.x notgl_WorkGroupID.x * gl_LocalGroupSizeARB.x +
gl_LocalInvocationID.x or I misread the spec.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20171021/cfeda757/attachment.html>


More information about the dri-devel mailing list