vc4: Coalesce MOVs into VPM with the instructions generating the values.
authorEric Anholt <eric@anholt.net>
Thu, 18 Dec 2014 04:35:17 +0000 (20:35 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 18 Dec 2014 23:00:56 +0000 (15:00 -0800)
commite06b0778f59980429fececb1aa0de0f0a3f23427
treea5d184e4582fde84cde8909ac20f48befda6283c
parenta871eff16cc18232ee03b372d75cb6f633213e14
vc4: Coalesce MOVs into VPM with the instructions generating the values.

total instructions in shared programs: 41168 -> 40976 (-0.47%)
instructions in affected programs:     18156 -> 17964 (-1.06%)
src/gallium/drivers/vc4/Makefile.sources
src/gallium/drivers/vc4/vc4_opt_vpm_writes.c [new file with mode: 0644]
src/gallium/drivers/vc4/vc4_qir.c
src/gallium/drivers/vc4/vc4_qir.h