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

ffx_frameinterpolation expects currentBackBuffer and currentBackBuffer_HUDLess to be identical formats

Open Nukem9 opened this issue 1 year ago • 1 comments

Feature request.

Code asserts that currentBackBuffer and currentBackBuffer_HUDLess inputs are identical formats. I believe this isn't necessary as long as the two formats are within the same type group. None of the upscaling/fi shader code appears to rely on this assumption. (Possibly leftover code from raster -> compute refactoring?)

There's one caveat: the previous interpolation source texture is created using the back buffer's format and down the line CopyTextureRegion(prevInterpSource, inputHUDLess) gets called. Different types aren't guaranteed to be copyable.

Nukem9 avatar Jan 08 '24 20:01 Nukem9

Attempted fix: https://github.com/GPUOpen-LibrariesAndSDKs/FidelityFX-SDK/pull/56

Filoppi avatar Feb 25 '24 13:02 Filoppi