blob: c5cb2a3c4a97ba91de5eddaba2e39556c7f20899 [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/types.glsl>
uniform FrameInfo {
mat4 mvp;
float depth;
}
frame_info;
in vec2 position;
void main() {
gl_Position = frame_info.mvp * vec4(position, 0.0, 1.0);
gl_Position.z = frame_info.depth;
}