Debian Codegraph @

third_party/spirv-cross/reference/opt/shaders/frag/post-depth-coverage-es.frag

raw
1 #version 310 es
2 #extension GL_EXT_post_depth_coverage : require
3 #extension GL_OES_sample_variables : require
4 precision mediump float;
5 precision highp int;
6 layout(early_fragment_tests, post_depth_coverage) in;
7
8 layout(location = 0) out vec4 FragColor;
9
10 void main()
11 {
12 FragColor = vec4(float(gl_SampleMaskIn[0]));
13 }
14