vc4: Enable the nir_opt_algebraic_late() pass.
authorEric Anholt <eric@anholt.net>
Thu, 26 Sep 2019 18:03:46 +0000 (11:03 -0700)
committerDaniel Schürmann <daniel@schuermann.dev>
Mon, 30 Sep 2019 09:44:10 +0000 (09:44 +0000)
commitd54ae70ee775bb530e7ff35009b982eff01151b0
tree92210b698ac646d6e3ae28120aeecf2bbbf76c59
parentf2b8051d69b58a5cc22f15b7a4436c8e3281348f
vc4: Enable the nir_opt_algebraic_late() pass.

Upcoming changes to sub optimization will make this pass required.  Over
the course of that series, we see uniforms +.46%, instructions -.24%
(seems like a fine tradeoff -- uniforms are 1/2 the size of instructions
as far as cache occupancy)

Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
src/gallium/drivers/vc4/vc4_program.c