v3d: Use the core tex lowering.
authorEric Anholt <eric@anholt.net>
Thu, 20 Dec 2018 17:43:43 +0000 (09:43 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 4 Jan 2019 23:59:59 +0000 (15:59 -0800)
commit8847370424b12fc83a069eb80cfde76b348a7aec
treedbb59cf5fa6a53b071f748773f8b321733a1e0b8
parentf217a94542154cff8254e0ca5e5ca986c2394be3
v3d: Use the core tex lowering.

Even without any clever optimization on the unpack operations, this gives
us a useful value for the channels read field, which we can use to avoid
ldtmu instructions to the no-op register.

instructions in affected programs: 890712 -> 881974 (-0.98%)
src/broadcom/compiler/v3d33_tex.c
src/broadcom/compiler/v3d40_tex.c
src/broadcom/compiler/vir.c