Suppress 3 SYNC-HAZARD messages
Started to be reported after
https://github.com/KhronosGroup/Vulkan-ValidationLayers/pull/6072/commits/5c990eab4a5a2c4a81f520c54fa6697d2e458661
Bug: dawn:1916
Change-Id: I58920ebcae9e25db4860ecb805b5eb695b28067e
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/140996
Auto-Submit: Yuly Novikov <ynovikov@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Austin Eng <enga@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
diff --git a/src/dawn/native/vulkan/BackendVk.cpp b/src/dawn/native/vulkan/BackendVk.cpp
index ec7197c..c8e9cac 100644
--- a/src/dawn/native/vulkan/BackendVk.cpp
+++ b/src/dawn/native/vulkan/BackendVk.cpp
@@ -109,6 +109,17 @@
"(usage: SYNC_LATE_FRAGMENT_TESTS_DEPTH_STENCIL_ATTACHMENT_WRITE, prior_usage: "
"SYNC_FRAGMENT_SHADER_SHADER_SAMPLED_READ, read_barriers: VkPipelineStageFlags2(0)"},
+ // http://crbug.com/dawn/1916
+ {"SYNC-HAZARD-WRITE-AFTER-WRITE",
+ "Access info (usage: SYNC_COPY_TRANSFER_WRITE, prior_usage: SYNC_COPY_TRANSFER_WRITE, "
+ "write_barriers: 0, command: vkCmdCopyBufferToImage"},
+ {"SYNC-HAZARD-READ-AFTER-WRITE",
+ "Access info (usage: SYNC_COPY_TRANSFER_READ, prior_usage: SYNC_COPY_TRANSFER_WRITE, "
+ "write_barriers: 0, command: vkCmdCopyBufferToImage"},
+ {"SYNC-HAZARD-WRITE-AFTER-WRITE",
+ "Access info (usage: SYNC_IMAGE_LAYOUT_TRANSITION, prior_usage: SYNC_COPY_TRANSFER_WRITE, "
+ "write_barriers: 0, command: vkCmdCopyBufferToImage"},
+
// http://anglebug.com/7513
{"VUID-VkGraphicsPipelineCreateInfo-pStages-06896",
"contains fragment shader state, but stages"},