mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:10:52 +01:00
[PR #16] [MERGED] Runtime tests: fix two failures on main (d3d12_com stale depth-clear check, root_sig merge of two checksum fixes) #70
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#70
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/16
Author: @Pixel-Katana
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/24/2026
Merged by: @ubiquitarianism
Base:
main← Head:fix/main-test-regressions📝 Commits (2)
0c9864cd3d12_com_test: a depth clear outside [0, 1] closes the list (follow-up to3ce953ae8)681847cd3d12_xs_rootsig: accept an all-zero checksum and keep the fail-closed chunk table📊 Changes
2 files changed (+48 additions, -41 deletions)
View changed files
📝
runtime/shims/d3d12_xs_rootsig.cpp(+45 -39)📝
runtime/test/d3d12_com_test.cpp(+3 -2)📄 Description
Two runtime tests fail on
main(30daa695). Both come from changes that were merged without the matching follow-up; one commit each.What and why
d3d12_com(test only).3ce953ae8madeCommandList::clear_depth_stencilrecord a depth outside [0, 1] as given, matching WARP, and updatedcommand_list_test,d3d12_clear_testandd3d12_close_parity_test.d3d12_com_teststill expectedCloseto returnE_INVALIDARGforClearDepthStencilView(depth 2.0):line 345: list->Close() == E_INVALIDARG. It now expectsS_OK, as the close-parity rows do.root_sig(d3d12_xs_rootsig.cpp).b95925cbf(an all-zero checksum is accepted, as hostd3d12.dlldoes) andc297bb577/5c3487a94(strict checksum, fail closed on a malformed chunk table) changedcopy_rts0_blob_clear_xbox_flagsin parallel. Merge1e029d6dfkept the strict early checksum from one and the chunk loop from the other:root_sig_testfails its two all-zero-checksum cases;min_chunk_offunused.The function now has 5c3487a94's fail-closed chunk walk and RTS0 version check, with b95925cbf's rule: an all-zero checksum is accepted and stays zero after the rewrite; any other checksum must match. The duplicate
total_sizeand checksum checks inside the loop are gone.Tested
Windows 11 (10.0.26300), RTX 5080, NVIDIA 621.24, VS 2022 Build Tools 17.14 / MSVC 19.44, Vulkan SDK 1.4.363.0,
scripts\build_runtime.ps1; no new warnings.root_sig_test: OK (0 failures), was 2 failures.d3d12_com_test: exit 0, also withLEONIDA_VK_VALIDATION=1.root_sig,root_signature,root_signature_oracle,device_proxy*,xs_proxy_mock*): 11/11.ctest(302): only three failures left, all present onmainbefore this change and untouched here:d3d12_execute_indirect_validation,d3d12_vulkan_device(line 6576,tiles == 1),d3d12_depth_resolve.xmemandcrt_timed_waitfailed once under-j 4and pass 3/3 run alone.main(14 commits ahead of the base).No game data, keys or decryption. AI-assisted.
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.