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; }