gpu: shaders::cached compiles hostless, like its siblings #401
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!401
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-397"
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-27 16:28 UTC · original
AnastasisKon:vibe/shader-cached-hostless-9e73da→main· +7 −1 · 1 files · 1 commits · merged 2026-11-28 01:34 UTCWhat this changes
f531f279gavecached()no not-windows-not-macos fallback, so a hostless build ofvictory-gpu— the Linux suite inCONTRIBUTING.md, and every contributor's gate — fails oncrate::shader_cache, a module that is cfg'd to Windows and macOS. Its siblingsextra_cachedandtargets_cachedkeep afalsefallback;cached()now has the same one, so a hostless build compiles and answers "not cached".No issue claimed for this one: it is a one-line gate repair found while building without the native host. I will open an issue and link it if you would rather have one.
How it was tested
cargo test --target x86_64-apple-darwin -p victory-hle -p victory-loader -p victory: all pass — victory 19, victory-hle 327 plus native_probe 17, victory-loader 29, 0 failed.cargo clippy --workspace --all-targets --locked --target x86_64-pc-windows-gnullvm -- -D warnings: no warnings on this tree.cargo xtask policy: 391 files ok.One caveat for review: the
not(any(windows, macos))arm is compiled by neither this Mac nor CI (Windows), so the hostless build is what exercises it.cargo check --workspaceon a Linux host is the check I cannot run here.Checklist
VICTORY_*variable and documented: none added@Olima34 on GitHub · 2026-11-28 01:34 UTC · original · approved these changes
Check report (helping the maintainer clear the queue):
checkandmacos-scriptsgreen on the current head.shaders::cachedgets the same hostlessfalsefallback as its siblings, sovictory-gpubuilds off Windows and macOS again.226645f9) merged with this PR and the other test/docs/tools PRs we're landing in this batch (#401 #403 #426 #471 #475 #479 #483 #485 #490 #493 #498 #502 #509 #515). On it, thevictory-gpu(arm64),victory-shader,victory-backend,victory-metalandvictorytests pass, as do the macOS script tests (rustup-path.sh,run-summary-compare.sh,run-summary.sh --self-test), Windows clippy (-D warnings) andcargo xtask policy. Onevictory-gpurun in four failed main's ownmulti_mip_array_and_placed_depth_twins_preserve_all_subresources_and_remirror_immediately. That test also flakes on main alone, so it isn't from this batch.Thanks @AnastasisKon!