[Mesa-dev] [PATCH 1/2] anv/dump: Fix vkCmdPipelineBarrier flags

Chad Versace chad.versace at intel.com
Thu Jul 7 23:04:58 UTC 2016


'true' is not valid for VkDependencyFlags.
---
 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 1dc5079..49a5ae2 100644
--- a/src/intel/vulkan/anv_dump.c
+++ b/src/intel/vulkan/anv_dump.c
@@ -155,7 +155,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.9.0.rc2



More information about the mesa-dev mailing list