Repository navigation
Conversation
dkdknight
added a commit
to dkdknight/victory-fork
that referenced
this pull request
Nov 25, 2026
…, small buffers on the card, parallel page merge, absent blocks asked outside the guards' lock, PR fxceless#853 alias guard, GPU_UPLOAD windows, legacy multiply and wide scalar loads); view guard back on in play-lod.ps1 Written by AI agents from this session's leads, reviewed and built here; measured separately. Switches: - VICTORY_INDIRECT_CARD_BUDGET (on; =0 as before): the clamp's per-list budget counter in card memory, zeroed by the clamp shader's own entry, instead of a system-memory buffer with 1-4 atomics per clamp over PCIe (after fxceless/victory-fork PR fxceless#220). - VICTORY_CARD_BUFFERS_MIN_KB (off): card copies for title buffers under 1 MiB, floor 64 KiB (after PR fxceless#200). - VICTORY_MERGE_THREADS (4; =1 as before): merge_under_writes reads contiguous stale pages in one call and compares them on scoped threads; changed_runs skips equal bytes 64 at a time; merging stays in order on the submitting thread. - VICTORY_GUARD_ABSENT_BITS (on; =0 as before): absent blocks still uncommitted are dropped from a range's runs before the guards' lock is taken (nothing marked clean, unlike parking). - PR fxceless#853 (Peppacodes et al.) ported: a write through one view no longer opens the other views of the page; they are noted written and guarded again together (plus clean_bit cleared for the alias). - VICTORY_UPLOAD_WINDOWS_MB / VICTORY_UPLOAD_WINDOWS_ROOM_MB (off): windows in GPU_UPLOAD (ReBAR) heaps, written by the CPU straight into card memory. - VICTORY_LEGACY_MUL=1|2, VICTORY_SMEM_WIDE=1 (off): plain multiplies for exact legacy-multiply cases, scalar buffer loads 4 dwords at a time. - play-lod.ps1: VICTORY_VIEW_GUARD=0 removed (walls of the cell were missing without it: same shot, screenshots). 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.
Changes
VICTORY_CARD_BUFFERS_MIN_KBthreshold for VRAM-backed shadow buffers. A valid KiB override takes precedence over the existing MiB setting. The default threshold and VRAM budget are unchanged.VICTORY_SNAPSHOT_RANK=1. It attributes declared snapshot ranges to live buffers and records their VRAM admission outcomes.Verification