blob: f9bbc90766f6a26be5836a6ffb5dcc78d03420f1 [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() {
int zeroInt = 0;
int oneInt = int(a);
float zero = float(zeroInt);
float one = float(oneInt);
fragColor = vec4(zero, one, zero, one);
}