blob: 0c83645eb266c27d2724486232e813c2a47418cb [file] [log] [blame]
// 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.
#include <impeller/texture.glsl>
#include <impeller/types.glsl>
uniform f16sampler2D texture_sampler_src;
uniform FragInfo {
float16_t input_alpha;
}
frag_info;
in vec2 v_texture_coords;
out f16vec4 frag_color;
void main() {
frag_color =
texture(texture_sampler_src, v_texture_coords) * frag_info.input_alpha;
}