Repository navigation
Test #294 against the four-PR world-rendering baseline - #1
Draft
MichaelSmithAI wants to merge 4 commits into
Draft
MichaelSmithAI wants to merge 4 commits into
MichaelSmithAI wants to merge 4 commits into
Conversation
…ot UAVs - Refresh the full remaining Shadow buffer extent for Root SRVs and Root UAVs instead of truncating at 1 MiB (keeping Root CBVs at the 64 KiB D3D12 limit). - Guard shadow::find/loose against low (<0x10000) and uncommitted addresses, and bind permanently-alive 4 MiB zeroed/sink fallback GPU VAs instead of skipping Set*Root*View when a root view is unset, null, or unmapped. - Support Root UAVs (u<slot>, space1 RWByteAddressBuffer) end-to-end across victory-shader (descriptor handle, global_store_dword*, s_load_dword* on root descriptors, PSV0/dx.resources metadata, SFI0/ShaderFlags UAVsAtEveryStage=1<<16), shader_cache (VSH2), pipeline::host (deduplicating shared (kind, slot) root views across stages), and draw (binding, gpu_writes write-back, and post-draw/dispatch UAV barriers). - Add unit, dxil.dll validation, WARP, and host GPU tests covering >1 MiB Root SRV dirty-page refresh, null/unmapped fallback VAs, cross-stage root view deduplication, and Root UAV execution/write-back.
Root SRVs and UAVs took the whole rest of their buffer's host copy, so a root UAV near the start of a very large backing copy kept and compared that whole range on every submission. A root view has no size and the translated shader does not report its range yet, so bound them: root SRVs refresh at most 4 MiB, root UAVs refresh, snapshot and copy back at most 2 MiB, constant buffers keep the 64 KiB D3D12 maximum. A cut is logged once per view kind. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # crates/victory-shader/src/emit/lower.rs
MichaelSmithAI
pushed a commit
that referenced
this pull request
Nov 25, 2026
Exercise the descriptor cursor regression on the actual heap capacity
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This fork-local comparison is for the three-frame cutscene experiment requested in VIctory issue #255. On the four-PR stack the reporter saw nine programs stop at the combined root-UAV/typed-root-view refusal and roughly 390 dropped draws per frame. All eight reported HDR targets were empty.
Build the baseline at
ba51729and the candidate atc8197ea. Both contain Marvisak#302, Marvisak#489, Marvisak#307 and Marvisak#346 at the reported revisions. The candidate adds Marvisak#294 at0050ce5, resolves the test-emitter initializer conflict, and adds a synthetic regression. Both omit Marvisak#135, which changed depth coverage in the reference run.Use the same game version, save, cutscene moment, adapter, build settings and capture settings. Warm each build's cache before its measured run. For three matched frames, compare the number of programs and dropped operations with the root-view refusal, the number of full-resolution HDR targets with nonzero content, and depth coverage away from clear. Record whether the world is visible and any new leading refusal. Counts and observations suffice.
The baseline rejects the synthetic spill-table-to-raw-UAV write. On the candidate it emits the same DXIL and uses the same root slot as the direct-input control. The Linux shader suite passed 69/69, and the Windows diagnostics CLI and GPU/shader test targets type-checked. The retail comparison has not been run. The original combined counter includes typed views that Marvisak#294 may still refuse.
The original contributions retain their authors. AI assistance was used for integration, the regression test and verification.