vc4: Add support for loading immediate values in QIR.
authorEric Anholt <eric@anholt.net>
Fri, 6 May 2016 01:04:14 +0000 (18:04 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 6 May 2016 17:25:55 +0000 (10:25 -0700)
commita1f698881e13a4993e958815b79f8150d48e2739
treeb672c8fd5640e76d0b3282abc345c6b46f04134f
parent890dc19eeba10b4df9c658b524ce743cf4db6765
vc4: Add support for loading immediate values in QIR.

This will be used for resetting the uniform stream in the presence of
branching, but may also be useful as an optimization to reduce how many
uniforms we have to copy out per draw call (in exchange for increasing
icache pressure).
src/gallium/drivers/vc4/vc4_qir.c
src/gallium/drivers/vc4/vc4_qir.h
src/gallium/drivers/vc4/vc4_qir_validate.c
src/gallium/drivers/vc4/vc4_qpu_emit.c