vc4: Drop integer multiplies with 0 to moves of 0.
authorEric Anholt <eric@anholt.net>
Mon, 30 Mar 2015 17:44:28 +0000 (10:44 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 30 Mar 2015 19:57:45 +0000 (12:57 -0700)
commit1dcc1ee314a6907213e2abd5337ec0bbba3bd1bf
treefdf9cb0e241771057263c3dd8e9a711c698f7d4e
parent8c5dcdbccb68b73d2856d9c1faafadc536e682e3
vc4: Drop integer multiplies with 0 to moves of 0.

This cleans up more instructions generated by uniform array indexing
multiplies.

total instructions in shared programs: 39989 -> 39961 (-0.07%)
instructions in affected programs:     896 -> 868 (-3.12%)
src/gallium/drivers/vc4/vc4_opt_algebraic.c