amd_fidelityfx_loader_xbox: add AMD FidelityFX console loader shim crate #356
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
library
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/omonkeyz--xbox-emulator!356
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-356"
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?
@FilimonEnc on GitHub · 2026-11-24 05:43 UTC · original
FilimonEnc:feat/compat-amd-fidelityfx-loader-xbox→main· +130 −0 · 8 files · 2 commits · openAdds the crates/compat/amd_fidelityfx_loader_xbox crate:
@omonkeyz on GitHub · 2026-11-25 13:51 UTC · original
Thanks. ffxDispatch and ffxQuery return FFX_OK without running or answering anything, and ffxCreateContext returns a placeholder context, while exports.txt marks them implemented. The project does not take accept-and-drop shims. Could you implement them (for example by forwarding to the PC FidelityFX API or a real upscale path), or return an error code and mark the rows with their true status?
@FilimonEnc on GitHub · 2026-11-25 15:41 UTC · original
Updated to fail honestly without a PC FidelityFX backend:
ffxCreateContext now sets *context = null and returns FFX_ERROR_BACKEND_API_ERROR (-2) instead of allocating a placeholder context.
ffxDestroyContext, ffxDispatch, and ffxQuery return FFX_ERROR_INVALID_POINTER on null pointers and FFX_ERROR_BACKEND_API_ERROR otherwise instead of returning FFX_OK.
Marked all 4 rows as stub in exports.txt and updated unit tests accordingly (cargo test -p amd_fidelityfx_loader_xbox and pr_gate.py pass).
Provenance: ffxCreateContext, ffxDestroyContext, ffxDispatch, and ffxQuery are imported directly from amd_fidelityfx_loader_xbox.dll in game_scarlett_master.exe's PE import table. Forwarding to a PC FidelityFX backend can be wired in a follow-up once tested against the title's passes.
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.