1#version 450 2 3#extension GL_ARB_post_depth_coverage : enable 4#extension GL_EXT_post_depth_coverage : enable //according to ARB_post_depth_coverage, 5 //if both enabled, this one should be ignored 6precision highp int; 7layout(post_depth_coverage) in; 8 9layout (location = 0) out int readSampleMaskIn; 10 11void main () { 12 readSampleMaskIn = gl_SampleMaskIn[0]; 13} 14