shaders: build the graphics program index for device slot 57 (RT-SLOT57-NATIVE-GRAPHICS-PSO) #1592
Closed
Rain156 wants to merge 2 commits from
upstream-pr/1592 into main
pull from: upstream-pr/1592
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!1592
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1592"
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 Rain156 on 2026-11-25T05:27:14Z.
Claimed in the coordination issue as: RT-SLOT57-NATIVE-GRAPHICS-PSO. Original claim
Depends on: #497, #939, #984 and #974 (merged).
What and why
The normal shaders stage produced the compute pipeline library and the DXBC identity catalog. Device slot 57 could also look up raw graphics programs, but the build never populated that index. This follows up on the RDNA2 report in #497. Original report
<shaders>/fspx_gfx/index.json. The graphics build has an independent resume marker that validates its index and module files.--trace-d3d12switch reports catalog and kind-6 stage counts and the HRESULT. The full corpus test accounts for the new sub-index separately from carved DXBC containers.Offline retail checks
Native Windows 11 x64, MSVC RelWithDebInfo, RTX 5070 Ti, NVIDIA 617.42, Xbox 1.0.2.1. The control runtime was unmodified
c7e82e26e. The runs used a zero-capability AppContainer. The isolated control withheld only the DXBC identity catalog from the runtime inputs.The raw-only candidate trace attributed its successes to kind-6 lookups. The traces ended at title breakpoints after differing numbers of calls. They measure PSO creation during startup. World rendering and the reported RDNA2 iGPU still need their own verification.
Build and GPU validation
make_game.py --stages shaderscommand backfilled the graphics library in an existing workspace. Its index was byte-identical to a separate full pass. A second standard invocation reused all six groups without changing any of their index bytes, index timestamps or module sizes/timestamps.spirv-valfor 9,671/9,996 PS, 1,342/1,343 VS and 7,480/7,498 MS. All 18,493 published code hashes in each mode matched the complete extracted programs and had a module. The 344 remaining specialized programs were refused by the translator. Across 25,471 graphics records, raw keys alone supplied all stage links for 24,983. The DXBC catalog supplied all stage links for 25,450. Two records also refer to the unidentified slot 6.AI-assisted: Yes (Codex). The original claim is in #14. The successor tracker has the completion notice and the remaining specialized translation work.
Imported from ubiquitarianism/leonida. Originally posted by Snooozs on 2026-11-25T14:47:01Z.
This has conflicted with
mainsince the slot 57 state work (#1671, #1691, #1703) landed, so I mergedmain446574e76into it and tested that, in case it saves you the time:Snooozs/leonidabranchmerge-main-into-1592(one merge commit on your817b4be0b; take it withgit pull https://github.com/Snooozs/leonida merge-main-into-1592, or redo it as you like - I am not opening a second pull request).What needed a decision:
d3d12_xs_native_pso.h:mainadded the B4G4R4A4 stand-in blend retry aftercreate_pipeline, in the body you moved intobuild(). I moved the retry intobuild(), so it runs for both stage sources, and before your retry with indexed code (a catalog pipeline that succeeds with the blend fallback is returned, as onmain).native_pso.h: git merges this without a conflict, but it would not compile:native_pso_blend_testandnative_pso_depth_testonmaincallnp::plan(desc, map), and hereplantakes a third argument. I added a two-argument overload that only uses the records' containers.d3d12_translated_draw_test.cpp: keeps both--native-fspxand--dual-source.Tested on the merge, Windows 10 Pro 19045, RTX 5060 Ti, NVIDIA 621.01, MSVC 14.43 RelWithDebInfo: 24 of 24 of
d3d12_translated_draw,xbox_native_base_draw,xbox_native_fspx_draw,xbox_derived_mask_*,d3d12_dual_source_draw(_eager),d3d12_mesh,xbox_native_fspx_mesh,native_pso_blend/depth/fallback,device_proxy*,xs_proxy*,shader_library;tests/test_library_shaders_stage.py18 of 18 (before the overload was added; it is Python only). Not run: the wholectestset, a boot, the dual-source path together with indexed (kind-6) stages.I am translating the graphics programs from my own package with the merged
make_game.py(llvm-mc 23.1.6, wave64 emulation) and will add the counts here.AI-assisted (Claude Code).
Imported from ubiquitarianism/leonida. Originally posted by Snooozs on 2026-11-25T15:08:11Z.
Counts from my own 1.0.2.1 package, as promised: merged
make_game.py(translate_library_stages,fspx_gfxonly), llvm-mc 23.1.6,--wave64-emulate, 8 shards, 22 minutes including unpacking: 18,493 of 18,837 programs, all 18,493 pass spirv-val: 9,671 PS, 1,342 VS, 7,480 MS. Exactly your emulated numbers. AI-assisted (Claude Code).Imported from ubiquitarianism/leonida. Originally posted by BubsMcgee on 2026-11-25T15:34:05Z.
Retail-boot data point that this PR should fix (Windows 11, RTX 3080 Ti, driver 616.64; main-based runtime at
71a769d7d, shaders stage run from a 1.0.2.1 package):29277 translated shaders (2710 fspx, 0 fspx_compute, 0 fspx_gfx, 52 bvh, 12 exe)— the graphics program index is empty, matching DadaCap's "nofspx_gfxset" finding.device slot 57 (Xbox native graphics pipeline / PC lifetime tracker) first call, routed toDeserializeGraphicsPipelineStateX.ID3D12Device2::CreatePipelineStatefailures, paired fail/ok/fail/ok at trace records ~127452/127454 and ~128214/128215, then the boot continues to sessiondwith non-black frames.So those 4 failures line up with slot-57 native graphics PSOs that cannot resolve a graphics program without
fspx_gfx. This PR builds that index and adds the catalog/kind-6 retry, so it should turn them into successes. For contrast, #1497 (bary-fallback) and #1818 (on-demand console streams) do not apply to this boot: the device has fragment-shader barycentrics, and the boot is eager, notLEONIDA_PIPELINE_COMPILE=on-demand.I have not run this branch (it is CONFLICTING on current main), but I can test
Snooozs/leonida:merge-main-into-1592plus a fullfspx_gfxbuild and re-run this boot if that is useful. Counts and record numbers only; no game data.AI-assisted.
Imported from ubiquitarianism/leonida. Originally posted by DadaCap on 2026-11-25T15:53:41Z.
Retail result with this branch merged onto a tree of current
main(RTX 5080, NVIDIA 621.24), 18,735 of 18,837 programs infspx_gfx(18,493 from the pull request as it is, plus 242 of its refusals re-disassembled withtools/rdna2_decode.py; the remaining 102: 78DPP on v_cmpx, 18s_getpc_b64, 6 without a container). The ten hashes one run asked for at slot 57 are all covered. With it,native_hashes.txtand an indirect mesh merge, a run showed a world picture (#1608 finding).Two things that may save someone a day:
fspx_gfxbut nonative_hashes.txtthe title's frames were black from the intro on (the package splash stayed on screen); with both, or with the catalog alone, the intro plays. The log line isslot 57 has no native_hashes.txt; checking indexed native programs. My folder lacked it because I had re-translated with a script of mine.Merge notes: the only semantic conflict was the B4G4R4A4 stand-in blend retry in
d3d12_xs_native_pso.h(kept inside this pull request'sbuild()). ctest on the merge:xbox_native_fspx_draw,xbox_native_fspx_mesh,d3d12_translated_draw,native_pso_blend,native_pso_depth,native_pso_fallbackpass. AI-assisted (Claude Code).Imported from ubiquitarianism/leonida. Originally posted by BubsMcgee on 2026-11-25T17:23:41Z.
Tested
Snooozs/leonida:merge-main-into-1592(202d6d20f) in the retail boot — RTX 3080 Ti, driver 616.64.The slot-57 fix works:
spirv/fspx_gfx(18,493 programs) and logsdevice slot 57 routed to DeserializeGraphicsPipelineStateX, withslot 57 stage sources: catalog=1/2 kind6=0 hr=0x0;CreatePipelineStatefailures from the eager boot (~#127452/#128214) are gone;dat t75 s, 2,505 presents, 40/40 non-black frames, 0 device faults, and it starts streaming world data (160 file opens) from t97 s in a 240 s boot.Remaining on the same boot:
ID3D12Device2::CreatePipelineStatefailures, all onPipelineStream::Meshstreams (type 24, "contains a mesh shader; DXIL kind 13") — #137311/#137313/#138069/#138074 and #229763/#229766/#229771/#230854/#230861/#230868 (10 of 15 listed). Hundreds of other mesh streams created; the log gives no refusal reason for these 15.0xC0000005inamd_fidelityfx_upscaler_xbox.dll+0x65ff(read 0x10) at ~175 s, while the world is loading; a 120 s run does not reach it. That is the FSR path, not slot 57.0xC0000005inleonida::fsdraw::has_tsharp; that is our localLEONIDA_LOCAL_DIAGNOSTICSprobe, not this PR.@Rain156 @Snooozs: is the 15-stream mesh-shader refusal expected (programs the library does not carry?), and is the FSR crash at world load known? I can re-run with local diagnostics off for a clean digest.
AI-assisted.
Imported from ubiquitarianism/leonida. Originally posted by BubsMcgee on 2026-11-25T17:26:42Z.
Follow-up on the FSR crash: it is the FSPX translation, not slot 57.
spirv/fspxcarries 27 of the DLL's 29 programs;amd_fidelityfx_upscaler_xbox_03and_18are the two missing (all 29 are unpacked undershaders/fspx).DeserializeComputePipelineStateXcall 2694 returns0x80070057(E_INVALIDARG); that is the pass the DLL namesFFX_FSR4_PASS_4. It falls back to "NewBE", the runtime marks thatID3D12Device2::CreatePipelineStateunsupported (#123672), and the DLL'sCreateModel(...) == FFX_API_RETURN_OKassertion fires → the0xC0000005inamd_fidelityfx_upscaler_xbox.dll+0x65ffat ~175 s (the 120 s boot never reaches it).d, 2,505 presents, 40/40 non-black, 0 device faults, 160 world files opened, and the 18,493-programfspx_gfxresolving slot 57.So the world-load blocker is translating the two missing FSPX programs (pass 4 is presumably
_03/_18).@Rain156 @Snooozs is this two-program FSPX gap already owned/tracked elsewhere?
docs/fspx.mdcurrently says 27 of 29 translate, so it may be known. I can file it as a finding if not.AI-assisted.
Imported from ubiquitarianism/leonida. Originally posted by kurrutako on 2026-11-25T17:53:44Z.
@BubsMcgee on the two missing FSPX programs: #1862 (SHADER-FSPX-DOT4-EXACT, open) is the fix for that gap. With it, all 29 FSPX programs translate on a retail copy here (27 of 29 on
main). Retail boots on an RTX 5070 with #1862 merged no longer end in theamd_fidelityfx_upscaler_xbox.dllaccess violation; before it, my boot hit it at about 210 s. Those boots did not have this branch, so I can't say how the two interact. AI-assisted.Imported from ubiquitarianism/leonida. Originally posted by OreoFR on 2026-11-26T19:08:08Z.
@Rain156 is this still on your side? It now conflicts with
main(needs rebase). Two things that may help:DPP on v_cmpxrefusals DadaCap counted here now translate. That leaves 18s_getpc_b64and 6 without a container.mainmerged into this branch (Snooozs/leonida:merge-main-into-1592), and BubsMcgee confirmed slot 57 loads 18,493 programs with it.Happy to test a rebased branch on an RTX 4070 Laptop (NVIDIA 621.40). If you'd rather hand it over, say so and someone can carry it on. AI-assisted (Claude Code, Claude Opus 5.5).
Imported from ubiquitarianism/leonida. Originally posted by Coderlord on 2026-11-27T13:13:15Z.
@Rain156 @OreoFR this conflicts with today's
main(63185f4a3) in three files, all against the new slot-57 blend and depth state. Here's a resolution, in case it saves someone the work:Coderlord/leonida-ubiq:merge-main-into-1592(de01b1372, two commits on817b4be0b: the merge, then a test fix).d3d12_xs_native_pso.h: this PR'sbuild()(catalog container or the library's indexed program, and the retry with the indexed bytes) now holds main's B4G4R4A4 stand-in blend retry, so both attempts get it. Includes from both sides.d3d12_translated_draw_test.cpp: main's--dual-sourceand this PR's--native-fspxside by side, with the kind-6/FSSM wording in the closing line.CMakeLists.txt: main'sd3d12_mesh_heavy_cacheand this PR'sxbox_native_fspx_mesh.native_pso_blend_testandnative_pso_depth_testcallplan()with two arguments, so they don't build against this PR's three-argumentplan(). They now pass a code-stage callback that knows no code ranges.Tested on an RTX 5080 (NVIDIA 621.40, Windows 11) as part of an integration branch with these same four files plus other open PRs: the 11 tests on these files pass (
d3d12_translated_draw,d3d12_dual_source_drawand_eager,xbox_native_fspx_draw,d3d12_mesh,d3d12_mesh_heavy_cache,xbox_native_fspx_mesh,native_pso_blend,native_pso_depth,native_pso_fallback,dual_source_fragment; the twonative_pso_ones after the test fix). This branch alone was not built. AI-assisted (Claude Code).Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-11-28T17:59:27Z.
Hi @Rain156, thanks for this pull request. It currently conflicts with
main(conflicting file(s):runtime/CMakeLists.txt,runtime/shims/d3d12_xs_native_pso.h,runtime/test/d3d12_translated_draw_test.cpp), so it carries theneeds rebaselabel. CONTRIBUTING.md asks authors to rebase their branch onmain; once it merges cleanly the label goes within the hour, and reviews start with the pull requests that do. Could you update the branch when you have a moment? If you no longer plan to continue with it, please say so here.AI-assisted (Claude Code, Claude Opus 5.5).
Imported from ubiquitarianism/leonida. Originally posted by Rain156 on 2026-11-29T06:26:39Z.
I don’t have time to continue working on this PR. If another contributor would like to take it over, please feel free. I’ll leave this PR open for reference.
Imported from ubiquitarianism/leonida. Originally posted by enlight3d on 2026-11-29T12:33:59Z.
Run of #1592 on a native Windows GPU (NVIDIA RTX 3090). Synthetic tests only, no game files.
Heads: PR
817b4be0b, main8fb974878.Merged or head-only: head-only.
git merge --no-ffof the PR into main conflicts inruntime/CMakeLists.txt,runtime/shims/d3d12_xs_native_pso.handruntime/test/d3d12_translated_draw_test.cpp, so everything below ran on the PR head itself (detached at817b4be0b, merge basec7e82e26e).Commands:
Green: 22 Passed, 1 Skipped, 0 failed. Includes the two tests the PR adds,
xbox_native_fspx_drawandxbox_native_fspx_mesh, plusd3d12_mesh,d3d12_translated_draw,xbox_native_base_draw,device_proxy(+_trace), thexs_proxy_mock*family (9),shader_library,d3d12_vulkan_device,d3d12_pso_validationandd3d12_pipeline_library.shader_library_corpusis Skipped (it needs the retail corpus, which is not used here), andtests/test_library_shaders_stage.pywas not run (no pytest in the Python used for this run).Red (behavioural, the PR's non-test changes reverted to the merge base, tests and
runtime/CMakeLists.txtkept:docs/*,make_game.py,runtime/shims/d3d12_vulkan_device.cpp,d3d12_xs_device.cpp/.h,d3d12_xs_native_pso.h,runtime/src/native_pso.h,shader_library.h). Everything builds; 6 of 23 fail:xbox_native_fspx_drawatd3d12_translated_draw_test.cpp:254(stale-digest recovery with raw VS/PS:create_native_psofails)xbox_native_fspx_meshatd3d12_mesh_test.cpp:333(raw MS/PS:create_native_psofails)shader_libraryatshader_library_test.cpp:530(compute_program(short_code).kind == Kind::fspx)device_proxy,device_proxy_trace,xs_proxy_mock(test sources extended by the PR)The other 16 tests (including
d3d12_mesh,d3d12_translated_draw,xbox_native_base_draw) pass in that state, so they do not measure the change. All 23 pass again with the PR restored.Link: no new imports vs the merge base
c7e82e26e(gta6rt.exe built at both, 651 entries, identical lists). Against current main8fb974878(714 entries) the only entry present here and not in main isapi-ms-win-crt-stdio-l1-1-0.dll!__stdio_common_vswscanf, which the merge-base build already has, so it is not from this PR.Machine: RTX 3090 24 GB, NVIDIA 621.40, Windows 11 Pro 10.0.26300, MSVC 19.44, RelWithDebInfo, Ninja, Vulkan SDK 1.4.363.1.
The branch conflicts with main in the three files above; could you merge main into it so it can be tested merged?
Imported from ubiquitarianism/leonida. Originally posted by aslan2142 on 2026-12-01T17:23:53Z.
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