gpu(native): make described graphics pipelines that read title memory #599
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by AnastasisKon on 2026-11-28T11:31:43Z.
What 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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.