From: bugzilla-daemon@freedesktop.org Subject: [Bug 103393] glDispatchComputeGroupSizeARB : gl_GlobalInvocationID.x != gl_WorkGroupID.x * gl_LocalGroupSizeARB.x + gl_LocalInvocationID.x Date: Sat, 21 Oct 2017 18:19:22 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1763976494==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 036FC6E1D7 for ; Sat, 21 Oct 2017 18:19:22 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1763976494== Content-Type: multipart/alternative; boundary="15086099610.2fCD78.3319"; charset="UTF-8" --15086099610.2fCD78.3319 Date: Sat, 21 Oct 2017 18:19:21 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D103393 --- Comment #2 from Stephane Chevigny --- The expected output: value[i].x (=3D gl_GlobalInvocationID.x ;) should be equal to value[i].y = and value[i].w (=3D 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 re= sult happen after the indice i =3D 63 on my computer. So value[i].x =3D value[i]= .z (=3Dgl_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. --=20 You are receiving this mail because: You are the assignee for the bug.= --15086099610.2fCD78.3319 Date: Sat, 21 Oct 2017 18:19:21 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 2 on bug 10339= 3 from Stephane Chevigny
The expected output:
value[i].x (=3D gl_GlobalInvocationID.x ;)  should be equal to value[i].y  =
and
value[i].w (=3D 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 re=
sult
happen after the indice i =3D 63 on my computer. So value[i].x =3D value[i]=
.z
(=3Dgl_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.
= --15086099610.2fCD78.3319-- --===============1763976494== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1763976494==--