upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/test/vk_queue_test.cpp
AgeCommit message (Collapse)Author
6 daysMerge pull request #1164 from lixonik/d3d-sparse-image-queue-familyMoonEyes
d3d12: choose sparse-capable queues for sparse textures (D3D-SPARSE-IMAGE-QUEUE-FAMILY)
11 daysSelect sparse-capable queues for image-only residencylixonik
11 daysd3d12: check the copy timestamp fallback family explicitlyPyZik
11 daysEvery submission starts with a full memory barrier (ExecuteCommandLists ↵Rüzgar Koray Genç
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>
12 daystest(runtime): make vk_queue_test cap/timeout backlog check deterministic ↵Shni
(#6281) Squash-merged after diff review of PR #6281 - test(runtime): make vk_queue_test cap/timeout backlog check deterministic
12 daysRuntime: D3D12 queues share a VkQueue when the GPU has no free one (Intel ↵tedin7
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
12 daysMerge pull request #4443 from sds-228ItsNotRexed
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
12 daysMerge pull request #4191 from tedin7ItsNotRexed
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
13 daysvulkan: retain prepared-list storage across smaller submissionssds-228
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)
13 daysruntime: keep the command-buffer cap when the wait for room times out (review)tedin7
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.
13 daysruntime: cap the command buffers a Vulkan queue keeps in flighttedin7
13 daysfix: share sparse D3D12 buffers across queue families and require ↵pmilewsskiedu-gif
sparse-capable queues
13 daysRuntime: D3D12 copy and compute queues on dedicated Vulkan queue families ↵IAmNotSiob
(D3D-21), on top of D3D-97's leases