vc4: Mark texturing setup instructions as having side effects.
authorEric Anholt <eric@anholt.net>
Fri, 3 Jun 2016 22:04:57 +0000 (15:04 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 4 Jul 2016 23:33:22 +0000 (16:33 -0700)
commit2a8973fb78026b830786aa74b07805730ae891ca
treec4b53eb422a97bbb602007733cd310da6f231e06
parent44df374a9c91b87be0f5ebccadc52760ebe95871
vc4: Mark texturing setup instructions as having side effects.

We need to not DCE them even though they don't have a destination in QIR.
We also shouldn't relocate them in vc4_opt_vpm.  Neither of these things
happen, but I'm about to make DCE consider instructions with a NULL
destination.
src/gallium/drivers/vc4/vc4_qir.c