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

Use bitwise-and instead of equal-comparison to check if flag is set

Open BoyBaykiller opened this issue 1 year ago • 0 comments

https://github.com/GPUOpen-LibrariesAndSDKs/FidelityFX-SDK/blob/d7531ae47d8b36a5d4025663e731a47a38be882f/sdk/src/backends/vk/ffx_vk.cpp#L1410

In this code == instead of & is used to check if the FFX_RESOURCE_USAGE_DEPTHTARGET bit is set. I believe this should be changed.

BoyBaykiller avatar Feb 24 '24 01:02 BoyBaykiller