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

Commit 5ea461ca authored by Derek Sollenberger's avatar Derek Sollenberger
Browse files

Update shader declarations to use 'uniform' instead of 'in'

Bug: 184822190
Test: atest librenderengine_test
Change-Id: I6d808885522f3c9ff2a1fe3340f08c2dabafd771
parent 667ddf53
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -390,7 +390,7 @@ static void generateOETF(ui::Dataspace dataspace, SkString& shader) {

static void generateEffectiveOOTF(bool undoPremultipliedAlpha, SkString& shader) {
    shader.append(R"(
        in shader input;
        uniform shader input;
        half4 main(float2 xy) {
            float4 c = float4(sample(input, xy));
    )");