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