tu: Always initialize image_view fields for blit sources
authorConnor Abbott <cwabbott0@gmail.com>
Mon, 18 May 2020 17:11:30 +0000 (19:11 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 19 May 2020 19:55:11 +0000 (19:55 +0000)
commit3d5cc5ff22164ab8effd5d1cc5ef3a16fb2e0984
tree5b15ec322dd3f472fe0d4a373b1bdce3b77ef6c0
parentcc4a02d0ed0755c5cf7b75757b402ea81ce54c24
tu: Always initialize image_view fields for blit sources

Previously we only supported BLIT_SRC_BIT and BLIT_DEST_BIT together, so
we didn't have to worry about initializing blit-related fields for
texture-only formats, but it turns out that 2d blits work out just fine
with these formats and we'll need to enable BLIT_SRC_BIT for
texture-only formats due to a Vulkan requirement on compressed formats.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5098>
src/freedreno/vulkan/tu_image.c