freedreno/a6xx: Use fd6_view for non-buffer image descriptors, too.
authorEmma Anholt <emma@anholt.net>
Mon, 18 Oct 2021 22:18:14 +0000 (15:18 -0700)
committerMarge Bot <emma+marge@anholt.net>
Thu, 11 Nov 2021 00:10:57 +0000 (00:10 +0000)
commitc90220e449116824795e96ac2988c8b107cd9cf5
tree9c2522d6aaf4cbd1d1a333dd607ce82a40ecf49c
parent533e486923b1fb760961c582aa296d5ce423a704
freedreno/a6xx: Use fd6_view for non-buffer image descriptors, too.

This deletes a whole lot of code, but there's a modest drawoverhead perf
loss:

drawoverhead 1-image change -6.48856% +/- 4.28269% (n=50)
drawoverhead 8-image change -5.29195% +/- 2.62549% (n=90)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13443>
src/gallium/drivers/freedreno/a6xx/fd6_emit.c
src/gallium/drivers/freedreno/a6xx/fd6_image.c
src/gallium/drivers/freedreno/a6xx/fd6_image.h
src/gallium/drivers/freedreno/a6xx/fd6_texture.h