anv/dump: Fix vkCmdPipelineBarrier flags
authorChad Versace <chad.versace@intel.com>
Thu, 7 Jul 2016 23:04:58 +0000 (16:04 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sun, 10 Jul 2016 03:58:33 +0000 (20:58 -0700)
'true' is not valid for VkDependencyFlags.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_dump.c

index a84bcc9b35ee55444b0b746876019a5a2f88b0d5..f31bc4ad5b1ddc49299fbd6b2f017d6082c1dd3b 100644 (file)
@@ -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,