vc4: Set unused raddr fields to QPU_R_NOP.
authorEric Anholt <eric@anholt.net>
Fri, 3 Oct 2014 06:32:59 +0000 (23:32 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 8 Oct 2014 15:42:59 +0000 (17:42 +0200)
commit84caf5a8617b99b6453fb66cb371a89ea2205dba
tree2256ba7e748fd13aabf815f286fba8567b8e4b28
parent48af7426f295a02ea68c4b460e006c289b10192c
vc4: Set unused raddr fields to QPU_R_NOP.

The simulator assertion fails if you have a write to a reg and then a read
(for example, in the NOP side of an instruction), even if the read isn't
used for anything.  By setting unused raddrs to NOP, we avoid the problem
(since only the phsyical registers are tracked).
src/gallium/drivers/vc4/vc4_qpu.c