summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/3rdparty/spirv-cross/reference/shaders/vert/invariant.vert
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/bgfx/3rdparty/spirv-cross/reference/shaders/vert/invariant.vert')
-rw-r--r--3rdparty/bgfx/3rdparty/spirv-cross/reference/shaders/vert/invariant.vert19
1 files changed, 19 insertions, 0 deletions
diff --git a/3rdparty/bgfx/3rdparty/spirv-cross/reference/shaders/vert/invariant.vert b/3rdparty/bgfx/3rdparty/spirv-cross/reference/shaders/vert/invariant.vert
new file mode 100644
index 00000000000..648ea2947c9
--- /dev/null
+++ b/3rdparty/bgfx/3rdparty/spirv-cross/reference/shaders/vert/invariant.vert
@@ -0,0 +1,19 @@
+#version 310 es
+
+invariant gl_Position;
+
+layout(location = 0) in vec4 vInput0;
+layout(location = 1) in vec4 vInput1;
+layout(location = 2) in vec4 vInput2;
+layout(location = 0) invariant out vec4 vColor;
+
+void main()
+{
+ vec4 _20 = vInput1 * vInput2;
+ vec4 _21 = vInput0 + _20;
+ gl_Position = _21;
+ vec4 _27 = vInput0 - vInput1;
+ vec4 _29 = _27 * vInput2;
+ vColor = _29;
+}
+