diff options
| author | NotRexed <therealnothingfn@gmail.com> | 2026-11-28 15:59:54 -0500 |
|---|---|---|
| committer | NotRexed <therealnothingfn@gmail.com> | 2026-11-28 15:59:54 -0500 |
| commit | a076107872392bb7e10d8d4e1eaed664b47ccb17 (patch) | |
| tree | 9b3b443d7db87b11cccd0c8ecfc2fb792513db12 /scripts/launcher_python.sh | |
| parent | 52bda13cb1870c46cbbf14d46d536d13d2931571 (diff) | |
GPU: a dynamic raw view is kept inside its buffer: cut to the dwords that fit, null when none do (LEONIDA_RAW_VIEW_CLAMP=0: as before)
A raw view of a dynamic slot (root SRVs and UAVs bound as one-view tables, the
builder's unordered views) was made from the byte range asked for without
asking the buffer how wide it is; a view past its end reads whatever the
driver placed after the buffer. raw_range now shortens it to the whole dwords
that fit, and one that begins where no whole dword is left, or off the 16
bytes a raw view begins on, becomes the null view. The frame line counts them
since the start, shader and unordered views apart (with =0 counted, not cut).
Test: descriptor::host::tests::raw_views_are_cut_to_their_buffer.
From naixue2233/Yuk1-nvdia-gta6 34452a2 (GPL-3.0), which has it from
MystifiedSky/VIctory-NVIDIA-Improved aec85ef, itself fxceless/victory-fork
pull request 1266 (lichenlang89, dd5e8c9e): there it took away a violet patch
on lit floors and streaks across white frames.
In the game (RTX 4060 Ti, Series X profile at 1440p, frame generation off, the
waterside save; one standing run of 5 minutes, one walking run with every
frame of the standard moves saved): 0 dynamic raw views cut in either run,
shader or unordered. The callers here already size them from the host copy's
end (Shadow::left) and start them on 16 bytes, so on this save the guard
changes nothing. No device loss, no errors, no new kind of warning against the
runs before (m4-stand42, m4-walk4; the black-frame warnings of capture runs:
8 here, 6 to 8 in the earlier ones). framescan: 586 frames, 1 dip, in the
loading frames (frame 2048, as in the earlier rec2b); none during the moves,
where rec2a and rec2b had 4 bright spikes each. 13.4 fps standing, 13.7
walking (second half of each run).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'scripts/launcher_python.sh')
0 files changed, 0 insertions, 0 deletions