Repository navigation
Conversation
…on (TEST-1110) vk_sandbox, vk_harness, vk_compute_test, vk_store_test, vk_texture_test and vk_pipeline_check chained VkPhysicalDeviceVulkan11/12/13Features (and the 1.3 subgroup-size-control properties) without checking the device's apiVersion. On an older device those are not valid pNext members and the *2 queries are not core. Each program now skips (77) below Vulkan 1.2, and on a 1.2 device leaves the 1.3 structs unlinked, so their features read as false. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Tested c1c3509 on Windows 11 with the NVIDIA GeForce RTX 4090 (32.0.16.2101) and AMD Radeon(TM) Graphics (32.0.21043.5001). Both adapters pass the render checks. The device line confirms each selection. On each GPU, I also tested the two version branches in a scratch build of
This control simulates the reported version on modern hardware. It does not validate an older driver. I built all six changed programs with MSVC in RelWithDebInfo. AI-assisted. |
|
Tested c1c3509 on RTX 5090, 621.24, Windows 11: pass. Programs rebuilt from this tree, |
|
Tested Built the six touched test targets with To exercise the new apiVersion branches without an old GPU, I used the SDK's Khronos Profiles layer (
Both were confirmed with 1.1 (2022 profile): all six entry points skip with 77
All exited 77. 1.2 (2023 profile):
The synthetic shaders use 144 push-constant bytes. With the full profile property simulation ( On the native 1.4 instance without the profiles layer, the same six tools pass. ( These six binaries don't read |
|
Overlap note for the coordinator: this looks like it covers the same TEST-1110 ground as #4989 ( AI-assisted (Devin). |
|
Tested c1c3509 on Intel UHD 630 (CFL GT2, subgroup 8..32), Mesa 25.2.8 ANV, Ubuntu 24.04, LEONIDA_VK_DEVICE=Intel: no change on a Vulkan 1.4 device. Full build at the head and at main 3faac55 on the same machine, then the full scripts/run_gpu_tests.py on each: The pass and skip sets are identical by name, so the gate skips nothing new here. Both runs fail the same two tests, cs_fmt_int_narrow (word 34: expected 0xffffffff, got 0x00000000) and cs_signed_zero_nan. The apiVersion below 1.2 branches were not exercised; there is no such device here. AI-assisted. |
|
Tested c1c3509 on Intel UHD 770 (driver 32.0.101.7088), Windows 11, MSVC 19.44: no change on this device either. The six vk_* programs build at the head and at main 3faac55. scripts/run_gpu_tests.py on each: The per-test PASS/SKIP lines are identical between the two (217 each, after normalizing the work paths). ctest vk_pipeline_check_cli passes at both. The apiVersion below 1.2 branches were not exercised; there is no such device here. AI-assisted. |
|
Tested AI-assisted (Claude Code). Synthetic data only, no game files. |
Claimed in the coordination issue as: TEST-1110 (claim, confirmed by the coordinator here), from @tupacfan04's finding. Note: #4936 by @sh1shu1 covers the same item; maintainers, please keep whichever you prefer.
What and why
Six runtime test programs chained
VkPhysicalDeviceVulkan11/12/13Features(and, in three of them,VkPhysicalDeviceSubgroupSizeControlProperties) without checking the device'sapiVersion. On an older device those are not validpNextmembers (VUID-VkPhysicalDeviceFeatures2-pNext-pNext,VUID-VkDeviceCreateInfo-pNext-pNext), and the*2queries are not core.vk_sandbox.cpp: devices below 1.2 are left out of the pick; with none left it exits 77.vk_store_test.cpp,vk_texture_test.cpp: exit 77 below 1.2 (they only chain the 1.1/1.2 structs).vk_harness.cpp,vk_compute_test.cpp,vk_pipeline_check.cpp: exit 77 below 1.2; on a 1.2 device the 1.3 feature and subgroup-size-control structs are not linked, so they read as false and the existingsubgroupSizeControl/dynamicRenderingchecks take their fallback paths.No change on a 1.3+ device.
Tested
AMD Radeon RX 6800 (RDNA2, Vulkan 1.4.315), AMD 26.8.1 (Windows 32.0.21045.5002), Windows 11 Pro 25H2 (build 26200), MSVC 14.44. No 1.0/1.1/1.2 device here, so the new skip paths were not exercised.
scripts/build_runtime.ps1: clean build.scripts/run_gpu_tests.py: 201/217 passed, 16 skipped, the same asmainon this card.ctest: the same asmain, apart fromvk_pipeline_check_clitiming out once under load (its 5 s--countusage check); it passed 3/3 when run alone.d3d12_sparse_queue_family_contractfails onmainhere too.AI-assisted (Claude Code).
Checklist
docs/design.md, with how it was confirmed. (N/A: test programs only.)🤖 Generated with Claude Code