Debian Codegraph @

third_party/spirv-cross/reference/shaders/asm/frag/unknown-depth-state.asm.vk.frag

raw
1 #version 450
2
3 layout(binding = 0) uniform sampler2DShadow uShadow;
4 uniform sampler2DShadow SPIRV_Cross_CombineduTextureuSampler;
5
6 layout(location = 0) in vec3 vUV;
7 layout(location = 0) out float FragColor;
8
9 float sample_combined()
10 {
11 return texture(uShadow, vec3(vUV.xy, vUV.z));
12 }
13
14 float sample_separate()
15 {
16 return texture(SPIRV_Cross_CombineduTextureuSampler, vec3(vUV.xy, vUV.z));
17 }
18
19 void main()
20 {
21 FragColor = sample_combined() + sample_separate();
22 }
23