vc4: Add support for the 2-bit LOAD_IMM variants.
authorEric Anholt <eric@anholt.net>
Thu, 25 Aug 2016 19:15:29 +0000 (12:15 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 26 Aug 2016 00:24:11 +0000 (17:24 -0700)
commit074f1f3c0c2cd15213a62eb7f589423ece6391c8
treea9539881a030d76ae91c997df80ddd3fecc505e1
parent3da4e38f4864f0ae4eeeea588a000204042de5ea
vc4: Add support for the 2-bit LOAD_IMM variants.

Extracted and fixed up from a patch by jonasarrow on github.  This ended
up not getting used for ddx/ddy, but seems like it might still be useful.
src/gallium/drivers/vc4/vc4_qir.c
src/gallium/drivers/vc4/vc4_qir.h
src/gallium/drivers/vc4/vc4_qpu.c
src/gallium/drivers/vc4/vc4_qpu.h
src/gallium/drivers/vc4/vc4_qpu_defines.h
src/gallium/drivers/vc4/vc4_qpu_emit.c