Skip to content

Commit b078247

Browse files
fixed GpuShader_tests.cpp
(131071U / 4096U) + 1 = 32 Signed-off-by: Hannes Vernooij <[email protected]>
1 parent 730e315 commit b078247

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: tests/cpu/GpuShader_tests.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@ float2 ocio_lut1d_0_computePos(float f)
665665
retVal.y = floor(dep / 4095.);
666666
retVal.x = dep - retVal.y * 4095.;
667667
retVal.x = (retVal.x + 0.5) / 4096.;
668-
retVal.y = (retVal.y + 0.5) / 33.;
668+
retVal.y = (retVal.y + 0.5) / 32.;
669669
return retVal;
670670
}
671671
@@ -798,7 +798,7 @@ float2 ocio_lut1d_2_computePos(float f)
798798
retVal.y = floor(dep / 4095.);
799799
retVal.x = dep - retVal.y * 4095.;
800800
retVal.x = (retVal.x + 0.5) / 4096.;
801-
retVal.y = (retVal.y + 0.5) / 33.;
801+
retVal.y = (retVal.y + 0.5) / 32.;
802802
return retVal;
803803
}
804804

0 commit comments

Comments
 (0)