mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
10 lines
179 B
GLSL
10 lines
179 B
GLSL
|
|
uniform mat3 proj;
|
||
|
|
attribute vec2 pos;
|
||
|
|
attribute vec2 texcoord;
|
||
|
|
varying vec2 v_texcoord;
|
||
|
|
|
||
|
|
void main() {
|
||
|
|
gl_Position = vec4(proj * vec3(pos, 1.0), 1.0);
|
||
|
|
v_texcoord = texcoord;
|
||
|
|
}
|