d3d12_skip_compute_test: add the GPU regression and skip on 128-byte devices #1419
Closed
whoalin1 wants to merge 4 commits from
upstream-pr/1419 into main
pull from: upstream-pr/1419
merge into: ProjectLeonida:main
ProjectLeonida:main
ProjectLeonida:claude/loop-total
ProjectLeonida:claude/pops-collision-seed
ProjectLeonida:claude/dstorage-hold-page-reads
ProjectLeonida:claude/host-image-copy-switch
ProjectLeonida:feat/gdk-lifecycle-window-hook
ProjectLeonida:claude/d16s8-uav-nvidia-fallback
ProjectLeonida:feat/mfplat-offline-shim
ProjectLeonida:claude/gameinput-slow-reader
ProjectLeonida:fix/rt-null-barrier-clear
ProjectLeonida:claude/depth-resolve-sample-positions
ProjectLeonida:integration/palmetto-parity
ProjectLeonida:claude/valu-literal-sext
ProjectLeonida:claude/slot74-pool-handle
ProjectLeonida:claude/rgb9e5-uint-alias-view
ProjectLeonida:claude/fssm-root-layout-tables
ProjectLeonida:feat/gdk-speech-display-lifecycle
ProjectLeonida:asset-audio-skip-current
ProjectLeonida:qemmhd/old-9940-rectangle-quad-lists
ProjectLeonida:feat/ws2-offline-shim
ProjectLeonida:qemmhd/rt-d16-unorm-uav
ProjectLeonida:feat/xs-device-stops-7-9
ProjectLeonida:qemmhd/rt-depth-same-base-shapes
ProjectLeonida:qemmhd/rt-lazy-attachment-variant
ProjectLeonida:feat/acphal-xma2-decoder
ProjectLeonida:asset-audio-skip
ProjectLeonida:codex/coord-claim-check-20261124-7e48
ProjectLeonida:feat/xs-frame-pacing-presentx
ProjectLeonida:feat/xs-device-vm-options
ProjectLeonida:old-pr/9844
ProjectLeonida:old-pr/9978
ProjectLeonida:old-pr/9815
ProjectLeonida:old-pr/10057
ProjectLeonida:old-pr/9874
ProjectLeonida:old-pr/9965
ProjectLeonida:old-pr/9863
ProjectLeonida:old-pr/10068
ProjectLeonida:old-pr/10066
ProjectLeonida:old-pr/10067
ProjectLeonida:old-pr/10007
ProjectLeonida:old-pr/10061
ProjectLeonida:old-pr/10065
ProjectLeonida:old-pr/10059
ProjectLeonida:old-pr/10063
ProjectLeonida:old-pr/10055
ProjectLeonida:old-pr/10062
ProjectLeonida:old-pr/10042
ProjectLeonida:old-pr/10041
ProjectLeonida:old-pr/10049
ProjectLeonida:old-pr/10047
ProjectLeonida:old-pr/10046
ProjectLeonida:old-pr/10045
ProjectLeonida:old-pr/10056
ProjectLeonida:old-pr/10043
ProjectLeonida:old-pr/10036
ProjectLeonida:old-pr/10034
ProjectLeonida:old-pr/9984
ProjectLeonida:old-pr/10052
ProjectLeonida:old-pr/10038
ProjectLeonida:old-pr/10033
ProjectLeonida:old-pr/10028
ProjectLeonida:old-pr/10050
ProjectLeonida:old-pr/9891
ProjectLeonida:old-pr/9889
ProjectLeonida:old-pr/10051
ProjectLeonida:old-pr/10019
ProjectLeonida:old-pr/10027
ProjectLeonida:old-pr/10029
ProjectLeonida:old-pr/10031
ProjectLeonida:old-pr/10026
ProjectLeonida:old-pr/9941
ProjectLeonida:old-pr/10030
ProjectLeonida:old-pr/10040
ProjectLeonida:old-pr/9990
ProjectLeonida:old-pr/10021
ProjectLeonida:old-pr/9962
ProjectLeonida:old-pr/10022
ProjectLeonida:old-pr/10020
ProjectLeonida:old-pr/10015
ProjectLeonida:old-pr/10025
ProjectLeonida:old-pr/9886
ProjectLeonida:old-pr/10048
ProjectLeonida:old-pr/10014
ProjectLeonida:old-pr/10011
ProjectLeonida:old-pr/9861
ProjectLeonida:old-pr/10010
ProjectLeonida:old-pr/10008
ProjectLeonida:old-pr/9860
ProjectLeonida:old-pr/10006
ProjectLeonida:old-pr/9920
ProjectLeonida:old-pr/9995
ProjectLeonida:old-pr/10000
ProjectLeonida:old-pr/10016
ProjectLeonida:old-pr/10004
ProjectLeonida:old-pr/10023
ProjectLeonida:old-pr/9982
ProjectLeonida:old-pr/9981
ProjectLeonida:old-pr/9983
ProjectLeonida:old-pr/9970
ProjectLeonida:old-pr/9969
ProjectLeonida:old-pr/9968
ProjectLeonida:old-pr/9971
ProjectLeonida:old-pr/9972
ProjectLeonida:old-pr/9942
ProjectLeonida:old-pr/9963
ProjectLeonida:old-pr/9960
ProjectLeonida:old-pr/9964
ProjectLeonida:old-pr/9985
ProjectLeonida:old-pr/9973
ProjectLeonida:old-pr/9862
ProjectLeonida:old-pr/9953
ProjectLeonida:old-pr/10017
ProjectLeonida:old-pr/9952
ProjectLeonida:old-pr/9955
ProjectLeonida:old-pr/9946
ProjectLeonida:old-pr/9954
ProjectLeonida:old-pr/9938
ProjectLeonida:old-pr/9956
ProjectLeonida:old-pr/9856
ProjectLeonida:old-pr/9947
ProjectLeonida:old-pr/9924
ProjectLeonida:old-pr/9961
ProjectLeonida:old-pr/9927
ProjectLeonida:old-pr/9979
ProjectLeonida:old-pr/10032
ProjectLeonida:old-pr/9926
ProjectLeonida:old-pr/5237
ProjectLeonida:old-pr/9951
ProjectLeonida:old-pr/9931
ProjectLeonida:old-pr/9902
ProjectLeonida:old-pr/9921
ProjectLeonida:old-pr/9994
ProjectLeonida:old-pr/9775
ProjectLeonida:old-pr/9768
ProjectLeonida:old-pr/9905
ProjectLeonida:old-pr/9936
ProjectLeonida:old-pr/9901
ProjectLeonida:old-pr/9904
ProjectLeonida:old-pr/9906
ProjectLeonida:old-pr/9988
ProjectLeonida:old-pr/9908
ProjectLeonida:old-pr/9909
ProjectLeonida:old-pr/9911
ProjectLeonida:old-pr/9912
ProjectLeonida:old-pr/9913
ProjectLeonida:old-pr/9887
ProjectLeonida:old-pr/9916
ProjectLeonida:old-pr/9919
ProjectLeonida:old-pr/9925
ProjectLeonida:old-pr/9933
ProjectLeonida:old-pr/9935
ProjectLeonida:old-pr/9918
ProjectLeonida:old-pr/9879
ProjectLeonida:old-pr/9880
ProjectLeonida:old-pr/9881
ProjectLeonida:old-pr/9996
ProjectLeonida:old-pr/9876
ProjectLeonida:old-pr/9892
ProjectLeonida:old-pr/9899
ProjectLeonida:old-pr/9915
ProjectLeonida:old-pr/9914
ProjectLeonida:old-pr/9872
ProjectLeonida:old-pr/9869
ProjectLeonida:old-pr/9866
ProjectLeonida:old-pr/9819
ProjectLeonida:old-pr/10012
ProjectLeonida:old-pr/9857
ProjectLeonida:old-pr/9893
ProjectLeonida:old-pr/9897
ProjectLeonida:old-pr/9928
ProjectLeonida:old-pr/9868
ProjectLeonida:old-pr/9917
ProjectLeonida:old-pr/9940
ProjectLeonida:old-pr/9873
ProjectLeonida:old-pr/9816
ProjectLeonida:old-pr/10009
ProjectLeonida:old-pr/9900
ProjectLeonida:old-pr/9966
ProjectLeonida:old-pr/9859
ProjectLeonida:old-pr/9843
ProjectLeonida:old-pr/9991
ProjectLeonida:old-pr/10058
ProjectLeonida:old-pr/9883
ProjectLeonida:old-pr/9838
ProjectLeonida:old-pr/9835
ProjectLeonida:old-pr/9959
ProjectLeonida:old-pr/9895
ProjectLeonida:old-pr/9837
ProjectLeonida:old-pr/9858
ProjectLeonida:old-pr/9865
ProjectLeonida:old-pr/9864
ProjectLeonida:old-pr/9840
ProjectLeonida:old-pr/9820
ProjectLeonida:old-pr/4669
ProjectLeonida:old-pr/9848
ProjectLeonida:old-pr/9850
ProjectLeonida:old-pr/9810
ProjectLeonida:old-pr/9799
ProjectLeonida:old-pr/9853
ProjectLeonida:old-pr/9875
ProjectLeonida:old-pr/9831
ProjectLeonida:old-pr/9796
ProjectLeonida:old-pr/9801
ProjectLeonida:old-pr/9813
ProjectLeonida:old-pr/9794
ProjectLeonida:old-pr/7417
ProjectLeonida:old-pr/9781
ProjectLeonida:old-pr/9806
ProjectLeonida:old-pr/9958
ProjectLeonida:old-pr/9809
ProjectLeonida:old-pr/9791
ProjectLeonida:old-pr/9792
ProjectLeonida:old-pr/10053
ProjectLeonida:old-pr/9784
ProjectLeonida:old-pr/9789
ProjectLeonida:old-pr/9849
ProjectLeonida:old-pr/9846
ProjectLeonida:old-pr/9773
ProjectLeonida:old-pr/9785
ProjectLeonida:old-pr/9803
ProjectLeonida:old-pr/9826
ProjectLeonida:old-pr/9839
ProjectLeonida:old-pr/9922
ProjectLeonida:old-pr/9948
ProjectLeonida:old-pr/7189
ProjectLeonida:old-pr/9957
ProjectLeonida:old-pr/9823
ProjectLeonida:old-pr/9807
ProjectLeonida:old-pr/9851
ProjectLeonida:old-pr/9774
ProjectLeonida:old-pr/9830
ProjectLeonida:old-pr/9836
ProjectLeonida:old-pr/9822
ProjectLeonida:old-pr/9783
ProjectLeonida:old-pr/9833
ProjectLeonida:old-pr/9890
ProjectLeonida:old-pr/9770
ProjectLeonida:old-pr/9769
ProjectLeonida:old-pr/9772
ProjectLeonida:old-pr/9787
ProjectLeonida:old-pr/9852
ProjectLeonida:old-pr/9834
ProjectLeonida:old-pr/9845
ProjectLeonida:old-pr/9871
ProjectLeonida:old-pr/9771
ProjectLeonida:old-pr/9776
ProjectLeonida:old-pr/10005
ProjectLeonida:old-pr/9949
ProjectLeonida:old-pr/9923
ProjectLeonida:old-pr/9805
ProjectLeonida:old-pr/9829
ProjectLeonida:old-pr/9790
ProjectLeonida:old-pr/9827
ProjectLeonida:old-pr/9929
ProjectLeonida:old-pr/9855
ProjectLeonida:old-pr/9934
ProjectLeonida:old-pr/9907
ProjectLeonida:old-pr/9910
ProjectLeonida:old-pr/9779
ProjectLeonida:old-pr/9780
ProjectLeonida:old-pr/9885
ProjectLeonida:old-pr/9882
ProjectLeonida:old-pr/9877
ProjectLeonida:old-pr/9998
ProjectLeonida:old-pr/4251
ProjectLeonida:old-pr/9987
ProjectLeonida:old-pr/9989
ProjectLeonida:old-pr/9950
ProjectLeonida:old-pr/9777
ProjectLeonida:old-pr/10044
ProjectLeonida:old-pr/9884
ProjectLeonida:old-pr/2906
ProjectLeonida:old-pr/5076
ProjectLeonida:old-pr/9937
ProjectLeonida:old-pr/9986
ProjectLeonida:old-pr/3014
ProjectLeonida:old-pr/9943
ProjectLeonida:old-pr/9939
ProjectLeonida:old-pr/4682
ProjectLeonida:old-pr/4765
No reviewers
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Reference
ProjectLeonida/mandy!1419
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1419"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from ubiquitarianism/leonida. Originally posted by whoalin1 on 2026-11-24T23:48:27Z.
LEONIDA_SKIP_COMPUTEis already implemented inmain, but its GPU regression test was never merged with it. This PR adds that test and keeps it honest on 128-byte push-constant devices.What
d3d12_skip_compute_test, Moriz82's synthetic regression test for the diagnostic already documented inmain: two counting compute programs exercise unset, one-name andallmodes, including direct and indirect dispatches.SKIP_RETURN_CODE 77.maxPushConstantsSizeis below the test's 144-byteShaderUserDatablock (128, the Vulkan minimum — e.g. AMD Radeon iGPUs), checksdevice_push_constants_need_fallback()and returns 77 instead of failing withE_NOTIMPL. This is the same guard already used byd3d12_msaa_draw_test,d3d12_set0_compute_testandd3d12_fspx_compute_test.This branch was rebased onto current
main; the stale duplicate documentation paragraph and the obsolete dependency on closed #1341 were removed. No game data.Validation
gta6rtandd3d12_skip_compute_testwith clang-cl and ran the test under Wine 11.22 on an RTX 4070. Unset: both programs run and nothing is logged.absent,drop: only the named program is dropped.all: both are dropped.f177f7a03(Windows 11, MSVC): build succeeds; native NVIDIA RTX 4070 SUPER passes all three ctest entries; AMD Radeon iGPU with validation on and a 128-byte push-constant limit honestly skips all three through return code 77 because the pipelines need 144 bytes. The AMD run directly exercises the new guard.AI-assisted.
Claimed in the coordination issue as: TEST-SKIP-COMPUTE-GPU-REGRESSION (claim).
Imported from ubiquitarianism/leonida. Originally posted by whoalin1 on 2026-11-25T04:56:05Z.
Rebased onto #1341's current head (
4c54b8044) — the branch now contains only this PR's own commit on top of it, so the earlier conflict is resolved.One thing worth flagging for reviewers: #1341's updated head already includes the
device_push_constants_need_fallback → return 77guard ind3d12_skip_compute_test.cppitself. After the rebase this PR's remaining delta is only the explanatory comment and a clearer skip message (+4/−1). The functional fix therefore lands with #1341; this PR is now just polish on top of it. Maintainer's call whether to keep it for the comment or close once #1341 merges — happy either way.Imported from ubiquitarianism/leonida. Originally posted by whoalin1 on 2026-11-25T20:16:47Z.
Rebased cleanly onto current main (
db1a22d29) as324ca00cfto refresh the stale CI baseline; no conflicts. The branch is unchanged: the RT-SKIP-COMPUTE-DIAGNOSTIC named-program skip plus the push-constant-limit guard ford3d12_skip_compute_test. AI-assisted with Devin.Imported from ubiquitarianism/leonida. Originally posted by whoalin1 on 2026-11-26T04:31:59Z.
Maintenance update: rebased onto current main and removed the stale duplicate documentation paragraph plus the obsolete dependency on closed #1341. The implementation itself is already in main; this PR is now exactly the missing synthetic GPU regression test plus the 128-byte push-constant skip guard. Head
f177f7a03.Imported from ubiquitarianism/leonida. Originally posted by whoalin1 on 2026-11-26T05:03:33Z.
Refreshed local validation on
f177f7a03(Windows 11, MSVC, no game data):The implementation itself was already in main; this validates the carried synthetic regression and the 128-byte-device behavior.
Imported from ubiquitarianism/leonida. Originally posted by zmasi on 2026-11-28T22:40:28Z.
Native Windows 11 + MSVC
19.44+ RTX 3090 Vulkan Verification (f177f7a03b+origin/mainadfb3821a2)Verdict: PASS on GPU + Khronos Validation (0 functional blockers; 1 CMake parallel-build dependency note & 1 minor
/W4nit below)Environment & Merge Check
10.0.26200), MSVC19.44.35228(x64), NVIDIA GeForce RTX 3090 (Vulkan subgroup32..32, ReBAR enabled), KhronosVK_LAYER_KHRONOS_validation1.4.363.1(LEONIDA_VK_VALIDATION=1,VK_VALIDATE_SYNC=1)origin/main(adfb3821a2,git merge-tree --write-treerc=0) andpython -I tests/test_ci_registration.pyOK.Red -> Green GPU Results
d3d12_skip_compute_testand its 3 CTest cases (d3d12_skip_compute_unset,d3d12_skip_compute_one,d3d12_skip_compute_all) are absent onorigin/main.PR #1419 + origin/mainon NVIDIA GeForce RTX 3090, both default and withLEONIDA_VK_VALIDATION=1+VK_VALIDATE_SYNC=1):d3d12_skip_compute_test.exe(d3d12_skip_compute_unset): PASS (rc=0,0.52 s,0VUID-errors) —0 log line(s), count_keep 103/1004 (expected 103/1004), count_drop 109/1016 (expected 109/1016).d3d12_skip_compute_test.exe --skip-one(d3d12_skip_compute_one,LEONIDA_SKIP_COMPUTE="absent,drop"): PASS (rc=0,0.52 s,0VUID-errors) —1 log line(s), count_keep 103/1004 (expected 103/1004), count_drop 100/1000 (expected 100/1000).d3d12_skip_compute_test.exe --skip-all(d3d12_skip_compute_all,LEONIDA_SKIP_COMPUTE="all"): PASS (rc=0,0.50 s,0VUID-errors) —2 log line(s), count_keep 100/1000 (expected 100/1000), count_drop 100/1000 (expected 100/1000).Diff Audit Notes
glslangValidatorparallel-build race againstorigin/main(runtime/CMakeLists.txt): Since commit86554c879onmain,${_indirect_count_spv}is owned byadd_custom_target(gta6rt_indirect_count_shader DEPENDS ${_indirect_count_spv}), and bothd3d12_indirect_dispatch_count_testandd3d12_compute_journal_testomit${_indirect_count_spv}fromadd_executable(...)in favor ofadd_dependencies(<target> gta6rt_indirect_count_shader)(as noted in the comment directly above: "naming its output here too would give Make a second rule for the same file, and the two glslangValidator runs raced"). Dropping${_indirect_count_spv}fromadd_executable(d3d12_skip_compute_test ...)and addingadd_dependencies(d3d12_skip_compute_test gta6rt_indirect_count_shader)keeps parallel Makefile/MSBuild builds race-free./W4nit (runtime/test/d3d12_skip_compute_test.cpp:54):std::fopentriggerswarning C4996under/W4unless_CRT_SECURE_NO_WARNINGSis added totarget_compile_definitions(d3d12_skip_compute_test PRIVATE ...)orstd::ifstreamis used.AI-assisted.
Imported from ubiquitarianism/leonida. Originally posted by OreoFR on 2026-11-29T00:15:16Z.
Verified by OreoFR
a8465211f+ PR headf177f7a03(merged with --no-ff, no conflict)ctest -R ^d3d12_skip_compute_(unset|one|all)$xbox_presentplus four GPU timeouts that all passed on rerunruntime/CMakeLists.txtwith the open #2566; a rebase may be needed if #2566 lands first.AI-assisted (Claude Code, Claude Opus 5.5).
Imported from ubiquitarianism/leonida. Originally posted by TheGeogeo on 2026-11-29T14:18:47Z.
Ready for testing: merges cleanly with
main3535eb5c4. Not inmainyet:git cherryfinds 2 commit(s) not there, and 1 of the 228 lines it adds are already present. No duplicate found: it carries no claim ID, and no other open pull request has the same title.AI-assisted (Claude Code).
Imported from ubiquitarianism/leonida. Originally posted by enlight3d on 2026-11-29T15:29:30Z.
RUN comment, PR #1419 (d3d12_skip_compute_test: GPU regression for LEONIDA_SKIP_COMPUTE)
Heads: PR
f177f7a03, main91bab934d(local merge of the PR into it, not pushed).Kind: runtime C++ test only (runtime/test/d3d12_skip_compute_test.cpp + 12 lines in runtime/CMakeLists.txt). No change to runtime sources. The test runs on the GPU as its own executable (no gta6rt run, no game).
Build (as scripts/build_runtime.ps1: vcvars64, VS cmake + ninja, -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLEONIDA_REQUIRE_VULKAN=ON, SDL3 static through SDL3_DIR):
cmake --build runtime/build -j 8 --target d3d12_skip_compute_test gta6rt
Run:
ctest -R "^d3d12_skip_compute_(unset|one|all)$"
RED: the PR has no non-test change to revert (the feature is already in main), so there is no revert-red. Mutation red instead: in runtime/shims/d3d12_vulkan_device.cpp, skip_compute() made to always return false (feature off), PR test kept: d3d12_skip_compute_unset passes, d3d12_skip_compute_one and d3d12_skip_compute_all FAIL ("count_drop is skipped", "count_keep is skipped"). Mutation reverted afterwards.
GREEN at the PR head: 3 of 3 pass (unset, one, all).
GREEN merged into main: 3 of 3 pass.
Imports: gta6rt.exe built from the merge vs plain main, dumpbin /imports, DLL!symbol: 714 vs 714, 0 new, 0 removed (expected: the PR touches no runtime source).
Not covered: the "skip on 128-byte devices" path (exit 77) needs a device with maxPushConstantsSize 128; this GPU reports more, so that path was not exercised.
Machine: Windows 11 Pro, RTX 3090 24 GB, NVIDIA 621.40, MSVC 14.44 (VS 2022 Build Tools), Vulkan SDK 1.4.363.1, SDL3 3.4.20 static, cmake/ninja from VS. Build folder deleted afterwards.
Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-11-30T09:01:06Z.
Independent verification on this machine (Windows 11, RTX 4090, MSVC 19.44.35226): the three tests this pull request adds cannot run -
ctestlists them with no command at all - while their executable builds.1. It applies.
merge-treeclean; the commits cherry-pick ontomaine236b19c6without a conflict.2. The executable builds:
3. What
ctest --show-only=json-v1contains:Out of 544 tests in the tree, exactly these three have no command - so this is the registration, not the branch causing a mess.
4. The registration looks like its working neighbour:
same
if(Vulkan_GLSLANG_VALIDATOR_EXECUTABLE)block, same file, target defined above the tests. I could not see a structural difference fromd3d12_compute_journal, which resolves, and I am not going to guess at one - what I can report is the observable: the target exists, builds, and three tests point at it with nothing to run.What that costs:
ctestcounts them as failures (Not Run) and they never exercise theLEONIDA_SKIP_COMPUTEpath they exist for - so the pull request adds a diagnostic that is red and inert.A fix worth trying first: replace the bare target name with
$<TARGET_FILE:d3d12_skip_compute_test>, which always resolves to a path at generate time.Two other pull requests have the same shape - #1182 (
vk_sparse_queue_order) and #1242 (win32_env,win32_env_override) - andmainhas none of these in its 541 tests, so it is not something the repository already carries.Written with an AI assistant.
Imported from ubiquitarianism/leonida. Originally posted by whoalin1 on 2026-11-30T09:06:42Z.
Repair pushed in
ee0d637fffor the registration failure reported byfiestorra: the threed3d12_skip_compute_*tests now bind their command through$<TARGET_FILE:d3d12_skip_compute_test>instead of relying on target-name substitution. That makes the executable path explicit in the generated CTest command while keeping the existing arguments and skip-code properties unchanged. I could not rerun the Windows/RTX registration locally; validation here is the narrow CMake diff plusgit diff --check.Imported from ubiquitarianism/leonida. Originally posted by merzleckeier on 2026-11-30T09:09:59Z.
Independent CTest A/B of
f177f7a03and the registration updateee0d637ff, each merged ontomaindcba958e5. CachyOS, CMake/CTest 4.4.5, Ninja, clang-cl 23.1.5 Release (x64 MSVC ABI). The only source delta between the merges is the threeadd_test()commands, so both configurations used the same built test executable.Missing command in the direct configuration. Without an emulator, both revisions generate the same executable path. With
d3d12_skip_compute_test.exepresent there, all threecommandarrays appear inctest --show-only=json-v1. With just that executable absent, all three disappear andd3d12_compute_journalstill has its command. This reproduces the JSON symptom on this setup. The original Windows build directory was outside this check.Configured Wine launcher. With
-DCMAKE_CROSSCOMPILING_EMULATOR=/usr/bin/wine, the target-name form generateswine …/d3d12_skip_compute_test.exe [mode]for all three cases. The$<TARGET_FILE:…>form inee0d637ffgenerates the bare.exe [mode], while the neighbouring journal test still gets Wine. On this host the kernel's PE handler can mask that difference by starting system Wine. A configured Wine/Proton path must be preserved explicitly if the path-expression form is kept. The original target-name form already preserves it and resolves to the same path in the direct build.GPU results with the original registration. Wine 11.22, RTX 4070 SUPER (NVIDIA 620.73.04) and Radeon 610M (RADV 26.3.1). All three CTest cases passed on each GPU. The exact pairs were keep/drop
103/1004, 109/1016for unset,103/1004, 100/1000for one, and100/1000, 100/1000for all, with zero, one and two skip messages respectively. Both devices ran the test body. The host Khronos layer reported the same device-creation VUID for the unchanged journal control and all three cases on both GPUs (VK_EXT_external_memory_dma_bufmissingVK_KHR_external_memory_fd), so this is a readback pass with a shared validation diagnostic.AI-assisted: yes (Codex).
Imported from ubiquitarianism/leonida. Originally posted by whoalin1 on 2026-11-30T09:12:37Z.
Correction: I reverted
ee0d637ffina0595ff51. The A/B evidence shows the target-name form is required to preserve a configuredCMAKE_CROSSCOMPILING_EMULATOR/Wine launcher, and the missing JSON command is reproduced by the executable being absent rather than by the registration itself. Thanks for the precise cross-check; the branch is back to the correct registration form.Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-11-30T11:14:44Z.
Correction: the three tests in this pull request do run. My earlier report of an empty
commandwas wrong.Measured with a freshly configured tree and a manifest regenerated from scratch:
No "Not Run", no empty command. I withdraw the earlier claim - it came from a manifest generated for a different tree, which is the same class of error as reading a stale binary.
What I did not re-run: the three tests themselves after this configure (they were green in the sweep earlier, and the point of this message is the registration, not the behaviour).
Two siblings from that earlier batch, checked the same way today, came out differently: #1182 resolves (also withdrawn), #1242 still shows an empty command for both its tests (that one stands). So of the four I reported, two were mine and two are real (#1242, #2344).
Written with an AI assistant.
Imported from ubiquitarianism/leonida. Originally posted by whoalin1 on 2026-11-30T22:29:37Z.
Rebased onto current
mainase5b9df0e9to refresh the stale CI baseline; the branch reapplied cleanly with no conflicts. Validation: CMake configure/generate passes andgit diff --checkis clean. The Linux VM still lacks Vulkan/D3D12 headers, so the GPU-side regression remains covered by the prior Windows validation rather than locally rerun.Imported from ubiquitarianism/leonida. Originally posted by aslan2142 on 2026-12-01T16:35:33Z.
Closing this PR because the legacy C++ Vulkan runtime (and legacy Python shader compiler) is now considered deprecated in favor of the new Rust Vulkan runtime (in progress) and the Rust DX12 runtime (
d3d12/) available now. Thank you for the contribution! If you believe this PR was closed by mistake (for example, if it still applies to active tools,d3d12/, or general docs), please feel free to reopen it.Pull request closed