vc4: Move all of our fixed function fragment color handling to NIR.
authorEric Anholt <eric@anholt.net>
Tue, 14 Apr 2015 04:36:24 +0000 (21:36 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 14 Aug 2015 18:39:18 +0000 (11:39 -0700)
commitbf3c50fba221f216e38d3f60f89161ced4c684c0
tree27547a49c8ed44d54f4f02031fa70118160a2ab7
parent38c6c0f5b499e2bcff2cc9607f67c0f1836f305b
vc4: Move all of our fixed function fragment color handling to NIR.

This massively reduces our dependency on VC4-specific optimization passes.

shader-db:
total uniforms in shared programs: 32077 -> 32067 (-0.03%)
uniforms in affected programs:     149 -> 139 (-6.71%)
total instructions in shared programs: 98208 -> 98182 (-0.03%)
instructions in affected programs:     2154 -> 2128 (-1.21%)
src/gallium/drivers/vc4/Makefile.sources
src/gallium/drivers/vc4/vc4_nir_lower_blend.c [new file with mode: 0644]
src/gallium/drivers/vc4/vc4_nir_lower_io.c
src/gallium/drivers/vc4/vc4_program.c
src/gallium/drivers/vc4/vc4_qir.h
src/gallium/drivers/vc4/vc4_uniforms.c