diff options
Diffstat (limited to '3rdparty/bgfx/3rdparty/glslang/Test/150.vert')
-rw-r--r-- | 3rdparty/bgfx/3rdparty/glslang/Test/150.vert | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/3rdparty/bgfx/3rdparty/glslang/Test/150.vert b/3rdparty/bgfx/3rdparty/glslang/Test/150.vert new file mode 100644 index 00000000000..8e1db4dd8b2 --- /dev/null +++ b/3rdparty/bgfx/3rdparty/glslang/Test/150.vert @@ -0,0 +1,25 @@ +#version 150 core
+
+in vec4 iv4;
+
+uniform float ps;
+
+invariant gl_Position;
+
+void main()
+{
+ gl_Position = iv4;
+ gl_PointSize = ps;
+ gl_ClipDistance[2] = iv4.x;
+ gl_ClipVertex = iv4;
+}
+
+out float gl_ClipDistance[4];
+
+uniform foob {
+ int a[];
+};
+int a[5]; // ERROR, resizing user-block member
+
+#line 3000
+#error line of this error should be 3001
|