vc4: Add an initial pass of algebraic optimization.
authorEric Anholt <eric@anholt.net>
Thu, 3 Jul 2014 20:18:49 +0000 (13:18 -0700)
committerEric Anholt <eric@anholt.net>
Sat, 9 Aug 2014 01:59:47 +0000 (18:59 -0700)
commit1d23d55ae97d07b6eb70a3e37a91ecb7de38d8d2
tree60fb2fe8be2c61e2681c81c65bca060ad2c4b6b3
parent4c53087c67a266d81653459baa08ece5c1b418d8
vc4: Add an initial pass of algebraic optimization.

There was a lot of extra noise in my piglit shader dumps because of silly
CMPs.
src/gallium/drivers/vc4/Makefile.sources
src/gallium/drivers/vc4/vc4_opt_algebraic.c [new file with mode: 0644]
src/gallium/drivers/vc4/vc4_program.c
src/gallium/drivers/vc4/vc4_qir.c
src/gallium/drivers/vc4/vc4_qir.h