third_party/spirv-cross/reference/opt/shaders/asm/frag/unknown-depth-state.asm.vk.frag.vk
raw| 1 | #version 450 |
| 2 | |
| 3 | layout(set = 0, binding = 0) uniform sampler2DShadow uShadow; |
| 4 | layout(set = 0, binding = 1) uniform texture2D uTexture; |
| 5 | layout(set = 0, binding = 2) uniform samplerShadow uSampler; |
| 6 | |
| 7 | layout(location = 0) in vec3 vUV; |
| 8 | layout(location = 0) out float FragColor; |
| 9 | |
| 10 | void main() |
| 11 | { |
| 12 | FragColor = texture(uShadow, vec3(vUV.xy, vUV.z)) + texture(sampler2DShadow(uTexture, uSampler), vec3(vUV.xy, vUV.z)); |
| 13 | } |
| 14 |