gpu(native): make described graphics pipelines that read title memory #603
No reviewers
Labels
No labels
accessibility
bug
claimed
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
tester report
urgent
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/LakshanSivakumar--Native-Victory-macOS!603
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-599"
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?
@AnastasisKon on GitHub · 2026-11-28 11:31 UTC · original
AnastasisKon:vibe/described-paged-graphics-1705ac→main· +600 −45 · 5 files · 3 commits · openWhat this changes
Removes the gate in
crates/victory-gpu/src/native/shaders.rsthat refused any described graphics pipeline whose shader reads title memory through the page table (reads title memory through the page table in a graphics pipeline), and thememoryparameter that carried it. The page table is bound for every stage (Binding::memory,memory_argsinnative/host.rs), guessed and described, compute and render alike, so the gate had no technical reason. Thedfafaf38/06295fb1pair — the first draw of each frame, dropped asno_pipelineon every frame — now gets a host pipeline. Refs #303How it was tested
cargo test -p victory-gpu— 456 passed, 0 failed;shader_tests::render_pipelines_come_from_the_translated_shaders_and_the_streams_statenow asserts amemory=truevertex shader in a described state is made (Pipe::Render), andshaders_the_host_cannot_run_are_refused_and_countedno longer counts that refusalcargo test --target x86_64-apple-darwin -p victory-gpu --lib shader— 33 passed under Rosettacargo test -p victory-hle -p victory -p victory-gpu -p xtask— all okcargo clippy --workspace --all-targets --locked --target x86_64-pc-windows-gnullvm -- -D warnings— RC=0cargo xtask policy— 404 files okdfafaf38/06295fb1gain a pipelineChecklist
VICTORY_*variable and documented — n/a, a refusal removed, not a switchView 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.