radv: Do not setup attachments without a framebuffer.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sat, 10 Aug 2019 13:04:30 +0000 (15:04 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 12 Aug 2019 15:19:24 +0000 (17:19 +0200)
commite040c1b2749655e716dd21b035f003b041d8d3d1
treea20bf41cf5241cb0214342d780af2455e2a934b6
parent14c96a630037bba38c095910e67d4cf9a4baf166
radv: Do not setup attachments without a framebuffer.

Test that found this: dEQP-VK.geometry.layered.1d_array.secondary_cmd_buffer

Fixes: 49e6c2fb78c "radv: Store color/depth surface info in attachment info instead of framebuffer."
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_cmd_buffer.c