Shaders: translate the title's FidelityFX upscaler programs (FSPX images) #258
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork!258
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-258"
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?
@Ortomanic on GitHub · 2026-11-24 23:01 UTC · original
Ortomanic:fx/fspx-upscaler→main· +721 −32 · 11 files · 9 commits · openChanges
The title's FidelityFX upscaler keeps its compute programs in
FSPXimages inside the container, with noDXILpart. They failed withmalformed shader: no DXIL partand their dispatches were dropped, so the upscaled scene was never written.FSPXimage is read as a native program (victory_shader::program_part, newfspx.rs).v_dot4_*asDot4AddPacked,v_pk_fmac_f16,src_sccas an operand,s_bfm_b32/s_mov_b64literals in descriptor constants, image atomics with 16-bit coordinates, partial-channel image stores, raw views of a loaded buffer descriptor, andv_readlane_b32at constant lanes after a whole-wave section.Programs outside the upscaler are not affected by the first commit. This is the title's own upscaler running as translated code, so it is independent of #86 (a PC FSR path) and of #188 (a plain stretch for the dispatch); either can sit beside it.
Validation
no DXIL part. After: none, and the upscaler's dispatches run.FSPXprograms, 23 translate on plain upstreamffe310ewith this series; all that translate convert with dxil-spirv. On this fork three more still refuse on a 32-lane host because they need a 64-lane form.cargo clippy --workspace --all-targets --locked -- -D warningsfor the Windows target, with and without--all-features, andcargo test -p victory-shader -p xtaskpass on this branch (cross-compiled from Linux with the pinned toolchain). Four unit tests are added.AI-assisted patch with local build and runtime validation.
View 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.