tests: ignore the shader cache revision stamp in two exact-set checks #3231
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3231"
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 R0Y00/Xbox2Windows. Originally posted by lambirou on 2026-11-28T00:06:02Z.
Problem
mainis red in the/O2job onnative_rtv_variant_warpandstartup_compute_dispatch_native_warpafter the runtime started writing<X2W_SHADER_CACHE>/revision.txtwith its first request. Both tests compare the cache directory contents exactly, so they report that metadata file as a published shader.The failure predates #3142: it is also present on the #2820 merge (
14d56502).Change
Filter
revision.txtfrom:tests/native_rtv_variant_check.py;tests/startup_compute_dispatch_native_check.py.No runtime behavior changes.
Validation
Windows 11 build 26300, MSVC 19.44.35228, WARP 10.0.26100.10068 and RX 9060 XT driver 32.0.32029.2010.
native_rtv_variant_warp: passnative_rtv_variant_hardware: passstartup_compute_dispatch_native_warp: capability skip (WARP has no 32-lane waves)startup_compute_dispatch_native_hardware: passThe Debug equivalents also pass, including the hardware publication check. The D3D12 debug layer was unavailable (
0x887a002d), so debug-layer cleanliness is not claimed.AI was used.
Imported from R0Y00/Xbox2Windows. Originally posted by lambirou on 2026-11-28T00:09:36Z.
CI is green on run 46086069516: Windows build/tests and the Linux Python checks pass. The
/O2job is skipped for PRs; the local Release run above covers the two affected tests on WARP and the RX 9060 XT.AI was used.
Imported from R0Y00/Xbox2Windows. Originally posted by lambirou on 2026-11-28T00:15:59Z.
Merged current
mainand pusheddeffba2d. The rerun 46086600278 is green on Windows and Linux;/O2is still skipped for PRs. The PR is clean and mergeable.AI was used.
Imported from R0Y00/Xbox2Windows. Originally posted by roansystemlabs on 2026-11-28T00:22:52Z.
Independent receipt on NVIDIA Ampere with the D3D12 debug layer enabled, which the RX 9060 XT run in the description could not cover.
Machine: RTX 3070 (
10de:2484), driver 621.01 (UMD32.0.16.2101), WARP10.0.26100.9818, Windows 11 25H2 build 26200.9974.mainatad306425,devandreleasepresets built as in the Windows CI job. This PR only changes the two check scripts, so I ran its versions (identical atc2d38573anddeffba2d) against thead306425binaries.mainscriptsnative_rtv_variant_hardware, Debug and Releasenative_rtv_variant_check.py:291, extrarevision.txt)native_rtv_variant_warp, Debug and Releasestartup_compute_dispatch_native_hardware, Debug and Releasethe native route left ['revision.txt'] in the cache)Every passing run printed
debug layer: enabled, no error message.AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-28T00:29:00Z.
Review: APPROVED
Reviewed
deffba2d2b. Its two changed test files are byte-identical to the locally exercised candidate. Debug and Release /O2 each passed both RTV tests and native Dispatch on RTX 4060 Laptop. Microsoft WARP native Dispatch reported capability skip 77. The original assertions reproduced the failure against revision.txt, and the remaining exact-set checks are preserved.