aboutsummaryrefslogtreecommitdiffstats
path: root/shaders/rect.vert
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-04-04 13:36:47 +0200
committerDavid Robillard <d@drobilla.net>2020-04-04 13:36:47 +0200
commit20fd80c8f20d0d6bda660bd9a273e0c4a78cb9ac (patch)
treef144e9498a0337bef0d20c9004b024e26a9d2b32 /shaders/rect.vert
parent11800b6179458eb962cd1862e4053efd7f28c2f4 (diff)
downloadpugl-20fd80c8f20d0d6bda660bd9a273e0c4a78cb9ac.tar.gz
pugl-20fd80c8f20d0d6bda660bd9a273e0c4a78cb9ac.tar.bz2
pugl-20fd80c8f20d0d6bda660bd9a273e0c4a78cb9ac.zip
Shader Demo: Support both GL 3 and 4
Diffstat (limited to 'shaders/rect.vert')
-rw-r--r--shaders/rect.vert6
1 files changed, 3 insertions, 3 deletions
diff --git a/shaders/rect.vert b/shaders/rect.vert
index ef8c8cc..09f1917 100644
--- a/shaders/rect.vert
+++ b/shaders/rect.vert
@@ -11,9 +11,9 @@ layout(location = 1) in vec2 v_origin;
layout(location = 2) in vec2 v_size;
layout(location = 3) in vec4 v_fillColor;
-noperspective out vec2 f_uv;
-noperspective out vec2 f_size;
-noperspective out vec4 f_fillColor;
+INTER(location = 0) noperspective out vec2 f_uv;
+INTER(location = 1) noperspective out vec2 f_size;
+INTER(location = 2) noperspective out vec4 f_fillColor;
void
main()