Fix epsilon check being too strict for equality depth checks

This commit is contained in:
baldurk
2026-08-24 21:52:31 +01:00
parent a87c93bf0b
commit 08d6492dc6
+2 -2
View File
@@ -3201,12 +3201,12 @@ This is primarily used internally and should not be needed to be called external
if(depthBits == 24)
{
shadDepth = float(uint32_t(float(shadDepth * 0xffffff))) / float(0xffffff);
eps = float(1.0f) / float(0xffffff);
eps = float(1.5f) / float(0xffffff);
}
else if(depthBits == 16)
{
shadDepth = float(uint32_t(float(shadDepth * 0xffff))) / float(0xffff);
eps = float(1.0f) / float(0xffff);
eps = float(1.5f) / float(0xffff);
}
bool passed = true;