diff options
| author | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-26 09:11:54 -0500 |
|---|---|---|
| committer | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-26 09:12:03 -0500 |
| commit | d0ab80c09543aa4fb5ac68826e690c446e99b91b (patch) | |
| tree | 68116254327a93a675bda9ca032f10a1f60004aa /runtime/test/gameinput_test.cpp | |
| parent | 04b05c936f66e0eaacf431ff0031f566a20ccf38 (diff) | |
make_game: a CPU Vulkan device does not decide the wave64 emulation
--wave64-emulate auto took the smallest maxSubgroupSize over every device
vulkaninfo lists. On a machine with llvmpipe installed beside AMD GPUs
that run wave64 natively (RX 7900 XTX and an RDNA2 iGPU, RADV), the
shaders stage logged "smallest maximum subgroup size is 8" and emulated
all 23,841 wave64 shaders.
The runtime ranks a CPU device below every GPU
(runtime/src/vulkan_device_filter.h, tools/vk_subgroup_info.py
device_rank), so it never runs the shaders there while a GPU exists.
max_subgroup_decider() reads each device's deviceType beside its
deviceName (text and --json output) and leaves CPU devices out unless no
other device is listed. The log names the device that decided and the
devices left out.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/gameinput_test.cpp')
0 files changed, 0 insertions, 0 deletions