From bc33c9b4559d595f79526f5bc6207afd2e93b2a4 Mon Sep 17 00:00:00 2001 From: Chad Versace Date: Thu, 7 Jul 2016 16:04:58 -0700 Subject: [PATCH] anv/dump: Fix vkCmdPipelineBarrier flags 'true' is not valid for VkDependencyFlags. Reviewed-by: Jason Ekstrand --- src/intel/vulkan/anv_dump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/vulkan/anv_dump.c b/src/intel/vulkan/anv_dump.c index a84bcc9b35e..f31bc4ad5b1 100644 --- a/src/intel/vulkan/anv_dump.c +++ b/src/intel/vulkan/anv_dump.c @@ -172,7 +172,7 @@ dump_image_do_blit(struct anv_device *device, struct dump_image *image, ANV_CALL(CmdPipelineBarrier)(anv_cmd_buffer_to_handle(cmd_buffer), VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_TRANSFER_BIT, - true, 0, NULL, 0, NULL, 1, + 0, 0, NULL, 0, NULL, 1, &(VkImageMemoryBarrier) { .sType = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER, .srcAccessMask = VK_ACCESS_HOST_READ_BIT, -- 2.30.2