tu/lrz: Do not use framebuffer when inheriting LRZ
authorConnor Abbott <cwabbott0@gmail.com>
Wed, 29 Jun 2022 09:33:56 +0000 (11:33 +0200)
committerMarge Bot <emma+marge@anholt.net>
Wed, 27 Jul 2022 19:40:44 +0000 (19:40 +0000)
commitd2ad4c739c09767c23c8a2b598733c93f2ace9a6
treeb7a1124035e9b9c7f07c920520f232d92aa61607
parentdf4b5914cd5dd64cbf9099c4b8388acf2ac75750
tu/lrz: Do not use framebuffer when inheriting LRZ

The only thing it's used for is to get the image view, and we can't rely
on it existing anyway. With dynamic rendering, we only have the format
of the attachments and sample count, so moving forward we can't rely on
anything other than that.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17378>
src/freedreno/vulkan/tu_cmd_buffer.c
src/freedreno/vulkan/tu_lrz.c
src/freedreno/vulkan/tu_private.h