Running latest VVL (with sync validation) with Opacity Micromap demo (GTX 4060, 610.74 driver) I am hitting
Validation Error: [ SYNC-HAZARD-READ-AFTER-WRITE ] | MessageID = 0xe4d96472
vkCmdBuildAccelerationStructuresKHR(): READ_AFTER_WRITE hazard detected. vkCmdBuildAccelerationStructuresKHR reads instance data VkBuffer 0x3b000000003b[MicomapOpacity::createTopLevelAS:instanceBuffer.buffer(546)], which was previously written by vkCmdCopyBuffer2.
The current synchronization allows VK_ACCESS_2_ACCELERATION_STRUCTURE_WRITE_BIT_KHR accesses at VK_PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHR, but to prevent this hazard, it must allow VK_ACCESS_2_SHADER_READ_BIT accesses at VK_PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHR.
Buffer access region: {
offset = 0
size = 64
}
Objects: 2
[0] VkCommandBuffer 0x232234e68d0
[1] VkBuffer 0x3b000000003b[MicomapOpacity::createTopLevelAS:instanceBuffer.buffer(546)]
There is a chance (being such a new extension) that Sync Validation is missing some call, but also I don't think from this message it is related to any of the new Entrypoints added with the Opacity Micromap
So if you think this is a false positive, let me know and can move this over as a VVL issue
Running latest VVL (with sync validation) with Opacity Micromap demo (GTX 4060, 610.74 driver) I am hitting
There is a chance (being such a new extension) that Sync Validation is missing some call, but also I don't think from this message it is related to any of the new Entrypoints added with the Opacity Micromap
So if you think this is a false positive, let me know and can move this over as a VVL issue