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:56:30 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1040580260=="
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 713DD6E2B1
for ; Sat, 21 Oct 2017 18:56:30 +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
--===============1040580260==
Content-Type: multipart/alternative; boundary="15086121901.CAc04A7.11950";
charset="UTF-8"
--15086121901.CAc04A7.11950
Date: Sat, 21 Oct 2017 18:56:30 +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 #4 from Ilia Mirkin ---
OK yeah, this is totally broken... for a simplified shader (which I will su=
bmit
to piglit), this is generating code like
COMP
PROPERTY CS_FIXED_BLOCK_WIDTH 0
PROPERTY CS_FIXED_BLOCK_HEIGHT 0
PROPERTY CS_FIXED_BLOCK_DEPTH 0
DCL SV[0], THREAD_ID
DCL SV[1], BLOCK_ID
DCL SV[2], BLOCK_SIZE
DCL BUFFER[16]
DCL TEMP[0..3], LOCAL
IMM[0] UINT32 {8, 0, 0, 0}
0: UMAD TEMP[0].x, SV[1].xyzz, TEMP[1].xyzz, SV[0].xyzz
1: MOV TEMP[1].x, TEMP[0].xxxx
2: MOV TEMP[1].y, SV[0].xxxx
3: UMAD TEMP[2].x, SV[1].xxxx, SV[2].xxxx, SV[0].xxxx
4: UMUL TEMP[3].x, TEMP[2].xxxx, IMM[0].xxxx
5: STORE BUFFER[16].xy, TEMP[3].xxxx, TEMP[1].xyyy
6: END
Note the first op which tries to read the uninitialized TEMP[1].xyzz. Oops.
Pretty sure this used to work, so probably got broken at some point with the
various refactors.
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15086121901.CAc04A7.11950
Date: Sat, 21 Oct 2017 18:56:30 +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 # 4
on bug 10339=
3
from Ilia Mirkin
OK yeah, this is totally broken... for a simplified shader (wh=
ich I will submit
to piglit), this is generating code like
COMP
PROPERTY CS_FIXED_BLOCK_WIDTH 0
PROPERTY CS_FIXED_BLOCK_HEIGHT 0
PROPERTY CS_FIXED_BLOCK_DEPTH 0
DCL SV[0], THREAD_ID
DCL SV[1], BLOCK_ID
DCL SV[2], BLOCK_SIZE
DCL BUFFER[16]
DCL TEMP[0..3], LOCAL
IMM[0] UINT32 {8, 0, 0, 0}
0: UMAD TEMP[0].x, SV[1].xyzz, TEMP[1].xyzz, SV[0].xyzz
1: MOV TEMP[1].x, TEMP[0].xxxx
2: MOV TEMP[1].y, SV[0].xxxx
3: UMAD TEMP[2].x, SV[1].xxxx, SV[2].xxxx, SV[0].xxxx
4: UMUL TEMP[3].x, TEMP[2].xxxx, IMM[0].xxxx
5: STORE BUFFER[16].xy, TEMP[3].xxxx, TEMP[1].xyyy
6: END
Note the first op which tries to read the uninitialized TEMP[1].xyzz. Oops.
Pretty sure this used to work, so probably got broken at some point with the
various refactors.
You are receiving this mail because:
- You are the assignee for the bug.
=
--15086121901.CAc04A7.11950--
--===============1040580260==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============1040580260==--