PotatoOfDoom / CyberFSR2

FidelityFx Super Resolution 2.0 for Cyberpunk
MIT License
620 stars 67 forks source link

Null checks for exposureTexture and inputBiasColorMask #26

Closed nikviktorovich closed 2 years ago

nikviktorovich commented 2 years ago

nullptr checks for exposureTexture and inputBiasColorMask to prevent dereferencing of null pointers during passing parameters to ffxGetTextureResourceVK, which leads to some Vulkan game crashes (in particular, No Man's Sky and Baldur's Gate III as reported by @TheRazerMD)

nikviktorovich commented 2 years ago

Fixed by author, thank you!