diff --git a/renderdoc/api/replay/data_types.h b/renderdoc/api/replay/data_types.h index baba98e3d..619b6a8a3 100644 --- a/renderdoc/api/replay/data_types.h +++ b/renderdoc/api/replay/data_types.h @@ -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;