Debian Codegraph @

third_party/spirv-cross/shaders-hlsl/frag/sample-mask-in.frag

raw
1 #version 450
2
3 layout(location = 0) out vec4 FragColor;
4
5 void main()
6 {
7 if ((gl_SampleMaskIn[0] & (1 << gl_SampleID)) != 0)
8 {
9 FragColor = vec4(1.0);
10 }
11 }