1spv.ext.textureShadowLod.frag 2// Module Version 10000 3// Generated by (magic number): 8000b 4// Id's are bound by 55 5 6 Capability Shader 7 Capability SampledCubeArray 8 1: ExtInstImport "GLSL.std.450" 9 MemoryModel Logical GLSL450 10 EntryPoint Fragment 4 "main" 8 16 11 ExecutionMode 4 OriginUpperLeft 12 Source GLSL 450 13 SourceExtension "GL_EXT_texture_shadow_lod" 14 Name 4 "main" 15 Name 8 "c" 16 Name 12 "s2da" 17 Name 16 "tc" 18 Name 24 "sca" 19 Name 43 "sc" 20 Decorate 8(c) Location 0 21 Decorate 12(s2da) Binding 0 22 Decorate 12(s2da) DescriptorSet 0 23 Decorate 16(tc) Location 0 24 Decorate 24(sca) Binding 1 25 Decorate 24(sca) DescriptorSet 0 26 Decorate 43(sc) Binding 2 27 Decorate 43(sc) DescriptorSet 0 28 2: TypeVoid 29 3: TypeFunction 2 30 6: TypeFloat 32 31 7: TypePointer Output 6(float) 32 8(c): 7(ptr) Variable Output 33 9: TypeImage 6(float) 2D depth array sampled format:Unknown 34 10: TypeSampledImage 9 35 11: TypePointer UniformConstant 10 36 12(s2da): 11(ptr) Variable UniformConstant 37 14: TypeVector 6(float) 4 38 15: TypePointer Input 14(fvec4) 39 16(tc): 15(ptr) Variable Input 40 18: 6(float) Constant 0 41 21: TypeImage 6(float) Cube depth array sampled format:Unknown 42 22: TypeSampledImage 21 43 23: TypePointer UniformConstant 22 44 24(sca): 23(ptr) Variable UniformConstant 45 30: TypeInt 32 1 46 31: TypeVector 30(int) 2 47 32: 30(int) Constant 0 48 33: 31(ivec2) ConstantComposite 32 32 49 40: TypeImage 6(float) Cube depth sampled format:Unknown 50 41: TypeSampledImage 40 51 42: TypePointer UniformConstant 41 52 43(sc): 42(ptr) Variable UniformConstant 53 4(main): 2 Function None 3 54 5: Label 55 13: 10 Load 12(s2da) 56 17: 14(fvec4) Load 16(tc) 57 19: 6(float) CompositeExtract 17 3 58 20: 6(float) ImageSampleDrefImplicitLod 13 17 19 Bias 18 59 Store 8(c) 20 60 25: 22 Load 24(sca) 61 26: 14(fvec4) Load 16(tc) 62 27: 6(float) ImageSampleDrefImplicitLod 25 26 18 63 Store 8(c) 27 64 28: 10 Load 12(s2da) 65 29: 14(fvec4) Load 16(tc) 66 34: 6(float) CompositeExtract 29 3 67 35: 6(float) ImageSampleDrefImplicitLod 28 29 34 Bias ConstOffset 18 33 68 Store 8(c) 35 69 36: 10 Load 12(s2da) 70 37: 14(fvec4) Load 16(tc) 71 38: 6(float) CompositeExtract 37 3 72 39: 6(float) ImageSampleDrefExplicitLod 36 37 38 Lod 18 73 Store 8(c) 39 74 44: 41 Load 43(sc) 75 45: 14(fvec4) Load 16(tc) 76 46: 6(float) CompositeExtract 45 3 77 47: 6(float) ImageSampleDrefExplicitLod 44 45 46 Lod 18 78 Store 8(c) 47 79 48: 22 Load 24(sca) 80 49: 14(fvec4) Load 16(tc) 81 50: 6(float) ImageSampleDrefExplicitLod 48 49 18 Lod 18 82 Store 8(c) 50 83 51: 10 Load 12(s2da) 84 52: 14(fvec4) Load 16(tc) 85 53: 6(float) CompositeExtract 52 3 86 54: 6(float) ImageSampleDrefExplicitLod 51 52 53 Lod ConstOffset 18 33 87 Store 8(c) 54 88 Return 89 FunctionEnd 90