2019-07-11 03:42:39 +00:00
|
|
|
#version 450
|
2019-08-03 02:02:05 +00:00
|
|
|
#if defined(GL_ARB_post_depth_coverge)
|
2019-07-11 03:42:39 +00:00
|
|
|
#extension GL_ARB_post_depth_coverage : require
|
2019-08-03 02:02:05 +00:00
|
|
|
#else
|
|
|
|
#extension GL_EXT_post_depth_coverage : require
|
|
|
|
#endif
|
2019-07-11 03:42:39 +00:00
|
|
|
layout(early_fragment_tests, post_depth_coverage) in;
|
|
|
|
|
|
|
|
layout(location = 0) out vec4 FragColor;
|
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
|
|
|
FragColor = vec4(float(gl_SampleMaskIn[0]));
|
|
|
|
}
|
|
|
|
|