tu: Implement fallback linear staging blit for CopyImage

Graphics / Mesa 3D Graphics Library / Mesa - Connor Abbott [gmail.com] - 13 May 2020 13:39 UTC

Also, rewrite the format decision code so that we correctly decide when the linear fallback is needed, even if UBWC is disabled. As part of that, I also moved around some of the code to handle compressed formats to make sure that copying compressed formats with a linear staging blit works (this is now possible since we started allowing tiled compressed textures).

Part-of:

b408734e5e2 tu: Implement fallback linear staging blit for CopyImage
src/freedreno/vulkan/tu_clear_blit.c | 197 ++++++++++++++++++++++++++++++-----
1 file changed, 173 insertions(+), 24 deletions(-)

Upstream: cgit.freedesktop.org


  • Share