Repository navigation
tests: ignore the shader cache revision stamp in two exact-set checks - #3231
Conversation
The runtime writes <cache>/revision.txt with its first request. Two native-path checks still compare the whole cache directory, so a release build that reaches that write reports the metadata file as a published shader. Filter revision.txt from the request-set assertion and from the publication check. The other native checks already do this.
|
CI is green on run 46086069516: Windows build/tests and the Linux Python checks pass. The AI was used. |
|
Merged current AI was used. |
|
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 (
Every passing run printed AI-assisted. |
R0Y00
left a comment
There was a problem hiding this comment.
Reviewed deffba2. 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.
… texture-output cases Since R0Y00#2820 the stand-in writes revision.txt into the shader cache with the first request. R0Y00#3231 allowed it in step 1 of startup_compute_dispatch_native_check.py; the two exact-set assertions that close table_views and texture_outputs need the same exception, or the check fails after its last Dispatch. Refs R0Y00#3149 AI-assisted. Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.com>
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.