summaryrefslogtreecommitdiff
path: root/src/qcam/assets/shader/NV_vertex_shader.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'src/qcam/assets/shader/NV_vertex_shader.glsl')
-rw-r--r--src/qcam/assets/shader/NV_vertex_shader.glsl16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/qcam/assets/shader/NV_vertex_shader.glsl b/src/qcam/assets/shader/NV_vertex_shader.glsl
new file mode 100644
index 00000000..12e791e3
--- /dev/null
+++ b/src/qcam/assets/shader/NV_vertex_shader.glsl
@@ -0,0 +1,16 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+/*
+ * Copyright (C) 2020, Linaro
+ *
+ * NV_vertex_shader.glsl - Vertex shader code for NV family
+ */
+
+attribute vec4 vertexIn;
+attribute vec2 textureIn;
+varying vec2 textureOut;
+
+void main(void)
+{
+ gl_Position = vertexIn;
+ textureOut = textureIn;
+}