gtk2/gsk/resources/glsl/gl3_common.vs.glsl
Emmanuele Bassi 28b490f14f gsk: Rework how GLSL shaders are built
The GL renderer should build the GLSL shaders using GskShaderBuilder.
This allows us to separate the common parts into separate files, and
assemble them as necessary, instead of shipping one big shader per type
of GL API (GL3, GL legacy, and GLES).
2016-10-18 11:49:07 +01:00

8 lines
85 B
GLSL

uniform mat4 mvp;
uniform float alpha;
in vec2 position;
in vec2 uv;
out vec2 vUv;