vc4: Add support for reordering the uniform stream after optimization.
authorEric Anholt <eric@anholt.net>
Tue, 16 Sep 2014 22:58:32 +0000 (15:58 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 17 Sep 2014 21:21:24 +0000 (14:21 -0700)
commit5e90ed79f670cc1c5c12c8b733d4591af0acb5ab
tree125bb68594ede6c772cb47a9c3d87f8af2f08414
parentb0256fb75f40a4e428366fcc69ebee47970fd01d
vc4: Add support for reordering the uniform stream after optimization.

This allows for introducing dead code eliminating of uniforms, copy
propagation of uniforms, and instruction rescheduling between instructions
that both read uniforms.
src/gallium/drivers/vc4/Makefile.sources
src/gallium/drivers/vc4/vc4_program.c
src/gallium/drivers/vc4/vc4_qir.h
src/gallium/drivers/vc4/vc4_reorder_uniforms.c [new file with mode: 0644]