Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2c46af8e authored by Alec Mouri's avatar Alec Mouri
Browse files

Remove clamp from InputTransform...

...otherwise we clamp XYZ values between 0 and 1, which tends to make
blues less blue.

Bug: 351240530
Flag: EXEMPT bug fix
Test: Files app
Change-Id: I994ebd1a9de4f70e19e2e462949694306d84e1ec
parent 6e7873a7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -683,7 +683,7 @@ String8 ProgramCache::generateFragmentShader(const Key& needs) {
            fs << "uniform mat4 inputTransformMatrix;";
            fs << R"__SHADER__(
                highp vec3 InputTransform(const highp vec3 color) {
                    return clamp(vec3(inputTransformMatrix * vec4(color, 1.0)), 0.0, 1.0);
                    return vec3(inputTransformMatrix * vec4(color, 1.0));
                }
            )__SHADER__";
        } else {