When replacing the amd_fidelityfx_dx12.dll from Ghost of Tsushima (it ships FSR4.0.0) with the (renamed) amd_fidelityfx_upscaler_dx12.dll from the FidelityFX-SDK 2.1.0, it crashes with this log output:
20307.052:0134:0138:err:vkd3d-proton:vkd3d_dxil_log_callback: dxil-spirv: Unsupported AGS magic instruction 0x35 (immediate 256). 20307.052:0134:0138:err:vkd3d-proton:vkd3d_dxil_log_callback: dxil-spirv: Failed DXIL opcode 79. 20307.052:0134:0138:err:vkd3d-proton:vkd3d_dxil_log_callback: dxil-spirv: Failed to emit instruction. 20307.052:0134:0138:err:vkd3d-proton:vkd3d_dxil_log_callback: dxil-spirv: Failed to convert function.
Replacing the dll with the one from the FidelityFX-SDK 2.0.0 that comes with FSR4.0.2 works fine.
Ghost of Tsushima and probably all other games using the amd_fidelityfx_upscaler_dx12.dll from the FidelityFX-SDK 2.1.0
steam-2215430.zip
shader dump: fsr.zip
AmdExtD3DShaderIntrinsicsOpcode_MatrixElementWiseArithmetic = 0x35. Shouldn't be too hard to add I guess.
AmdExtD3DShaderIntrinsicsOpcode_MatrixElementWiseArithmetic = 0x35
Seems to work fine with #2755, also with Optiscaler in other games and even seems to shave off 0.1 ms from the upscaler time, thanks.
amd_fidelityfx_dx12.dll
amd_fidelityfx_upscaler_dx12.dll
When replacing the amd_fidelityfx_dx12.dll from Ghost of Tsushima (it ships FSR4.0.0) with the (renamed) amd_fidelityfx_upscaler_dx12.dll from the FidelityFX-SDK 2.1.0, it crashes with this log output:
Replacing the dll with the one from the FidelityFX-SDK 2.0.0 that comes with FSR4.0.2 works fine.
Software information
Ghost of Tsushima and probably all other games using the amd_fidelityfx_upscaler_dx12.dll from the FidelityFX-SDK 2.1.0
System information
Log files
steam-2215430.zip
shader dump: fsr.zip