upleb.uk

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

summaryrefslogtreecommitdiff
path: root/docs/testing.md
diff options
context:
space:
mode:
authortedin7 <110300616+tedin7@users.noreply.github.com>2026-11-23 15:11:02 +0100
committerGitHub <noreply@github.com>2026-11-23 08:11:02 -0600
commite76cb47fb500b74f51d0aa51e680cc72beed09c9 (patch)
treec958a0f618e0b3d6b1b54f7298635e04ba43160f /docs/testing.md
parent82c6e08dd5a18ee46e8f82eefd265d9d9687afd0 (diff)
Runtime: D3D12 queues share a VkQueue when the GPU has no free one (Intel 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
Diffstat (limited to 'docs/testing.md')
-rw-r--r--docs/testing.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/testing.md b/docs/testing.md
index f279548ce..82bc8ca68 100644
--- a/docs/testing.md
+++ b/docs/testing.md
@@ -503,6 +503,16 @@ another GPU. For the host side of the comparison tests, `LEONIDA_HOST_ADAPTER` p
503The GPU tools of `runtime/test/shaders` (`vk_compute_test`, `vk_harness`, ...) read it the same way through 503The GPU tools of `runtime/test/shaders` (`vk_compute_test`, `vk_harness`, ...) read it the same way through
504`vk_device_pick.h`, and fail with a message naming the filter when it matches no device. 504`vk_device_pick.h`, and fail with a message naming the filter when it matches no device.
505 505
506Two test settings make the layer's standalone device look like a GPU with fewer Vulkan queues, so D3D12 queues share
507them (`docs/d3d12_vulkan.md` section 4.4) on any GPU: `LEONIDA_VK_MAX_QUEUES_PER_FAMILY=N` (1 to 16) creates at most
508N Vulkan queues per queue family, and `LEONIDA_VK_GRAPHICS_FAMILY_ONLY=1` puts COMPUTE and COPY queues in the
509graphics family, as on a GPU without async compute or transfer families. Both together give the shape of the Intel
510UHD 770 on Windows and of lavapipe, one family with one queue; the `d3d12_queue_share_one_queue` and
511`d3d12_queue_wait_one_queue` tests run that way, and any other test can be run so by hand. The device logs what it
512applied; a queue count outside 1 to 16 is ignored, with a message. Only tests apply them: the device that
513`gta6rt --run` creates for a game (`LEONIDA_D3D12=vulkan`) ignores both and prints `... is a test setting; the
514game's device ignores it`, so leaving them set cannot slow a game down (`run_tiny_frame_queue_test_settings`).
515
506## Known problems 516## Known problems
507 517
508| What you see | Cause | What to do | 518| What you see | Cause | What to do |