blob: 9b1c5c7bc97724bd7030ec9eeea4638739b70dc3 [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/transform.glsl>
uniform VertInfo {
mat4 mvp;
vec4 color;
} vert_info;
in vec2 position;
out vec4 v_color;
out vec2 v_position;
void main() {
gl_Position = vert_info.mvp * vec4(position, 0.0, 1.0);
v_color = vert_info.color;
v_position = IPVec2TransformPosition(vert_info.mvp, position);
}