blob: 55e7fd2eb032ce086e2cd3aa0f6ddb5e9d9aae0c [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() {
if (a != 0.0 && a == 1.0) {
fragColor = vec4(0.0, 1.0, 0.0, 1.0);
} else {
fragColor = vec4(0.0, 0.0, 0.0, 1.0);
}
}