vc4: Merge qpu_a_NOP() and qpu_m_NOP to a single qpu_NOP() helper.
authorEric Anholt <eric@anholt.net>
Mon, 25 Aug 2014 00:47:02 +0000 (17:47 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 25 Aug 2014 05:13:25 +0000 (22:13 -0700)
commit54499a85fff415e5c627a44d27a3592b6633bd4b
treebe1efc1e696f29f7a1ddae6974058f1e07d4754f
parent1a7035f386c4402b07e7a2073daf914f95bd0a02
vc4: Merge qpu_a_NOP() and qpu_m_NOP to a single qpu_NOP() helper.

Now that qpu_inst() ignores the WADDR from the other half of the
instruction, we can set both the ADD and MUL WADDRs in the NOP helper.
Thanks to that, we also no longer need to qpu_inst(NOP, NOP).
src/gallium/drivers/vc4/vc4_qpu.c
src/gallium/drivers/vc4/vc4_qpu.h
src/gallium/drivers/vc4/vc4_qpu_emit.c