vc4: Allow TLB Z/color/stencil writes from any ALU operation in QIR.
authorEric Anholt <eric@anholt.net>
Mon, 21 Mar 2016 20:12:41 +0000 (13:12 -0700)
committerEric Anholt <eric@anholt.net>
Sat, 9 Apr 2016 01:41:46 +0000 (18:41 -0700)
commitf029932cac36859df5a6d04d1dd7343672ced83a
treeac97bad05b13684f65a87a7918ccfe49494aeb22
parent44d7b8ad12df504058615901c7233c45e4f24a9f
vc4: Allow TLB Z/color/stencil writes from any ALU operation in QIR.

This lets us write the Z directly from the FTOI for computed Z, and may
let us coalesce color writes in the future.

No change in my shader-db, but clearly drops an instruction in piglit's
early-z test.
src/gallium/drivers/vc4/vc4_program.c
src/gallium/drivers/vc4/vc4_qir.c
src/gallium/drivers/vc4/vc4_qir.h
src/gallium/drivers/vc4/vc4_qir_schedule.c
src/gallium/drivers/vc4/vc4_qpu_emit.c