bgfx/3rdparty/glslang/Test/spv.arbPostDepthCoverage.frag
Branimir Karadžić bdea8d2ce6 Updated glslang.
2017-07-07 21:19:36 -07:00

14 lines
418 B
GLSL

#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];
}