radv: Store color/depth surface info in attachment info instead of framebuffer.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 22 Jul 2019 00:31:27 +0000 (02:31 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Fri, 2 Aug 2019 20:18:51 +0000 (22:18 +0200)
commit49e6c2fb78c33b90882911894ce6e29cdc60baf6
tree65976f34840db915503f8f7e272801b7d0f83c75
parentcd98d94516dbd77b9090a39c3c7c5da8e4f96044
radv: Store color/depth surface info in attachment info instead of framebuffer.

That way we can use it for imageless framebuffers.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/vulkan/radv_cmd_buffer.c
src/amd/vulkan/radv_device.c
src/amd/vulkan/radv_meta_clear.c
src/amd/vulkan/radv_meta_resolve.c
src/amd/vulkan/radv_meta_resolve_cs.c
src/amd/vulkan/radv_meta_resolve_fs.c
src/amd/vulkan/radv_private.h