blob: 9bb4d97ebff6c66ebf4f787ab0765569a215a5ec [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 UniformBuffer {
mat4 mvp;
}
uniform_buffer;
in vec3 position;
in vec4 color;
out vec4 v_color;
void main() {
gl_Position = uniform_buffer.mvp * vec4(position, 1.0);
v_color = color;
}