vc4: Define a QIR branch instruction
authorEric Anholt <eric@anholt.net>
Tue, 15 Mar 2016 20:55:28 +0000 (13:55 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 13 Jul 2016 00:42:40 +0000 (17:42 -0700)
commit05bcd9dd960d5658801ab35d429ba9778f67cad0
tree8e26e38f7346c608dfd0b1b34c4af9a568962c45
parent54800bb71c874bc7e9953a2e6d29ea53915f5be7
vc4: Define a QIR branch instruction

This uses the branch condition code in inst->cond to jump to either
successor[0] (condition matches) or successor[0] (condition doesn't
match).
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