<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [gallium-nine] missing geometry after commit ac: replace ac_build_kill with ac_build_kill_if_false"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=105333#c17">Comment # 17</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [gallium-nine] missing geometry after commit ac: replace ac_build_kill with ac_build_kill_if_false"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=105333">bug 105333</a>
              from <span class="vcard"><a class="email" href="mailto:davyaxel0@gmail.com" title="Axel Davy <davyaxel0@gmail.com>"> <span class="fn">Axel Davy</span></a>
</span></b>
        <pre>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).</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>