third_party/spirv-cross/reference/opt/shaders/asm/frag/hlsl-sample-cmp-level-zero.asm.frag
raw| 1 | #version 450 |
| 2 | |
| 3 | uniform sampler2DArrayShadow SPIRV_Cross_CombinedShadowMapShadowSamplerPCF; |
| 4 | |
| 5 | layout(location = 0) in vec2 texCoords; |
| 6 | layout(location = 1) in float cascadeIndex; |
| 7 | layout(location = 2) in float fragDepth; |
| 8 | layout(location = 0) out vec4 _entryPointOutput; |
| 9 | |
| 10 | void main() |
| 11 | { |
| 12 | _entryPointOutput = vec4(textureGrad(SPIRV_Cross_CombinedShadowMapShadowSamplerPCF, vec4(vec4(texCoords, cascadeIndex, fragDepth).xyz, fragDepth), vec2(0.0), vec2(0.0))); |
| 13 | } |
| 14 |