diff --git a/src/dawn/native/vulkan/BackendVk.cpp b/src/dawn/native/vulkan/BackendVk.cpp index e2ef5c6936..b1c6b5ad34 100644 --- a/src/dawn/native/vulkan/BackendVk.cpp +++ b/src/dawn/native/vulkan/BackendVk.cpp @@ -73,15 +73,27 @@ constexpr SkippedMessage kSkippedMessages[] = { // considers the image read-only and produces a hazard. Dawn can't rely on storeOp=NONE and // so this is not expected to be worked around. // See http://crbug.com/dawn/1225 for more details. + // + // Depth used as storage {"SYNC-HAZARD-WRITE-AFTER-READ", "depth aspect during store with storeOp VK_ATTACHMENT_STORE_OP_STORE. Access info (usage: " "SYNC_LATE_FRAGMENT_TESTS_DEPTH_STENCIL_ATTACHMENT_WRITE, prior_usage: " "SYNC_FRAGMENT_SHADER_SHADER_STORAGE_READ, read_barriers: VK_PIPELINE_STAGE_2_NONE"}, - + // Depth used in sampling + {"SYNC-HAZARD-WRITE-AFTER-READ", + "depth aspect during store with storeOp VK_ATTACHMENT_STORE_OP_STORE. Access info (usage: " + "SYNC_LATE_FRAGMENT_TESTS_DEPTH_STENCIL_ATTACHMENT_WRITE, prior_usage: " + "SYNC_FRAGMENT_SHADER_SHADER_SAMPLED_READ, read_barriers: VK_PIPELINE_STAGE_2_NONE"}, + // Stencil used as storage {"SYNC-HAZARD-WRITE-AFTER-READ", "stencil aspect during store with stencilStoreOp VK_ATTACHMENT_STORE_OP_STORE. Access info " "(usage: SYNC_LATE_FRAGMENT_TESTS_DEPTH_STENCIL_ATTACHMENT_WRITE, prior_usage: " "SYNC_FRAGMENT_SHADER_SHADER_STORAGE_READ, read_barriers: VK_PIPELINE_STAGE_2_NONE"}, + // Stencil used in sampling (note no tests actually hit this) + {"SYNC-HAZARD-WRITE-AFTER-READ", + "stencil aspect during store with stencilStoreOp VK_ATTACHMENT_STORE_OP_STORE. Access info " + "(usage: SYNC_LATE_FRAGMENT_TESTS_DEPTH_STENCIL_ATTACHMENT_WRITE, prior_usage: " + "SYNC_FRAGMENT_SHADER_SHADER_SAMPLED_READ, read_barriers: VK_PIPELINE_STAGE_2_NONE"}, // http://anglebug.com/7513 {"VUID-VkGraphicsPipelineCreateInfo-pStages-06896",