summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/3rdparty/glslang/Test/spv.300BuiltIns.vert
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/bgfx/3rdparty/glslang/Test/spv.300BuiltIns.vert')
-rw-r--r--3rdparty/bgfx/3rdparty/glslang/Test/spv.300BuiltIns.vert14
1 files changed, 14 insertions, 0 deletions
diff --git a/3rdparty/bgfx/3rdparty/glslang/Test/spv.300BuiltIns.vert b/3rdparty/bgfx/3rdparty/glslang/Test/spv.300BuiltIns.vert
new file mode 100644
index 00000000000..46c3f0fedbb
--- /dev/null
+++ b/3rdparty/bgfx/3rdparty/glslang/Test/spv.300BuiltIns.vert
@@ -0,0 +1,14 @@
+#version 310 es
+
+in mediump float ps;
+
+invariant gl_Position;
+
+void main()
+{
+ gl_Position = vec4(ps);
+ gl_Position *= float(4 - gl_VertexIndex);
+
+ gl_PointSize = ps;
+ gl_PointSize *= float(5 - gl_InstanceIndex);
+}