From: Chad Versace Date: Thu, 7 Jul 2016 23:04:58 +0000 (-0700) Subject: anv/dump: Fix vkCmdPipelineBarrier flags X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bc33c9b4559d595f79526f5bc6207afd2e93b2a4;p=mesa.git anv/dump: Fix vkCmdPipelineBarrier flags 'true' is not valid for VkDependencyFlags. Reviewed-by: Jason Ekstrand --- 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,