blob: 61f476c7c54cadcfc4384956965d30e77ac42c9e [file] [log] [blame]
#version 320 es
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
precision highp float;
layout(location = 0) out vec4 fragColor;
layout(location = 0) uniform float a;
void main() {
fragColor = vec4(
0.0,
// e^0.0 = 1.0
exp(a * 0.0),
0.0,
// e^2.0 - 6.38905609893 = 7.38905609893 - 6.38905609893 = 1.0
exp(a * 2.0) - 6.38905609893
);
}