OSDN Git Service

vc4: Add a thread switch QIR instruction.
authorEric Anholt <eric@anholt.net>
Thu, 10 Nov 2016 23:23:19 +0000 (15:23 -0800)
committerEric Anholt <eric@anholt.net>
Sun, 13 Nov 2016 02:46:35 +0000 (18:46 -0800)
commit4f527f12604269f15704bbd14a4962766afdfb9a
tree4f41e1f564a7f2a7fc702239757e64c7b75db522
parent93cdae44defdcc0a758e2f5376226b9944e1c91e
vc4: Add a thread switch QIR instruction.

This will eventually be generated at the QIR level, so that
vc4_qir_schedule.c can arrange the separation of tex_strb from tex_result
correctly.  It will also be important so that register allocation set the
register classes appropriately for values that are live across the switch.
src/gallium/drivers/vc4/vc4_qir.c
src/gallium/drivers/vc4/vc4_qir.h
src/gallium/drivers/vc4/vc4_qpu_emit.c