Files
Megapixels/data/blit.vert
Benjamin Schaaf 772db36877 Make clang-format more aggressive
clang-format always manages to mix spaces into tab-based indentation.
Since we already require an exact tab-width of 8 it makes more sense to
use spaces.
2021-11-13 00:06:11 +11:00

19 lines
236 B
GLSL

#ifdef GL_ES
precision mediump float;
#endif
attribute vec2 vert;
attribute vec2 tex_coord;
uniform mat3 transform;
varying vec2 uv;
void
main()
{
uv = tex_coord;
gl_Position = vec4(transform * vec3(vert, 1), 1);
}