[Bug 105333] [gallium-nine] missing geometry after commit ac: replace ac_build_kill with ac_build_kill_if_false

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Sep 22 16:56:45 UTC 2018


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

--- Comment #17 from Axel Davy <davyaxel0 at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20180922/e09ac7c3/attachment.html>


More information about the dri-devel mailing list