From cfc467bbc40535460f0aad3f335f42dd01796f86 Mon Sep 17 00:00:00 2001 From: Jake Turner Date: Tue, 7 Oct 2025 13:32:03 +0100 Subject: [PATCH] Increase SRGB <-> Linear test tolerance to 6ULP MacOS14 LLVM version needed this increase --- renderdoc/maths/formatpacking.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renderdoc/maths/formatpacking.cpp b/renderdoc/maths/formatpacking.cpp index c711eef9f..cb4c2272e 100644 --- a/renderdoc/maths/formatpacking.cpp +++ b/renderdoc/maths/formatpacking.cpp @@ -1349,7 +1349,7 @@ TEST_CASE("Check format conversion", "[format]") INFO(a); INFO(c); - CHECK(fabs(a - c) <= fabs(a * 3.0f * FLT_EPSILON)); + CHECK(fabs(a - c) <= fabs(a * 6.0f * FLT_EPSILON)); if(i == UINT16_MAX) break;