From f4b201b2cf9477e4a028fcb818258444f99176dc Mon Sep 17 00:00:00 2001 From: Hannes Vernooij Date: Fri, 17 Nov 2023 16:25:00 +0100 Subject: [PATCH] fixed GpuShader_tests.cpp (131071U / 4096U) + 1 = 32 Signed-off-by: Hannes Vernooij --- tests/cpu/GpuShader_tests.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/cpu/GpuShader_tests.cpp b/tests/cpu/GpuShader_tests.cpp index fa01fef1c2..8a4db962c9 100644 --- a/tests/cpu/GpuShader_tests.cpp +++ b/tests/cpu/GpuShader_tests.cpp @@ -665,7 +665,7 @@ float2 ocio_lut1d_0_computePos(float f) retVal.y = floor(dep / 4095.); retVal.x = dep - retVal.y * 4095.; retVal.x = (retVal.x + 0.5) / 4096.; - retVal.y = (retVal.y + 0.5) / 33.; + retVal.y = (retVal.y + 0.5) / 32.; return retVal; } @@ -798,7 +798,7 @@ float2 ocio_lut1d_2_computePos(float f) retVal.y = floor(dep / 4095.); retVal.x = dep - retVal.y * 4095.; retVal.x = (retVal.x + 0.5) / 4096.; - retVal.y = (retVal.y + 0.5) / 33.; + retVal.y = (retVal.y + 0.5) / 32.; return retVal; }