mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 03:10:09 +00:00
55537cccbd
Having the shaders inlined as C strings makes them harder to edit and maintain.
14 lines
172 B
GLSL
14 lines
172 B
GLSL
#version 150
|
|
|
|
uniform sampler2DRect map;
|
|
|
|
attribute vec2 position;
|
|
attribute vec2 uv;
|
|
|
|
varying vec2 vUv;
|
|
|
|
void main() {
|
|
gl_Position = vec4(position, 0, 1);
|
|
vUv = uv;
|
|
}
|