wlroots/examples/render-pass-ext/gles2/shaders/triangle.vert

9 lines
135 B
GLSL
Raw Normal View History

2026-03-23 21:09:13 +08:00
attribute vec2 pos;
attribute vec3 color;
varying vec3 v_color;
void main() {
gl_Position = vec4(pos, 0.0, 1.0);
v_color = color;
}