Open
Description
Description
I am inconsistently running into SYNC-HAZARD-WRITE-AFTER-WRITE
validation errors when running wgpu trunk with bevy.
ERROR wgpu_hal::vulkan::instance: VALIDATION [SYNC-HAZARD-WRITE-AFTER-WRITE (0x5c0ec5d6)]
Validation Error: [ SYNC-HAZARD-WRITE-AFTER-WRITE ] Object 0: handle = 0x198b1008000, type = VK_OBJECT_TYPE_QUEUE; | MessageID = 0x5c0ec5d6 | vkQueueSubmit(): Hazard WRITE_AFTER_WRITE for entry 0, VkCommandBuffer 0x198b4b9fa10[(wgpu internal) PendingWrites], Submitted access info (submitted_usage: SYNC_COPY_TRANSFER_WRITE, command: vkCmdCopyBuffer, seq_no: 16, reset_no: 1). Access info (prior_usage: SYNC_COPY_TRANSFER_WRITE, write_barriers: 0, queue: VkQueue 0x198b1008000[], submit: 0, batch: 0, batch_tag: 2, command: vkCmdCopyBuffer, command_buffer: VkCommandBuffer 0x198b4baedf0[(wgpu internal) PendingWrites], seq_no: 128, reset_no: 1).
ERROR wgpu_hal::vulkan::instance: objects: (type: QUEUE, hndl: 0x198b1008000, name: ?)
Repro steps
Run bevy's 3d_scene
example from my wgpu-0.20
branch https://github.com/Elabajaba/bevy/tree/wgpu-0.20 on vulkan.
They're can be a bit inconsistent, so you may have to restart it a few times.
Expected vs observed behavior
Expected: no validation errors. Observed: validation errors.
Extra materials
Platform
wgpu
trunk b731495
Windows 11
AdapterInfo { name: "AMD Radeon RX 6800 XT", vendor: 4098, device: 29631, device_type: DiscreteGpu, driver: "AMD proprietary driver", driver_info: "24.2.1 (AMD proprietary shader compiler)", backend: Vulkan }
Metadata
Metadata
Assignees
Type
Projects
Status
No status
Status
Todo