From cda9f3d8ecce663b53c982236557dcd1b70a25b0 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Tue, 31 Jan 2017 15:18:33 +1000 Subject: radv: handle VK_QUEUE_FAMILY_IGNORED in image transitions (v3) The CTS tests at least are using this, and we were totally ignoring it. This hopefully fixes the bouncing multisample CTS tests. v2: get family mask in ignored case from command buffer. v3: only change things in one place, use logic from Bas. Reviewed-by: Bas Nieuwenhuizen Signed-off-by: Dave Airlie --- src/amd/vulkan/radv_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/amd/vulkan/radv_private.h') diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h index 57aa9ead9b7..69ff3578e34 100644 --- a/src/amd/vulkan/radv_private.h +++ b/src/amd/vulkan/radv_private.h @@ -1083,7 +1083,7 @@ bool radv_layout_can_fast_clear(const struct radv_image *image, unsigned queue_mask); -unsigned radv_image_queue_family_mask(const struct radv_image *image, int family); +unsigned radv_image_queue_family_mask(const struct radv_image *image, uint32_t family, uint32_t queue_family); static inline uint32_t radv_get_layerCount(const struct radv_image *image, -- cgit v1.2.3