vc4: Allow dead code elimination of VPM reads.
authorEric Anholt <eric@anholt.net>
Sat, 10 Jan 2015 02:01:48 +0000 (15:01 +1300)
committerEric Anholt <eric@anholt.net>
Sat, 10 Jan 2015 07:55:37 +0000 (20:55 +1300)
commita8e14c293b19a2d298f91f283d6b6839f36fb518
treed4e63712e0de0b37b8aeb80f144681a720b81651
parentb920ecf793bd419558a240014624add08774765d
vc4: Allow dead code elimination of VPM reads.

This gets a bunch of dead reads out of the CSes, which don't read most
attributes generally.

total instructions in shared programs: 39753 -> 39487 (-0.67%)
instructions in affected programs:     4721 -> 4455 (-5.63%)
src/gallium/drivers/vc4/vc4_opt_dead_code.c
src/gallium/drivers/vc4/vc4_qir.h