diff options
| author | Dominik <55330408+Dom-in@users.noreply.github.com> | 2026-11-22 14:50:20 +0000 |
|---|---|---|
| committer | Dominik <55330408+Dom-in@users.noreply.github.com> | 2026-11-22 15:26:32 +0000 |
| commit | d693fc6eefdd0d41a074e17f4f95ede37761a8d3 (patch) | |
| tree | 2eedb7bf876eeaa6aa6fade6c546332b97718c86 /runtime/src/pe_loader.cpp | |
| parent | 4eb6155d3ac4f9d3fadb0d095c4ce13e76783615 (diff) | |
vk_subgroup_info: require bufferDeviceAddress and rank devices like vk_device_pick.h
Two differences from the GPU the runtime takes remained after #1755's
LEONIDA_VK_DEVICE filter:
- d3d12_vulkan_device.cpp skips a device without bufferDeviceAddress;
the tool didn't check it (VkPhysicalDeviceVulkan12Features index 38).
- "the last discrete GPU wins" took Mesa's Dozen (Microsoft vendor
0x1414, reported as discrete) over the native driver it wraps, the
#915 problem vk_device_pick.h fixed. The tool now picks the first
usable device of the highest rank (native over Microsoft's layers,
then discrete > integrated > virtual > CPU), as vk_device_pick.h does
and as the runtime does with #1799.
test_device_selection_rule: native vs Dozen in both orders, Dozen only,
integrated over an earlier CPU, first discrete wins a tie; a
no_buffer_device_address rejection case.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions