FidelityFX-SDK
FidelityFX-SDK copied to clipboard
UE Plugin for FSR3 3.1.3: SRV Names static array missing comma in FI Shaders
Files in question are
FSR3\Source\FFXFrameInterpolation\Private\FFXRHIBackendFIGameMotionVectorField.cpp and FSR3\Source\FFXFrameInterpolation\Private\FFXRHIBackendFIDebugViewPass.cpp
Both are missing a comma in the static c array definition, resulting in an unsafe memory access outside of the array. This only seems to be a silent bug on MSVC because the next static c array is allocated contiguously in memory. On other compilers or other optimization settings it might be a fatal error.
Screenshots
And the resulting state from a debugger: