summaryrefslogtreecommitdiff
path: root/src/qcam/assets/shader/identity.vert
diff options
context:
space:
mode:
Diffstat (limited to 'src/qcam/assets/shader/identity.vert')
-rw-r--r--src/qcam/assets/shader/identity.vert16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/qcam/assets/shader/identity.vert b/src/qcam/assets/shader/identity.vert
new file mode 100644
index 00000000..6d6f7551
--- /dev/null
+++ b/src/qcam/assets/shader/identity.vert
@@ -0,0 +1,16 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+/*
+ * Copyright (C) 2020, Linaro
+ *
+ * identity.vert - Identity vertex shader for pixel format conversion
+ */
+
+attribute vec4 vertexIn;
+attribute vec2 textureIn;
+varying vec2 textureOut;
+
+void main(void)
+{
+ gl_Position = vertexIn;
+ textureOut = textureIn;
+}