1spv.texture.vert 2// Module Version 10000 3// Generated by (magic number): 80007 4// Id's are bound by 150 5 6 Capability Shader 7 Capability Sampled1D 8 1: ExtInstImport "GLSL.std.450" 9 MemoryModel Logical GLSL450 10 EntryPoint Vertex 4 "main" 39 148 11 Source GLSL 140 12 Name 4 "main" 13 Name 8 "lod" 14 Name 10 "coords1D" 15 Name 14 "coords3D" 16 Name 20 "coords4D" 17 Name 23 "color" 18 Name 29 "texSampler1D" 19 Name 39 "coords2D" 20 Name 56 "texSampler2D" 21 Name 80 "texSampler3D" 22 Name 96 "texSamplerCube" 23 Name 106 "shadowSampler1D" 24 Name 118 "shadowSampler2D" 25 Name 148 "gl_Position" 26 Decorate 29(texSampler1D) DescriptorSet 0 27 Decorate 56(texSampler2D) DescriptorSet 0 28 Decorate 80(texSampler3D) DescriptorSet 0 29 Decorate 96(texSamplerCube) DescriptorSet 0 30 Decorate 106(shadowSampler1D) DescriptorSet 0 31 Decorate 118(shadowSampler2D) DescriptorSet 0 32 Decorate 148(gl_Position) BuiltIn Position 33 2: TypeVoid 34 3: TypeFunction 2 35 6: TypeFloat 32 36 7: TypePointer Function 6(float) 37 9: 6(float) Constant 1077936128 38 11: 6(float) Constant 1071971828 39 12: TypeVector 6(float) 3 40 13: TypePointer Function 12(fvec3) 41 15: 6(float) Constant 1076753334 42 16: 6(float) Constant 1079836148 43 17: 12(fvec3) ConstantComposite 11 15 16 44 18: TypeVector 6(float) 4 45 19: TypePointer Function 18(fvec4) 46 21: 6(float) Constant 1073741824 47 22: 18(fvec4) ConstantComposite 11 15 16 21 48 24: 6(float) Constant 0 49 25: 18(fvec4) ConstantComposite 24 24 24 24 50 26: TypeImage 6(float) 1D sampled format:Unknown 51 27: TypeSampledImage 26 52 28: TypePointer UniformConstant 27 5329(texSampler1D): 28(ptr) Variable UniformConstant 54 37: TypeVector 6(float) 2 55 38: TypePointer Input 37(fvec2) 56 39(coords2D): 38(ptr) Variable Input 57 53: TypeImage 6(float) 2D sampled format:Unknown 58 54: TypeSampledImage 53 59 55: TypePointer UniformConstant 54 6056(texSampler2D): 55(ptr) Variable UniformConstant 61 77: TypeImage 6(float) 3D sampled format:Unknown 62 78: TypeSampledImage 77 63 79: TypePointer UniformConstant 78 6480(texSampler3D): 79(ptr) Variable UniformConstant 65 93: TypeImage 6(float) Cube sampled format:Unknown 66 94: TypeSampledImage 93 67 95: TypePointer UniformConstant 94 6896(texSamplerCube): 95(ptr) Variable UniformConstant 69 103: TypeImage 6(float) 1D depth sampled format:Unknown 70 104: TypeSampledImage 103 71 105: TypePointer UniformConstant 104 72106(shadowSampler1D): 105(ptr) Variable UniformConstant 73 115: TypeImage 6(float) 2D depth sampled format:Unknown 74 116: TypeSampledImage 115 75 117: TypePointer UniformConstant 116 76118(shadowSampler2D): 117(ptr) Variable UniformConstant 77 147: TypePointer Output 18(fvec4) 78148(gl_Position): 147(ptr) Variable Output 79 4(main): 2 Function None 3 80 5: Label 81 8(lod): 7(ptr) Variable Function 82 10(coords1D): 7(ptr) Variable Function 83 14(coords3D): 13(ptr) Variable Function 84 20(coords4D): 19(ptr) Variable Function 85 23(color): 19(ptr) Variable Function 86 Store 8(lod) 9 87 Store 10(coords1D) 11 88 Store 14(coords3D) 17 89 Store 20(coords4D) 22 90 Store 23(color) 25 91 30: 27 Load 29(texSampler1D) 92 31: 6(float) Load 10(coords1D) 93 32: 6(float) Load 8(lod) 94 33: 18(fvec4) ImageSampleExplicitLod 30 31 Lod 32 95 34: 18(fvec4) Load 23(color) 96 35: 18(fvec4) FAdd 34 33 97 Store 23(color) 35 98 36: 27 Load 29(texSampler1D) 99 40: 37(fvec2) Load 39(coords2D) 100 41: 6(float) Load 8(lod) 101 42: 18(fvec4) ImageSampleProjExplicitLod 36 40 Lod 41 102 43: 18(fvec4) Load 23(color) 103 44: 18(fvec4) FAdd 43 42 104 Store 23(color) 44 105 45: 27 Load 29(texSampler1D) 106 46: 18(fvec4) Load 20(coords4D) 107 47: 6(float) Load 8(lod) 108 48: 6(float) CompositeExtract 46 3 109 49: 18(fvec4) CompositeInsert 48 46 1 110 50: 18(fvec4) ImageSampleProjExplicitLod 45 49 Lod 47 111 51: 18(fvec4) Load 23(color) 112 52: 18(fvec4) FAdd 51 50 113 Store 23(color) 52 114 57: 54 Load 56(texSampler2D) 115 58: 37(fvec2) Load 39(coords2D) 116 59: 6(float) Load 8(lod) 117 60: 18(fvec4) ImageSampleExplicitLod 57 58 Lod 59 118 61: 18(fvec4) Load 23(color) 119 62: 18(fvec4) FAdd 61 60 120 Store 23(color) 62 121 63: 54 Load 56(texSampler2D) 122 64: 12(fvec3) Load 14(coords3D) 123 65: 6(float) Load 8(lod) 124 66: 18(fvec4) ImageSampleProjExplicitLod 63 64 Lod 65 125 67: 18(fvec4) Load 23(color) 126 68: 18(fvec4) FAdd 67 66 127 Store 23(color) 68 128 69: 54 Load 56(texSampler2D) 129 70: 18(fvec4) Load 20(coords4D) 130 71: 6(float) Load 8(lod) 131 72: 6(float) CompositeExtract 70 3 132 73: 18(fvec4) CompositeInsert 72 70 2 133 74: 18(fvec4) ImageSampleProjExplicitLod 69 73 Lod 71 134 75: 18(fvec4) Load 23(color) 135 76: 18(fvec4) FAdd 75 74 136 Store 23(color) 76 137 81: 78 Load 80(texSampler3D) 138 82: 12(fvec3) Load 14(coords3D) 139 83: 6(float) Load 8(lod) 140 84: 18(fvec4) ImageSampleExplicitLod 81 82 Lod 83 141 85: 18(fvec4) Load 23(color) 142 86: 18(fvec4) FAdd 85 84 143 Store 23(color) 86 144 87: 78 Load 80(texSampler3D) 145 88: 18(fvec4) Load 20(coords4D) 146 89: 6(float) Load 8(lod) 147 90: 18(fvec4) ImageSampleProjExplicitLod 87 88 Lod 89 148 91: 18(fvec4) Load 23(color) 149 92: 18(fvec4) FAdd 91 90 150 Store 23(color) 92 151 97: 94 Load 96(texSamplerCube) 152 98: 12(fvec3) Load 14(coords3D) 153 99: 6(float) Load 8(lod) 154 100: 18(fvec4) ImageSampleExplicitLod 97 98 Lod 99 155 101: 18(fvec4) Load 23(color) 156 102: 18(fvec4) FAdd 101 100 157 Store 23(color) 102 158 107: 104 Load 106(shadowSampler1D) 159 108: 12(fvec3) Load 14(coords3D) 160 109: 6(float) Load 8(lod) 161 110: 6(float) CompositeExtract 108 2 162 111: 6(float) ImageSampleDrefExplicitLod 107 108 110 Lod 109 163 112: 18(fvec4) Load 23(color) 164 113: 18(fvec4) CompositeConstruct 111 111 111 111 165 114: 18(fvec4) FAdd 112 113 166 Store 23(color) 114 167 119: 116 Load 118(shadowSampler2D) 168 120: 12(fvec3) Load 14(coords3D) 169 121: 6(float) Load 8(lod) 170 122: 6(float) CompositeExtract 120 2 171 123: 6(float) ImageSampleDrefExplicitLod 119 120 122 Lod 121 172 124: 18(fvec4) Load 23(color) 173 125: 18(fvec4) CompositeConstruct 123 123 123 123 174 126: 18(fvec4) FAdd 124 125 175 Store 23(color) 126 176 127: 104 Load 106(shadowSampler1D) 177 128: 18(fvec4) Load 20(coords4D) 178 129: 6(float) Load 8(lod) 179 130: 6(float) CompositeExtract 128 2 180 131: 6(float) CompositeExtract 128 3 181 132: 18(fvec4) CompositeInsert 131 128 1 182 133: 6(float) ImageSampleProjDrefExplicitLod 127 132 130 Lod 129 183 134: 18(fvec4) Load 23(color) 184 135: 18(fvec4) CompositeConstruct 133 133 133 133 185 136: 18(fvec4) FAdd 134 135 186 Store 23(color) 136 187 137: 116 Load 118(shadowSampler2D) 188 138: 18(fvec4) Load 20(coords4D) 189 139: 6(float) Load 8(lod) 190 140: 6(float) CompositeExtract 138 2 191 141: 6(float) CompositeExtract 138 3 192 142: 18(fvec4) CompositeInsert 141 138 2 193 143: 6(float) ImageSampleProjDrefExplicitLod 137 142 140 Lod 139 194 144: 18(fvec4) Load 23(color) 195 145: 18(fvec4) CompositeConstruct 143 143 143 143 196 146: 18(fvec4) FAdd 144 145 197 Store 23(color) 146 198 149: 18(fvec4) Load 23(color) 199 Store 148(gl_Position) 149 200 Return 201 FunctionEnd 202