diff options
author | David Robillard <d@drobilla.net> | 2020-04-04 13:36:47 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-04-04 13:36:47 +0200 |
commit | 20fd80c8f20d0d6bda660bd9a273e0c4a78cb9ac (patch) | |
tree | f144e9498a0337bef0d20c9004b024e26a9d2b32 /shaders/rect.vert | |
parent | 11800b6179458eb962cd1862e4053efd7f28c2f4 (diff) | |
download | pugl-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.vert | 6 |
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() |