vc4: Allow dead code elimination of unused varyings.
authorEric Anholt <eric@anholt.net>
Fri, 24 Oct 2014 14:03:04 +0000 (15:03 +0100)
committerEric Anholt <eric@anholt.net>
Fri, 24 Oct 2014 17:04:26 +0000 (18:04 +0100)
commit52824811b9c0a9bb78a40fcb43af00b315f612d0
tree2b324d8fc3a7037ac3ba57c5c25a4bfbe453b9e1
parent5d32e263357e562779bfc0d2af712d4c7538a32b
vc4: Allow dead code elimination of unused varyings.

total instructions in shared programs: 39022 -> 37341 (-4.31%)
instructions in affected programs:     26979 -> 25298 (-6.23%)
total uniforms in shared programs: 11242 -> 10523 (-6.40%)
uniforms in affected programs:     5836 -> 5117 (-12.32%)
src/gallium/drivers/vc4/vc4_opt_cse.c
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