summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChad Versace <chad.versace@intel.com>2016-07-07 16:04:58 -0700
committerJason Ekstrand <jason.ekstrand@intel.com>2016-07-09 20:58:33 -0700
commitbc33c9b4559d595f79526f5bc6207afd2e93b2a4 (patch)
treec8e4ea0eb2fa975a9934966377b947e6265690bb
parentac7eeebce4ae9107863623321b74b1c08389f180 (diff)
anv/dump: Fix vkCmdPipelineBarrier flags
'true' is not valid for VkDependencyFlags. Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
-rw-r--r--src/intel/vulkan/anv_dump.c2
1 files changed, 1 insertions, 1 deletions
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,