summaryrefslogtreecommitdiffstats
path: root/tests/manual/rhi/tex1d/texture1d.vert
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/rhi/tex1d/texture1d.vert')
-rw-r--r--tests/manual/rhi/tex1d/texture1d.vert14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/manual/rhi/tex1d/texture1d.vert b/tests/manual/rhi/tex1d/texture1d.vert
new file mode 100644
index 0000000000..97cccf8610
--- /dev/null
+++ b/tests/manual/rhi/tex1d/texture1d.vert
@@ -0,0 +1,14 @@
+#version 440
+
+layout(location = 0) in vec4 position;
+layout(location = 1) in vec2 texcoord;
+
+layout(location = 0) out vec2 v_texcoord;
+
+out gl_PerVertex { vec4 gl_Position; };
+
+void main()
+{
+ v_texcoord = texcoord;
+ gl_Position = position;
+}