blob: cb8850b79517320ecf006dec24f7d808d6f76543 [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;
} vert_info;
in vec2 position;
in vec2 uv;
out vec2 v_uv;
out vec2 v_position;
void main() {
gl_Position = vert_info.mvp * vec4(position, 0.0, 1.0);
v_uv = uv;
v_position = IPVec2TransformPosition(vert_info.mvp, position);
}