Repository navigation
Enable subgroup size control on Vulkan 1.2 devices - #9558
nova-aryan wants to merge 1 commit into
Conversation
|
I exercised the extension path at bcfabd8 and parent 5d74c27 against both physical Windows drivers. The application requested Vulkan 1.2 and passed that effective version to Vulkan13Features::query. Both physical devices advertise Vulkan 1.4, so this tests the real extension entry points and feature chain under a 1.2 application, rather than driver behavior on a 1.2-only GPU. The parent helper reported subgroup_size_control=false and omitted VK_EXT_subgroup_size_control on both devices. The PR detected it, added it to the device extensions, and successfully created logical devices with the helper's enable chain. I pinned each supported size on a compute pipeline and read gl_SubgroupSize and gl_NumSubgroups from every invocation in a 64-lane workgroup.
Windows build 26300, MSVC, Vulkan SDK 1.4.341.1, validation layer enabled. The synthetic module passed spirv-val for Vulkan 1.2. No validation diagnostics on these runs. The Python probe was outside this check. No game files. AI-assisted with Codex. Claim: #9522 (comment) |
|
Independent Windows check of bcfabd83. Windows 11 x64, MSVC 19.44, CPython 3.12.8, Vulkan SDK 1.4.363.0.
Synthetic inputs only. AI-assisted. |
|
Tested The SDK's profiles layer can lower the reported device API version while leaving the driver's real extensions (including Under that,
AI-assisted (Claude Code). |
|
Tested
AI-assisted: yes |
Claimed in the coordination issue.
The runtime's Vulkan 1.2 path and the shader-build capability probe both ignored advertised VK_EXT_subgroup_size_control. This could force wave64 emulation when the device can pin the required subgroup size.
Query and enable the extension on eligible Vulkan 1.2 devices, and use the same feature bit in the Python probe. Synthetic devices cover the extension enabled, missing, and advertised with the feature disabled. The C++ test verifies the enable chain and the existing core path.
54 Windows probe tests and the Linux C++ Vulkan feature suite passed. Hardware coverage for the Vulkan 1.2 extension remains open. The runtime test harness's core-version gating is tracked separately in #4936. In the combined run, the 5,957-test Linux semantic suite reproduced the baseline failures in test_image_atomics_guard and test_image_store_d16. No game files were used.
Developed with AI assistance.