summaryrefslogtreecommitdiff
path: root/chromium/third_party/glslang/src/Test/450.geom
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/glslang/src/Test/450.geom')
-rw-r--r--chromium/third_party/glslang/src/Test/450.geom14
1 files changed, 14 insertions, 0 deletions
diff --git a/chromium/third_party/glslang/src/Test/450.geom b/chromium/third_party/glslang/src/Test/450.geom
new file mode 100644
index 00000000000..a74a9f99479
--- /dev/null
+++ b/chromium/third_party/glslang/src/Test/450.geom
@@ -0,0 +1,14 @@
+#version 450 core
+
+in gl_PerVertex {
+ float gl_CullDistance[3];
+} gl_in[];
+
+out gl_PerVertex {
+ float gl_CullDistance[3];
+};
+
+void main()
+{
+ gl_CullDistance[2] = gl_in[1].gl_CullDistance[2];
+}