FidelityFX-SDK
FidelityFX-SDK copied to clipboard
Optical flow scheduleDispatch unused parameter.
Hello, pipelineName in scheduleDispatch is not used.
https://github.com/GPUOpen-LibrariesAndSDKs/FidelityFX-SDK/blob/a0632abf1350bb64c098573d84c42f053f053a6e/sdk/src/components/opticalflow/ffx_opticalflow.cpp#L465
The worst part is that it's a std::string so it allocates memory at runtime even when passing a static name. I haven't checked if the whole string construction is optimized out in release.
Same problem is not present in other component like FrameInterpolator or Fsr3 upscaler.
I've cleaned this up locally. Will be pushed out with the next version of the SDK. Thanks.