summaryrefslogtreecommitdiffstats
path: root/tests/python_build/fixtures/rd_glsl/vertex_fragment.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/python_build/fixtures/rd_glsl/vertex_fragment.glsl')
-rw-r--r--tests/python_build/fixtures/rd_glsl/vertex_fragment.glsl25
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/python_build/fixtures/rd_glsl/vertex_fragment.glsl b/tests/python_build/fixtures/rd_glsl/vertex_fragment.glsl
new file mode 100644
index 0000000000..27be08a857
--- /dev/null
+++ b/tests/python_build/fixtures/rd_glsl/vertex_fragment.glsl
@@ -0,0 +1,25 @@
+#[vertex]
+
+#version 450
+
+#VERSION_DEFINES
+
+#include "_included.glsl"
+
+layout(location = 0) out vec2 uv_interp;
+
+void main() {
+ uv_interp = vec2(0, 1);
+}
+
+#[fragment]
+
+#version 450
+
+#VERSION_DEFINES
+
+layout(location = 0) in vec2 uv_interp;
+
+void main() {
+ uv_interp = vec2(1, 0);
+}