blob: 4c9c44373755297a30888d8114e476b71e973066 [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(fract(a),
// 0.25 + 0.75 = 1.0
fract(a + 1.25) + fract(3.75), 0.0, 1.0);
}