Stream the launcher executable into the preload hash #4915
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!4915
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-4914"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@andrewpozdnakov7-jpg on GitHub · 2026-12-01 13:43 UTC · original
andrewpozdnakov7-jpg:codex2/fix/stream-launcher-hash→main· +3 −2 · 1 files · 1 commits · openWhat it changes
Startup hashes the launcher executable to find its shader preload marker. Reading the whole file into a
Vectemporarily allocates a buffer the size of the executable. This change feeds the file to the same BLAKE3 hash in chunks and keeps the same marker path.How it was tested
mark_pathfrom main5fabb46eand fromeb5525d6437aab6794df83101f06ee45c0c24bb3. Releasee1251c31has the same baseline function.Nonein both versions.cargo xtask policy --stagedaccepted the one changed file.Checked for overlap
play.rs. Related startup work in #4486, #4889 and #4908 combines cleanly with this patch ingit merge-tree.Please retain the Git author on cherry-pick or rebase, or add
Co-authored-by: andrewpozdnakov7-jpg <[email protected]>if folding the change into another commit.AI-assisted with OpenAI Codex.
[pr-performance][startup] Stream the launcher executable into the preload hashto Stream the launcher executable into the preload hashView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.