summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/glslang/src/Test/spv.depthOut.frag
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/glslang/src/Test/spv.depthOut.frag')
-rw-r--r--chromium/third_party/glslang/src/Test/spv.depthOut.frag11
1 files changed, 11 insertions, 0 deletions
diff --git a/chromium/third_party/glslang/src/Test/spv.depthOut.frag b/chromium/third_party/glslang/src/Test/spv.depthOut.frag
new file mode 100644
index 00000000000..d90fc0f8cd2
--- /dev/null
+++ b/chromium/third_party/glslang/src/Test/spv.depthOut.frag
@@ -0,0 +1,11 @@
+#version 450
+
+in vec4 Color;
+in float Depth;
+
+layout(depth_greater) out float gl_FragDepth;
+
+void main()
+{
+ gl_FragDepth = Depth;
+}