vc4: Add support for ARL and indirect register access on TGSI_FILE_CONSTANT.
authorEric Anholt <eric@anholt.net>
Thu, 2 Oct 2014 01:27:24 +0000 (18:27 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 29 Oct 2014 00:16:05 +0000 (17:16 -0700)
commitf87c7008958cdb095efa1cfb29ca8f3c9b9066e4
treee6d37b1648087e5d68bdfd1bdec1f77bd9e8f26b
parent5539a5b68518914af7e1b97b6a7f57961cdf21f2
vc4: Add support for ARL and indirect register access on TGSI_FILE_CONSTANT.

Fixes 14 ARB_vp tests (which had no lowering done), and should improve
performance of indirect uniform array access in GLSL.
src/gallium/drivers/vc4/kernel/vc4_drv.h
src/gallium/drivers/vc4/kernel/vc4_validate.c
src/gallium/drivers/vc4/kernel/vc4_validate_shaders.c
src/gallium/drivers/vc4/vc4_context.h
src/gallium/drivers/vc4/vc4_opt_dead_code.c
src/gallium/drivers/vc4/vc4_program.c
src/gallium/drivers/vc4/vc4_qir.c
src/gallium/drivers/vc4/vc4_qir.h
src/gallium/drivers/vc4/vc4_qpu_emit.c
src/gallium/drivers/vc4/vc4_screen.c