vc4: Emit only one FRAG_Z or FRAG_W QIR opcode.
authorEric Anholt <eric@anholt.net>
Thu, 28 Apr 2016 01:49:59 +0000 (18:49 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 2 May 2016 18:06:29 +0000 (11:06 -0700)
commitb145b731ab01937993e2bf7ecc072217932568ff
tree043b659a4adb625d65d8c9ad849442afd5ed6958
parente138716d8d96a8bd53d9403635777e33698bfd2c
vc4: Emit only one FRAG_Z or FRAG_W QIR opcode.

We were generating piles of FRAG_W for interpolation, only to CSE them
away immediately.  Since this is the only thing that CSE is doing for us
any more, just avoid making the CSE work necessary.
src/gallium/drivers/vc4/vc4_qir.h