Repository navigation
Conversation
|
Independent Windows check at Built all six programs plus
I do not have a Vulkan 1.1/1.2 device, so the exit-77 path is only covered by the synthetic |
|
Tested 92552e8 on Arch Linux (in a VM), GCC, Ninja, RelWithDebInfo, Mesa llvmpipe (Vulkan 1.4): pass on a 1.3+ device.
The old-device path is still untested on real hardware. I tried |
|
Tested 92552e8 on RTX 5090, 621.24, Windows 11: pass. Programs rebuilt from this tree, |
|
Tested 92552e8 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. Each program prints the selected adapter name.
AI-assisted. |
whattheflop
left a comment
There was a problem hiding this comment.
Independent Windows CPU integration check, AI-assisted. #4936, #3045 and #3187 merged cleanly onto 3faac557. Applying the API-version change before or after the capability stack produced the same tree b8400df0f90cb490d4e4c4fc011148dcdb556f7b. MSVC 19.38 x64 built the picker test and checker, both focused CTests passed, and the Python worker-order check passed. The Vulkan 1.3 feature struct stays out of the 1.2 chain, while supported sampled/storage bits remain enabled and missing requirements are still checked before module creation.
One mixed-adapter case is worth considering: a synthetic Vulkan 1.1 discrete adapter outranked a 1.2 integrated adapter, so the default selection reached the skip gate. Explicitly selecting the 1.2 adapter passed it. Filtering by the program’s minimum API version before automatic ranking would avoid a false skip; an explicitly selected old device can still get the version diagnostic. The sampler and bindless tests already filter versions before ranking.
Synthetic properties and CPU checks only, no Vulkan device or game inputs.
|
One addendum from a second independent check at
AI-assisted review, no game files. |
|
@whattheflop done in 24769e1: @tupacfan04 wording fixed in the same commit (no 1.0 path; 77 "like the other unsupported exits"). The 1.2 subgroup-size-control loss stays as disclosed: querying |
|
Tested 24769e1 on RTX 5070, driver 616.86, Windows 10.0.26200: pass. Built
exit 0. The 35 skips are the ones this device can't run (full 64-wide compute subgroups unavailable, mesh fixtures built by |
|
Overlap note for the coordinator: this is the third PR covering TEST-1110 apiVersion gating — #4989 ( AI-assisted (Devin). |
|
Tested 24769e1 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 scripts/run_gpu_tests.py after a build at the head and at main 3faac55 on the same machine: The pass, skip and fail name sets are identical (217 entries each). Both fail cs_fmt_int_narrow (word 34: expected 0xffffffff, got 0x00000000) and cs_signed_zero_nan. vk_device_pick_test passes ("device pick: all cases passed"). The 1.1/1.2 branches cannot be reached on this device. AI-assisted. |
|
Timeline for the coordinator, since three PRs cover TEST-1110: claims in #4816 came from vibryxcx first (confirmed by the coordinator), then this one (06:27Z), then tedin7; PRs opened as #4936 (06:33Z), #4970 (06:57Z), #4989 (07:07Z). This one carries six independent checks and the |
…rsion (TEST-1110) vk_sandbox, vk_harness, vk_compute_test, vk_store_test, vk_texture_test and vk_pipeline_check chained VkPhysicalDeviceVulkan11/12/13Features into VkPhysicalDeviceFeatures2 and VkDeviceCreateInfo whatever the device's apiVersion. On a 1.0 or 1.1 device those structs are not valid pNext members (VUID-VkDeviceCreateInfo-pNext-pNext), and a 1.0 instance has no vkGetPhysicalDeviceFeatures2. vk_device_pick.h gets api_version_at_least(props, needed, program): the six programs require a 1.2 device after choosing it and exit 77 (unsupported) otherwise, as the clean sites do. The 1.3 struct is chained on a 1.3 device only (vk_harness, vk_compute_test, vk_pipeline_check); on a 1.2 device it stays zero, so subgroup size control and dynamicRendering read as absent instead of undefined. vk_device_pick_test covers the helper. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GDgoLQVYG7p8mvxkwBroVz
…first (TEST-1110) whattheflop's review: a 1.1 discrete GPU outranked a 1.2 integrated one, so the new gate skipped a program the machine could run. pick_device takes the minimum version and ranks the devices that reach it; the older ones are ranked only when none does, so an old-only machine still picks one and the gate reports it, and an explicit LEONIDA_VK_DEVICE choice still gets the diagnostic. The five programs that use pick_device pass 1.2. tupacfan04's review: the header comment no longer claims a 1.0 path (a 1.0 implementation refuses the instance first) nor that every runner counts 77 as a skip. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GDgoLQVYG7p8mvxkwBroVz
24769e1 to
38e379e
Compare
|
Rebased on main d8a9bda (head 38e379e): |
|
Tested 38e379e merged with main 042c5f3 on Windows 11 (MSVC 14.51, RelWithDebInfo, Ninja): pass |
|
Tested 38e379e on Apple M2 with MoltenVK 1.4.2 (macOS 26.4, device Vulkan 1.4.357, subgroup 4..32): vk_device_pick_test passes; full suite 178/239 passed, 59 skipped, 2 failed, identical to base fd33557 A/B; no regression. Both heads built their own runtime with the same toolchain (AppleClang 17, llvm-mc 21.1.8, Python 3.13.18). AI-assisted. |
Claimed as TEST-1110 (tupacfan04's finding in #4816).
Six test programs (
vk_sandbox,vk_harness,vk_compute_test,vk_store_test,vk_texture_test,vk_pipeline_check) chainedVkPhysicalDeviceVulkan11/12/13FeaturesintoVkPhysicalDeviceFeatures2/VkDeviceCreateInfowhatever the device'sapiVersion. On a 1.1 device those structs are not valid pNext members (VUID-VkDeviceCreateInfo-pNext-pNext; the 1.1 struct itself is a 1.2 addition); a 1.0 implementation refuses the 1.2/1.3 instance before that.vk_device_pick.hgetsapi_version_at_least(props, needed, program), which printsunsupported: <device> is a Vulkan 1.1 device, <program> needs 1.2; the six programs call it right after choosing the device and exit 77 like their other unsupported exits.pick_devicetakes the program's minimum version and ranks the devices that reach it first, older ones only when none does: a 1.1 discrete GPU no longer hides a 1.2 integrated one, while an old-only machine or an explicitLEONIDA_VK_DEVICEstill reaches the diagnostic. The 1.3 struct is chained on a 1.3 device only (vk_harness,vk_compute_test,vk_pipeline_check): on a 1.2 device it stays zero, so subgroup size control anddynamicRenderingread as absent instead of undefined (a 1.2 device keeps no subgroup size control either, even withVK_EXT_subgroup_size_control; querying the EXT structs on 1.2 asVulkan13Featuresdoes for dynamic rendering is a follow-up). Not touched: the unqueriedshaderInt64/samplerAnisotropyenables. Merges cleanly with #4776 (vk_sandbox).Tests:
vk_device_pick_testcovers the helper and the ranking (eight synthetic cases). On 1.3+ devices nothing changes: RTX 4090, 5070, 5090, a Radeon iGPU and llvmpipe gave main's hashes and test counts at 92552e8 (comments below); 24769e1 changes the ranking only. macOS: the six programs compile and the unit test passes. No older device at hand. No game files.AI-assisted (Claude Code, Claude Fable 5.1).
🤖 Generated with Claude Code
https://claude.ai/code/session_01GDgoLQVYG7p8mvxkwBroVz