blob: 303936eec685e8b1870b2582bd15b7a7e6519dc0 [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.
uniform FrameInfo {
mat4 mvp;
float alpha;
} frame_info;
in vec2 vertices;
in vec2 texture_coords;
out vec2 v_texture_coords;
out float v_alpha;
void main() {
gl_Position = frame_info.mvp * vec4(vertices, 0.0, 1.0);
v_texture_coords = texture_coords;
v_alpha = frame_info.alpha;
}