mirror of
https://git.triforceproject.com/triforce/source
synced 2026-11-21 00:59:59 -04:00
Linux: the AppImage Vulkan back end built with AMD FSR 4
A player's Linux build reuses the AppImage's back end as built, and it was built without HOOKSHOT_FSR=1, so no Linux player could get FSR 4. It offers FSR 4 where the player's own Vulkan FSR 4 library (amd_fidelityfx_upscaler_vk.so) is in the game folder. The v0.6.0 AppImage on the downloads page was replaced with one built this way.
This commit is contained in:
5
scripts/linux/check_player_build.sh
Executable file → Normal file
5
scripts/linux/check_player_build.sh
Executable file → Normal file
@@ -55,6 +55,11 @@ for need in third_party/fidelityfx/api/include/ffx_api.h third_party/fidelityfx/
|
||||
[ -f "$T/$need" ] || { echo "missing: $need (gpu/vk/vk_fsr4.cpp, a build with AMD FSR 4)"; exit 1; }
|
||||
done
|
||||
echo "AMD FSR 4's headers are in it"
|
||||
# ((Triforce) 11-20) and the back end a player's build reuses (HOOKSHOT_VK_PREBUILT) has FSR 4 compiled in: it names the Linux
|
||||
# library it looks for only then (vk_fsr4.cpp kLoader; the stubs do not). Built without it, no Linux player could have FSR 4
|
||||
grep -aq "amd_fidelityfx_upscaler_vk.so" "$R/usr/lib/hookshot/hookshot_vk.so" ||
|
||||
{ echo "usr/lib/hookshot/hookshot_vk.so was built without AMD FSR 4 (scripts/linux/appimage.sh: HOOKSHOT_FSR=1)"; exit 1; }
|
||||
echo "the Vulkan back end has AMD FSR 4"
|
||||
|
||||
echo "== nx2/build.py --standalone --dry-run (as nx2/make_game.py runs it, with no game)"
|
||||
# (-B: no __pycache__ written into the image's tree. make_game.py's other settings: nx2/make_game.py, the compile's run())
|
||||
|
||||
Reference in New Issue
Block a user