freedreno/ir3: Use flat.b to load flat varyings on a6xx
authorMatt Turner <mattst88@gmail.com>
Tue, 12 Oct 2021 15:50:55 +0000 (08:50 -0700)
committerMarge Bot <emma+marge@anholt.net>
Thu, 4 Nov 2021 02:59:28 +0000 (02:59 +0000)
commit2ab0cf2b549bdeef92fb72f16119bf1d21f9e90c
tree037048983ee9a5cd5e10b90e4c857614ac03c970
parent2ee1b5a5268b206b4d431862da3296d197d1cc17
freedreno/ir3: Use flat.b to load flat varyings on a6xx

The flat.b/bary.f cat2 instruction should be faster than an ldlv cat6
instruction, even with a couple of additional moves (which will be
removed in the next patch).

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13558>
src/freedreno/ir3/ir3.h
src/freedreno/ir3/ir3_compiler_nir.c