summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/3rdparty/spirv-cross/shaders-msl/frag/depth-greater-than.frag
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/bgfx/3rdparty/spirv-cross/shaders-msl/frag/depth-greater-than.frag')
-rw-r--r--3rdparty/bgfx/3rdparty/spirv-cross/shaders-msl/frag/depth-greater-than.frag7
1 files changed, 7 insertions, 0 deletions
diff --git a/3rdparty/bgfx/3rdparty/spirv-cross/shaders-msl/frag/depth-greater-than.frag b/3rdparty/bgfx/3rdparty/spirv-cross/shaders-msl/frag/depth-greater-than.frag
new file mode 100644
index 00000000000..8dcbcfdb4a4
--- /dev/null
+++ b/3rdparty/bgfx/3rdparty/spirv-cross/shaders-msl/frag/depth-greater-than.frag
@@ -0,0 +1,7 @@
+#version 450
+layout(depth_greater) out float gl_FragDepth;
+
+void main()
+{
+ gl_FragDepth = 0.5;
+}