gtk2/gsk/resources/glsl/gl3_common.vs.glsl
Emmanuele Bassi 03ab560fae gsk: Rename uniforms and attributes in shaders
Use appropriate names, and annotate the names with the types — 'u' for
uniforms, 'a' for attributes. The common preambles for shaders are split
from the bodies, so we need some way to distinguish the uniforms and the
attributes just from their name.
2016-10-18 11:49:09 +01:00

7 lines
67 B
GLSL

uniform mat4 uMVP;
in vec2 aPosition;
in vec2 aUv;
out vec2 vUv;