Repository navigation
Kemerd port: 6 switches without RT (all off by default) + audit - #2
Merged
Merged
Conversation
…0 KiB file limit The asset-policy test failed on lower.rs (667380 bytes > 655360). The unit tests move unchanged into emit/lower/tests.rs; no code or test changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SiiHe46xLWma3psWE1tgae
…nto claude/practical-euler-95ngzp
…de/practical-euler-95ngzp
Both files are unchanged on pl-plus-dev; removing them here keeps the PR to ampere-sm86-perf-exp1 limited to the Kemerd port. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SiiHe46xLWma3psWE1tgae
…ce (off by default) Ported from Kemerd/VIctory-NVIDIA-RT rt-test-11 (0549d44), GPL-3.0. A pooled staging piece used before was zero-filled when handed out and then written again by the detiling. With VICTORY_STAGING_NO_ZERO=1 the fill is left out only where detile_covers shows the detiling writes every byte the copies read (row bytes, rows and depth of each subresource from GetCopyableFootprints). A piece no detiling wrote whole is zero-filled where its copy is recorded (record_upload and PreludeUpload::record), under the staging's last lock. A failed detile zero-fills the remaining subresources. The card's detile path is unchanged. A 5-second log line counts pieces left, zeroed at record and zeroed when made. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SiiHe46xLWma3psWE1tgae
… no-zero ported) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SiiHe46xLWma3psWE1tgae
…eued (off by default) Ported from Kemerd/VIctory-NVIDIA-RT rt-test-11 (0549d44), GPL-3.0. With more pipelines queued than the workers can make within the frame's budget, a draw's wait cannot end in time and only costs the frame. Past n queued, the draw is dropped at once, as when the budget runs out, and drawn again in a later frame. Graphics only: dispatches and passes over the screen are never left out by this rule. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SiiHe46xLWma3psWE1tgae
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SiiHe46xLWma3psWE1tgae
…e system's cache can read through it (VICTORY_FILES_BUFFERED, 1 or count, off by default) From Kemerd/VIctory-NVIDIA-RT 1053639 (in rt-test-11 0549d44), GPL-3.0, applied unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SiiHe46xLWma3psWE1tgae
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SiiHe46xLWma3psWE1tgae
Matartos
marked this pull request as ready for review
November 28, 2026 21:30
… they start (VICTORY_SEND_COPIED_FIND, off by default), and the card copies line says what the look costs From Kemerd/VIctory-NVIDIA-RT 84d94c5 (in rt-test-11 0549d44), GPL-3.0, applied unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SiiHe46xLWma3psWE1tgae
…a frame (VICTORY_TEXTURE_LOOK_ONCE, off by default), and a line counts the second looks either way From Kemerd/VIctory-NVIDIA-RT 35cafeb (in rt-test-11 0549d44), GPL-3.0; only the frame-line call in host.rs placed after this tree's detiling line. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SiiHe46xLWma3psWE1tgae
… here) From Kemerd/VIctory-NVIDIA-RT ef8f00c (in rt-test-11 0549d44), GPL-3.0. Taken: a staging piece is zero-filled in PreludeUpload::finish_refresh, before the prelude is recorded under the list's states lock (VICTORY_STAGING_NO_ZERO); look-once counters count only whole reads (note_looked); the copy finder's list copies are let go after the CARDED lock and its timing covers the look alone. Left out: read-ahead, arenas and slow workers, which are not in this tree. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SiiHe46xLWma3psWE1tgae
…correction Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SiiHe46xLWma3psWE1tgae
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SiiHe46xLWma3psWE1tgae
…ds of ours once the pass lets go of it (VICTORY_TEXTURE_READ_AHEAD, off by default) From Kemerd/VIctory-NVIDIA-RT 19f0de6 (in rt-test-11 0549d44), GPL-3.0, applied unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SiiHe46xLWma3psWE1tgae
From Kemerd/VIctory-NVIDIA-RT ef8f00c (texture.rs, ahead.rs), GPL-3.0. A read-ahead decides and reads under one hold of the staging's last lock, and leaves a buffer a refresh already tried (its copy may be in flight); the read-ahead line says nothing in quiet frames. Plus a309f8e's quiet check in ahead.rs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SiiHe46xLWma3psWE1tgae
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SiiHe46xLWma3psWE1tgae
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SiiHe46xLWma3psWE1tgae
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.
Zakres
Mechanizmy z Kemerd/VIctory-NVIDIA-RT
rt-test-11(0549d44c330bf0a1f808f8b012d8e22168dfad91, GPL-3.0), które działają przy wyłączonym RT. Szczegóły, dowody, autorzy i rollback:docs/KEMERD-AUDIT.md.VICTORY_PIPELINE_SAMPLER_TABLE: ALREADY PRESENT. Ten sam problem rozwiązuje u naspipeline/samplers.rs(VICTORY_SAMPLER_ORDER, domyślnie włączony).VICTORY_STAGING_NO_ZERO=1(970bcbc, poprawkaa5f964a): mniej zerowania pamięci staging przy uploadzie tekstur.VICTORY_PIPELINE_WAIT_BACKLOG=n(a376dd7): draw nie czeka, gdy w kolejce jest więcej niż n pipeline'ów. Tylko grafika.VICTORY_FILES_BUFFERED=1|count(6d39c94): odczyty pliku gry przez cache Windows.VICTORY_SEND_COPIED_FIND=1(595b8cc, poprawkaa5f964a): kopie bufora wyszukiwane po adresie zamiast pełnego przeglądu.VICTORY_TEXTURE_LOOK_ONCE=1(8fff3e8, poprawkaa5f964a): niezapisana tekstura czytana najwyżej raz na klatkę.VICTORY_TEXTURE_READ_AHEAD=1(b19e19b, poprawka4162a3d): bufory tekstur czytane przez dwa wątki przed submisją.WAIT_ONCE,SLOW_WORKERS,REFRESH_SET,SEND_THREAD: tylko audyt.Wszystkie przełączniki są domyślnie wyłączone. Bez nich ścieżki kodu są takie jak w bazie, poza liniami logu. Przy
READ_AHEADwyłączonym nie startują też jego wątki.Autorstwo: commity przeniesione bez zmian mają oryginalnego autora (D Everett Hinton albo Kemerd). Wyjątek to
6d39c94, który ma w metadanych autora Kemerd, a powinien mieć D Everett Hinton. Sprostowanie jest w audycie.Commit
96f0acbusuwa z tej gałęzi dwa pliki zpl-plus-dev(bez zmian, nadal są napl-plus-dev).Testy
Lokalnie:
cargo clippy --target x86_64-pc-windows-msvc --workspace --all-targets -- -D warningsOK, także z--all-features. Ostatnie pełne CI (run 25,1d0e418) zielone. CI na nowej HEAD w toku.Rollback
Nie ustawiać przełączników. Albo
git revertodpowiedniego commita.Scalanie zostawiam Codexowi po odbiorze wspólnej bazy.
🤖 Generated with Claude Code
https://claude.ai/code/session_01SiiHe46xLWma3psWE1tgae