From: bugzilla-daemon@freedesktop.org
Subject: [Bug 111591] [radeonsi/Navi] The Bard's Tale IV causes a GPU hang
Date: Wed, 11 Sep 2019 17:44:14 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1387320946=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id AFDC76E2FF
for ; Wed, 11 Sep 2019 17:44:14 +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
--===============1387320946==
Content-Type: multipart/alternative; boundary="15682238542.cfc3.29145"
Content-Transfer-Encoding: 7bit
--15682238542.cfc3.29145
Date: Wed, 11 Sep 2019 17:44:14 +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=3D111591
--- Comment #16 from vggl ---
"The games shaders use GLSL 4.30 which mean interpolation qualifiers must m=
atch
across shader interfaces otherwise it is a link-time error. In GLSL 4.40 th=
is
restriction was relaxed."
I believe that relaxation came in version 4.30, not 4.40.
The 4.30 spec here:
https://www.khronos.org/registry/OpenGL/specs/gl/GLSLangSpec.4.30.pdf
>From the "4.3.4 Input Variables" section:
"The fragment shader inputs form an interface with the last active shader in
the vertex processing pipeline. For this interface, the last active shader
stage output variables and fragment shader input variables of the same name
must match in type and qualification, with a few exceptions: The storage
qualifiers must, of course, differ (one is in and one is out). Also,
interpolation qualification (e.g., flat) and auxiliary qualification (e.g.
centroid) may differ. These mismatches are allowed between any pair of stag=
es.
When interpolation or auxiliary qualifiers do not match, those provided in =
the
fragment shader supersede those provided in previous stages. If any such
qualifiers are completely missing in the fragment shaders, then the default=
is
used, rather than any qualifiers that may have been declared in previous
stages. That is, what matters is what is declared in the fragment shaders, =
not
what is declared in shaders in previous stages."
That language is identical between 4.30 and 4.40. It sounds like it explici=
tly
allows interpolation qualifiers to differ. However the 4.20 spec language =
in
that section was quite different and did require an interpolation qualifier
match.
Also, from
https://www.khronos.org/opengl/wiki/Shader_Compilation#Interface_matching:
"If GLSL 4.30 or later is available, then the interpolation qualifiers
(including centroid and sample) do not need to match."
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15682238542.cfc3.29145
Date: Wed, 11 Sep 2019 17:44:14 +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
Comme=
nt # 16
on bug 11159=
1
from vggl
"The games shaders use GLSL 4.30 which mean interpolation qualifiers m=
ust match
across shader interfaces otherwise it is a link-time error. In GLSL 4.40 th=
is
restriction was relaxed."
I believe that relaxation came in version 4.30, not 4.40.
The 4.30 spec here:
https://www.khronos.org/registry/OpenGL/specs/gl/GLSLangSpec.4.30.pd=
f
>From the "4.3.4 Input Variables" section:
"The fragment shader inputs form an interface with the last active sha=
der in
the vertex processing pipeline. For this interface, the last active shader
stage output variables and fragment shader input variables of the same name
must match in type and qualification, with a few exceptions: The storage
qualifiers must, of course, differ (one is in and one is out). Also,
interpolation qualification (e.g., flat) and auxiliary qualification (e.g.
centroid) may differ. These mismatches are allowed between any pair of stag=
es.
When interpolation or auxiliary qualifiers do not match, those provided in =
the
fragment shader supersede those provided in previous stages. If any such
qualifiers are completely missing in the fragment shaders, then the default=
is
used, rather than any qualifiers that may have been declared in previous
stages. That is, what matters is what is declared in the fragment shaders, =
not
what is declared in shaders in previous stages."
That language is identical between 4.30 and 4.40. It sounds like it explici=
tly
allows interpolation qualifiers to differ. However the 4.20 spec language =
in
that section was quite different and did require an interpolation qualifier
match.
Also, from
https://www.khronos.org/opengl/wiki/Shader_Compilation#Interface=
_matching:
"If GLSL 4.30 or later is available, then the interpolation qualifiers
(including centroid and sample) do not need to match."
You are receiving this mail because:
- You are the assignee for the bug.
=
--15682238542.cfc3.29145--
--===============1387320946==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs
--===============1387320946==--