From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 105333] [gallium-nine] missing geometry after commit ac: replace ac_build_kill with ac_build_kill_if_false Date: Sat, 22 Sep 2018 16:56:45 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1181106016==" 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 BC4BF894C0 for ; Sat, 22 Sep 2018 16:56:44 +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 --===============1181106016== Content-Type: multipart/alternative; boundary="15376354040.b9eAE.5786" Content-Transfer-Encoding: 7bit --15376354040.b9eAE.5786 Date: Sat, 22 Sep 2018 16:56:44 +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=3D105333 --- Comment #17 from Axel Davy --- My investigation found that the alpha test for this shader always passes, s= o we can discard that (I also tried disabling it). As for the stencil test, it is set to always pass, so it's not that either. To play with the shader, I disabled some texkill instructions, and found th= at if I disabled all third texkill (texkill =3D=3D kill_if) instructions in al= l the ps shaders, it would work. Hopefully, this is not due to some interference with some previous shader. The third kill_if instruction in this shader is: DCL IN[4], COLOR[1], COLOR, CENTROID 31: MOV TEMP[1], IN[4].wwww 32: KILL_IF TEMP[1] and if I can extract the ISA correctly: v_interp_p1_f32 v4, v0, attr4.w=20 v_interp_p2_f32 v4, v1, attr4.w=20 v_cmpx_le_f32_e32 vcc, 0, v4=20 (note v_cmpx_le_f32_e32 is v_cmpx_lt_f32_e32 in the attached shader, due to= a test I had done around that, but that doesn't change anything) It doesn't look wrong, I don't understand why it causes this behaviour (it kills too much). --=20 You are receiving this mail because: You are the assignee for the bug.= --15376354040.b9eAE.5786 Date: Sat, 22 Sep 2018 16:56:44 +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 # 17 on bug 10533= 3 from Axel Davy
My investigation found that the alpha test for this shader alw=
ays passes, so we
can discard that (I also tried disabling it).

As for the stencil test, it is set to always pass, so it's not that either.

To play with the shader, I disabled some texkill instructions, and found th=
at
if I disabled all third texkill (texkill =3D=3D kill_if) instructions in al=
l the ps
shaders, it would work. Hopefully, this is not due to some interference with
some previous shader.

The third kill_if instruction in this shader is:
 DCL IN[4], COLOR[1], COLOR, CENTROID

 31: MOV TEMP[1], IN[4].wwww
 32: KILL_IF TEMP[1]

and if I can extract the ISA correctly:

v_interp_p1_f32 v4, v0, attr4.w=20
v_interp_p2_f32 v4, v1, attr4.w=20
v_cmpx_le_f32_e32 vcc, 0, v4=20

(note v_cmpx_le_f32_e32 is v_cmpx_lt_f32_e32 in the attached shader, due to=
 a
test I had done around that, but that doesn't change anything)

It doesn't look wrong, I don't understand why it causes this behaviour (it
kills too much).


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