FidelityFX-SDK icon indicating copy to clipboard operation
FidelityFX-SDK copied to clipboard

UE Plugin for FSR3 3.1.3: SRV Names static array missing comma in FI Shaders

Open kaloyanpenev opened this issue 9 months ago • 0 comments

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

Image

Image

And the resulting state from a debugger: Image

kaloyanpenev avatar Feb 26 '25 12:02 kaloyanpenev