Suppress SYNC-HAZARD-WRITE-AFTER-READ VVL Error
After this VVL change:
https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-ValidationLayers/+/a3d2a718882e8ca68db0c6722264b47cf54b03e0,
SwapChainTests.* in dawn_end2end_tests suite starts to fail
when running with --enable-backend-validation flag.
Suppress the VVL error to unblock the vulkan-deps to chromium
roller first.
Bug: chromium:1524408
Bug: b/323085952
Change-Id: I0c6aff47571a657d527aa77a70f59c95cb1afb24
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/172942
Commit-Queue: Yuxin Hu <yuxinhu@google.com>
Reviewed-by: Loko Kung <lokokung@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Austin Eng <enga@chromium.org>
diff --git a/src/dawn/native/vulkan/BackendVk.cpp b/src/dawn/native/vulkan/BackendVk.cpp
index fbc0b2f..efa1cd5c 100644
--- a/src/dawn/native/vulkan/BackendVk.cpp
+++ b/src/dawn/native/vulkan/BackendVk.cpp
@@ -137,6 +137,11 @@
"Access info (usage: SYNC_IMAGE_LAYOUT_TRANSITION, prior_usage: SYNC_COPY_TRANSFER_WRITE, "
"write_barriers: 0, command: vkCmdCopyBufferToImage"},
+ // http://crbug.com/1524408
+ {"SYNC-HAZARD-WRITE-AFTER-READ",
+ "Access info (prior_usage: SYNC_PRESENT_ENGINE_SYNCVAL_PRESENT_ACQUIRE_READ_SYNCVAL, "
+ "read_barriers: VK_PIPELINE_STAGE_2_TOP_OF_PIPE_BIT"},
+
// http://anglebug.com/7513
{"VUID-VkGraphicsPipelineCreateInfo-pStages-06896",
"contains fragment shader state, but stages"},