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:23:17 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1520353275==" 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 E1A866E277 for ; Sat, 21 Oct 2017 18:23:16 +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 --===============1520353275== Content-Type: multipart/alternative; boundary="15086101961.3e89144cE.4186"; charset="UTF-8" --15086101961.3e89144cE.4186 Date: Sat, 21 Oct 2017 18:23:16 +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 #3 from Ilia Mirkin --- OK, I see. The relevant shader is fill_cs_450.glsl. It puts stuff into the array with values (gl_GlobalInvocationID.x, t, gl_LocalInvocationID.x, t) where t =3D gl_WorkGroupID.x * gl_LocalGroupSizeARB.x + gl_LocalInvocationI= D.x Ideally the values printed should be (x, x, l, x) -- i.e. t =3D=3D gl_GlobalInvocationID.x. With nouveau this outputs a bunch of BS... sometimes gl_GlobalInvocationID.= x =3D=3D gl_LocalInvocationID.x, other times gl_GlobalInvocationID.x =3D=3D randomis= h value. I suspect this is a combination of a nouveau bug and a core bug [the latter= of which is affecting the radeonsi output]. Going to try to take a look. --=20 You are receiving this mail because: You are the assignee for the bug.= --15086101961.3e89144cE.4186 Date: Sat, 21 Oct 2017 18:23:16 +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 # 3 on bug 10339= 3 from Ilia Mirkin
OK, I see. The relevant shader is fill_cs_450.glsl. It puts st=
uff into the
array with values

(gl_GlobalInvocationID.x, t, gl_LocalInvocationID.x, t)

where t =3D gl_WorkGroupID.x * gl_LocalGroupSizeARB.x + gl_LocalInvocationI=
D.x

Ideally the values printed should be (x, x, l, x) -- i.e. t =3D=3D
gl_GlobalInvocationID.x.

With nouveau this outputs a bunch of BS... sometimes gl_GlobalInvocationID.=
x =3D=3D
gl_LocalInvocationID.x, other times gl_GlobalInvocationID.x =3D=3D randomis=
h value.
I suspect this is a combination of a nouveau bug and a core bug [the latter=
 of
which is affecting the radeonsi output]. Going to try to take a look.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15086101961.3e89144cE.4186-- --===============1520353275== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1520353275==--