vc4: Start adding a NIR-based output lowering pass.
authorEric Anholt <eric@anholt.net>
Wed, 29 Jul 2015 22:52:18 +0000 (15:52 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 30 Jul 2015 22:47:11 +0000 (15:47 -0700)
commitb85f6ae4b24ee50948f14a9effa982eb0b9b3681
tree7e6c9986dff7abce7abc582a305947e804f7877d
parentc93ffd661a46f0f6d20c9ec2e97d4d9393e28111
vc4: Start adding a NIR-based output lowering pass.

For now, this just splits up store_output intrinsics to be scalars, and
drops unused outputs in the coordinate shader.  My goal is to be able to
drop a bunch of my VC4-specific optimization by letting NIR handle it.
src/gallium/drivers/vc4/Makefile.sources
src/gallium/drivers/vc4/vc4_nir_lower_io.c [new file with mode: 0644]
src/gallium/drivers/vc4/vc4_program.c
src/gallium/drivers/vc4/vc4_qir.h