vc4: Split optimizing VPM writes from VPM reads.
authorEric Anholt <eric@anholt.net>
Tue, 15 Nov 2016 22:24:25 +0000 (14:24 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 29 Nov 2016 16:38:59 +0000 (08:38 -0800)
commit27544ea8d330309a7f1604bece6d2fcb4e9a8ae3
tree06d2cbe209260004632962876c6e0e7a0f4a9724
parentd4c20e82ae34b105fb2d06c8c412656aba2ca1b9
vc4: Split optimizing VPM writes from VPM reads.

The VPM write logic will be basically the same as the texture coordinate
write logic we need, and it's not really related to the VPM read logic
other than the reuse of the use_count array.
src/gallium/drivers/vc4/Makefile.sources
src/gallium/drivers/vc4/vc4_opt_coalesce_ff_writes.c [new file with mode: 0644]
src/gallium/drivers/vc4/vc4_opt_vpm.c
src/gallium/drivers/vc4/vc4_qir.c
src/gallium/drivers/vc4/vc4_qir.h