OSDN Git Service

radv: handle VK_QUEUE_FAMILY_IGNORED in image transitions (v3)
authorDave Airlie <airlied@redhat.com>
Tue, 31 Jan 2017 05:18:33 +0000 (15:18 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 1 Feb 2017 22:25:04 +0000 (08:25 +1000)
commitcda9f3d8ecce663b53c982236557dcd1b70a25b0
tree3fecd565b3772b154fc5e4fbb0647e8c91d0fc80
parentfa316ed02ff0c2c4c8121380d23f2e66ac87649f
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 <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_cmd_buffer.c
src/amd/vulkan/radv_image.c
src/amd/vulkan/radv_meta_clear.c
src/amd/vulkan/radv_private.h