freedreno/a6xx: Move fb_read descriptor to fd6_gmem
authorRob Clark <robdclark@chromium.org>
Sun, 1 Jan 2023 19:29:12 +0000 (11:29 -0800)
committerMarge Bot <emma+marge@anholt.net>
Wed, 11 Jan 2023 19:06:17 +0000 (19:06 +0000)
commit2128607014d057942c132cc22648692b5cc1cb13
tree89688fd1295bf764583108a9c53b7e0f2bccd35f
parent14524511857a52b02b636cd9f7b5b9dc55422f14
freedreno/a6xx: Move fb_read descriptor to fd6_gmem

We already overwrote the entire descriptor in patch_fb_read_sysmem().
Doing the same in patch_fb_read_gmem() will simplify things for moving
the fb_read descriptor to the FS's bindless descriptor set.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20572>
src/gallium/drivers/freedreno/a6xx/fd6_emit.c
src/gallium/drivers/freedreno/a6xx/fd6_gmem.c