summaryrefslogtreecommitdiff
path: root/assets/shaders/triangle.vert
diff options
context:
space:
mode:
Diffstat (limited to 'assets/shaders/triangle.vert')
-rw-r--r--assets/shaders/triangle.vert8
1 files changed, 8 insertions, 0 deletions
diff --git a/assets/shaders/triangle.vert b/assets/shaders/triangle.vert
new file mode 100644
index 0000000..0518c62
--- /dev/null
+++ b/assets/shaders/triangle.vert
@@ -0,0 +1,8 @@
+#version 450
+#extension GL_ARB_separate_shader_objects : enable
+
+layout(location = 0) in vec3 in_position;
+
+void main() {
+ gl_Position = vec4(in_position, 1.0);
+} \ No newline at end of file