Shaders: translate the title's FidelityFX upscaler programs (FSPX images) #258
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from fxceless/victory-fork. Originally posted by Ortomanic on 2026-11-24T23:01:59Z.
Changes
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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.