| Age | Commit message (Collapse) | Author |
|
d3d12: choose sparse-capable queues for sparse textures (D3D-SPARSE-IMAGE-QUEUE-FAMILY)
|
|
|
|
|
|
boundary)
D3D12 ends every ExecuteCommandLists with its work done and its writes
visible to the next one on the queue (implicit state decay relies on it), so
a list may touch memory an earlier submission wrote without any barrier: two
submissions copying into one buffer, say. Vulkan orders submissions on a
queue only by what their barriers say, and nothing in a VulkanQueue's command
buffer ordered it after the previous one. Synchronization validation
reported it on leonida/work: vk_queue_test's back-to-back copies into one
buffer, WRITE_AFTER_WRITE between submissions (10 errors, the test failed
under LEONIDA_VK_VALIDATION=1).
execute_now now records an ALL_COMMANDS -> ALL_COMMANDS memory barrier
(MEMORY_WRITE -> MEMORY_READ | MEMORY_WRITE) right after
vkBeginCommandBuffer.
Test: vk_queue_test 4b counts the command buffers begun and those whose first
barrier is that one, over two submissions each on the direct and the copy
queue: 4 of 4 (0 before). Under LEONIDA_VK_VALIDATION=1 the whole test now
has 0 validation errors (RTX 3080 Laptop).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
(#6281)
Squash-merged after diff review of PR #6281 - test(runtime): make vk_queue_test cap/timeout backlog check deterministic
|
|
UHD 770 queueCount 1), plus a CPU-signal hang fix (#5110)
Squash-merged after review of PR #5110 - Runtime: D3D12 queues share a VkQueue when the GPU has no free one (Intel UHD 770 queueCount 1), plus a CPU-signal hang fix
|
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
resize() down destroyed the per-list vectors that prepare refills, so a queue alternating 8 lists and 1 list rebuilt them every frame. Grow the vector only, and iterate the current list count in the query and emit loops so retained entries are never replayed. Registers the existing vk_queue_test with CTest and adds an 8-then-1 GPU regression with a negative control.
AI-assisted (OpenCode)
|
|
A timeout retries the wait in kQueuedWaitNs slices instead of allocating past the cap; a device lost while waiting makes execute() submit nothing. vk_queue_test makes the first three waits time out and checks the cap still holds.
|
|
|
|
sparse-capable queues
|
|
(D3D-21), on top of D3D-97's leases
|