diff options
Diffstat (limited to '3rdparty/bgfx/3rdparty/glslang/Test/spv.arbPostDepthCoverage.frag')
-rw-r--r-- | 3rdparty/bgfx/3rdparty/glslang/Test/spv.arbPostDepthCoverage.frag | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/3rdparty/bgfx/3rdparty/glslang/Test/spv.arbPostDepthCoverage.frag b/3rdparty/bgfx/3rdparty/glslang/Test/spv.arbPostDepthCoverage.frag new file mode 100644 index 00000000000..03b61cb5ea4 --- /dev/null +++ b/3rdparty/bgfx/3rdparty/glslang/Test/spv.arbPostDepthCoverage.frag @@ -0,0 +1,13 @@ +#version 450
+
+#extension GL_ARB_post_depth_coverage : enable
+#extension GL_EXT_post_depth_coverage : enable //according to ARB_post_depth_coverage,
+ //if both enabled, this one should be ignored
+precision highp int;
+layout(post_depth_coverage) in;
+
+layout (location = 0) out int readSampleMaskIn;
+
+void main () {
+ readSampleMaskIn = gl_SampleMaskIn[0];
+}
|