Repository navigation
Conversation
SaymonMaster14
added a commit
to SaymonMaster14/victory-fork
that referenced
this pull request
Nov 25, 2026
… it refused 30 more compute shaders next to fxceless#134's v_permlanex16; lower/tests.rs stays Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
Merged on current That test passes on main. It came in with |
KomanderDG88
pushed a commit
to KomanderDG88/VIniVIdiVIci
that referenced
this pull request
Nov 26, 2026
…ast copied (VICTORY_WINDOW_SKIP_SAME, off by default) A window outside buffers whose one buffer the CPU fills (in the PC's memory, or in a GPU upload heap with VICTORY_WINDOW_UPLOAD=1) copies every page the write watch or the guards name into its buffer whole. A page written need not hold other bytes; nothing compared them. Measured in AnyXboxX: 67-73 MB a frame of what such windows took were bytes they had already taken. Each such window now keeps a 64-bit print of the bytes it last copied for each 4 KiB page (an XXH3-style accumulate of eight lanes; 8 bytes a page). With VICTORY_WINDOW_SKIP_SAME=1 a page whose bytes give the same print is not copied again: title memory is read 256 KiB at a time into memory of the thread's, printed, and each run of other pages is stored. The buffer still holds those bytes: nothing but the window's copies writes it; a page copied only in part keeps no print; a window made again starts with none; and a window that shaders are said to write (Shadow::writing) compares nothing from then on. =sample copies as before and compares one 4 KiB page in 16, picked by its address, so the new frame line can say how much of what the windows take is what they took last time. Unset or 0: the code path as before, no work of it at all. The new line (with the switch set) gives per frame what they took, copied and left out, and of it the bytes that held what the window last copied, other bytes, nothing to compare with, and the prints' memory. Port: from LooperSalty/AnyXboxX PR fxceless#340 (in fxceless#358), commit baedbeebbe037465e53bba5f340344fa5af03fb2 (the PR named the merge 3b6c3258). Applied by hand: AnyXboxX has transient windows (VICTORY_CARD_WINDOW_UPLOAD, windowup.rs: a card side and no CPU side, pages sent through pooled upload chunks), which this tree does not have. Here it is for the windows with no card side, whose buffer is the one the CPU fills (windows with a card side already compare against their CPU side with VICTORY_COPY_CHANGED=1). The print, the page walk and the tests are the original's, in a module of their own (windowskip.rs) rather than in shadow.rs; the hook is Shadow::copy. The default is off, not the original's sampling (=sample asks for it). The read-failure path: pages are read with copy_mapped, which stores zeros for what cannot be read, as the copy without the switch stores them, so a print is always that of the buffer's bytes; the sample reads with read_into and takes a page not all there as one taken in part. The shader-write guard is the copy's first declared write (Shadow::writing) instead of transient_written. The ram line's figure is on the new line. host.rs gains one line (the call). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Change
v_permlanex16_b32to an opposite-row lane read within each 32-lane half. Require full guest EXEC and proven lane participation before emitting the read.Verification
CS_WaterTransmittanceOpticalDepthProcessingcompute shader emits WaveSize(32), passes the DXIL validator and creates a D3D12 compute PSO. The strict replay usesVICTORY_WAVE_LOCAL=idiom.