amd_fidelityfx_loader_xbox: add AMD FidelityFX console loader shim crate #356
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from omonkeyz/xbox-emulator. Originally posted by FilimonEnc on 2026-11-24T05:43:17Z.
Adds the crates/compat/amd_fidelityfx_loader_xbox crate:
Imported from omonkeyz/xbox-emulator. Originally posted by omonkeyz on 2026-11-25T13:51:42Z.
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?
Imported from omonkeyz/xbox-emulator. Originally posted by FilimonEnc on 2026-11-25T15:41:35Z.
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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.