Skip to content

shaders/colorspace: fix linear GLSL implementation

Niklas Haas requested to merge icc_fixes into master

This code never clipped the values, which resulted in inconsistent behavior with the LUT version it was supposed to be replacing. As an added bonus, I realized I can also easily implement parity with the gain parameter.

Fixes: https://github.com/mpv-player/mpv/issues/11452

Merge request reports

Loading