upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/shims/gameinput.cpp
diff options
context:
space:
mode:
authoradonizm <250916442+adonizm@users.noreply.github.com>2026-11-22 04:44:50 +0100
committeradonizm <250916442+adonizm@users.noreply.github.com>2026-11-22 04:56:45 +0100
commit77f42e09c09e74d21603c448bc2a1c766bb51597 (patch)
treedc9a995e77e6de049680b112755cd7ef11fd35b7 /runtime/shims/gameinput.cpp
parent4a36bb19979b611f525d027f92e0fefad1626546 (diff)
Runtime tests: LEONIDA_VK_DEVICE picks the Vulkan GPU by name
Two GPUs of one vendor share one driver, so the loader's driver filters cannot tell them apart, and the D3D12 tests always took the last discrete GPU (an RTX 3060 next to an RTX 5070 Ti). LEONIDA_VK_DEVICE is part of the device name, compared without case, read by vk_test_device.h and by the layer's standalone device. A value that matches no device fails the run instead of testing another GPU, as LEONIDA_HOST_ADAPTER does. The shader GPU tools (vk_compute_test, vk_harness, ...) keep their own pickers for now. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/shims/gameinput.cpp')
0 files changed, 0 insertions, 0 deletions