dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.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	[thread overview]
Message-ID: <bug-105333-502-makxoDPMBH@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-105333-502@http.bugs.freedesktop.org/>


[-- Attachment #1.1: Type: text/plain, Size: 1191 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=105333

--- Comment #17 from Axel Davy <davyaxel0@gmail.com> ---
My investigation found that the alpha test for this shader always 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 that
if I disabled all third texkill (texkill == kill_if) instructions in all 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 
v_interp_p2_f32 v4, v1, attr4.w 
v_cmpx_le_f32_e32 vcc, 0, v4 

(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.

[-- Attachment #1.2: Type: text/html, Size: 2070 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  parent reply	other threads:[~2018-09-22 16:56 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-03 14:05 [Bug 105333] [gallium-nine] missing geometry after commit ac: replace ac_build_kill with ac_build_kill_if_false bugzilla-daemon
2018-03-03 14:06 ` bugzilla-daemon
2018-03-03 14:07 ` bugzilla-daemon
2018-04-10  7:41 ` bugzilla-daemon
2018-04-10 15:43 ` bugzilla-daemon
2018-04-21 11:13 ` bugzilla-daemon
2018-08-31  9:35 ` bugzilla-daemon
2018-09-09 12:19 ` bugzilla-daemon
2018-09-09 22:20 ` bugzilla-daemon
2018-09-11 18:01 ` bugzilla-daemon
2018-09-11 18:04 ` bugzilla-daemon
2018-09-13 16:48 ` bugzilla-daemon
2018-09-13 18:24 ` bugzilla-daemon
2018-09-13 18:36 ` bugzilla-daemon
2018-09-13 19:37 ` bugzilla-daemon
2018-09-22 13:10 ` bugzilla-daemon
2018-09-22 14:30 ` bugzilla-daemon
2018-09-22 14:56 ` bugzilla-daemon
2018-09-22 16:56 ` bugzilla-daemon [this message]
2018-09-22 17:44 ` bugzilla-daemon
2018-09-22 21:05 ` bugzilla-daemon
2018-09-25  1:36 ` bugzilla-daemon
2018-09-25  7:39 ` bugzilla-daemon
2018-09-26 11:17 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-105333-502-makxoDPMBH@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox