1spv.debuginfo.glsl.vert 2// Module Version 10000 3// Generated by (magic number): 8000b 4// Id's are bound by 427 5 6 Capability Shader 7 Extension "SPV_KHR_non_semantic_info" 8 2: ExtInstImport "NonSemantic.Shader.DebugInfo.100" 9 3: ExtInstImport "GLSL.std.450" 10 MemoryModel Logical GLSL450 11 EntryPoint Vertex 14 "main" 35 40 46 52 60 76 292 310 315 340 356 373 412 421 12 1: String "" 13 8: String "uint" 14 16: String "main" 15 19: String "// OpModuleProcessed auto-map-locations 16// OpModuleProcessed auto-map-bindings 17// OpModuleProcessed client vulkan100 18// OpModuleProcessed target-env vulkan1.0 19// OpModuleProcessed keep-uncalled 20// OpModuleProcessed entry-point main 21#line 1 22" 23 30: String "float" 24 37: String "outColor" 25 42: String "inColor" 26 48: String "outUV" 27 54: String "inUV" 28 57: String "int" 29 62: String "instanceTexIndex" 30 73: String "s" 31 78: String "instanceRot" 32 87: String "bool" 33 92: String "modelview" 34 97: String "lightPos" 35 100: String "globSpeed" 36 104: String "UBO" 37 108: String "ubo" 38 119: String "c" 39 134: String "mx" 40 177: String "my" 41 214: String "mz" 42 235: String "rotMat" 43 264: String "gRotMat" 44 290: String "locPos" 45 294: String "inPos" 46 306: String "pos" 47 312: String "instanceScale" 48 317: String "instancePos" 49 330: String "gl_Position" 50 333: String "gl_PointSize" 51 335: String "gl_CullDistance" 52 338: String "gl_PerVertex" 53 358: String "outNormal" 54 375: String "inNormal" 55 394: String "lPos" 56 414: String "outLightVec" 57 423: String "outViewVec" 58 Name 14 "main" 59 Name 35 "outColor" 60 Name 40 "inColor" 61 Name 46 "outUV" 62 Name 52 "inUV" 63 Name 60 "instanceTexIndex" 64 Name 71 "s" 65 Name 76 "instanceRot" 66 Name 90 "UBO" 67 MemberName 90(UBO) 0 "projection" 68 MemberName 90(UBO) 1 "modelview" 69 MemberName 90(UBO) 2 "lightPos" 70 MemberName 90(UBO) 3 "locSpeed" 71 MemberName 90(UBO) 4 "globSpeed" 72 Name 106 "ubo" 73 Name 117 "c" 74 Name 132 "mx" 75 Name 175 "my" 76 Name 212 "mz" 77 Name 233 "rotMat" 78 Name 262 "gRotMat" 79 Name 288 "locPos" 80 Name 292 "inPos" 81 Name 304 "pos" 82 Name 310 "instanceScale" 83 Name 315 "instancePos" 84 Name 328 "gl_PerVertex" 85 MemberName 328(gl_PerVertex) 0 "gl_Position" 86 MemberName 328(gl_PerVertex) 1 "gl_PointSize" 87 MemberName 328(gl_PerVertex) 2 "gl_ClipDistance" 88 MemberName 328(gl_PerVertex) 3 "gl_CullDistance" 89 Name 340 "" 90 Name 356 "outNormal" 91 Name 373 "inNormal" 92 Name 392 "lPos" 93 Name 412 "outLightVec" 94 Name 421 "outViewVec" 95 Decorate 35(outColor) Location 1 96 Decorate 40(inColor) Location 3 97 Decorate 46(outUV) Location 2 98 Decorate 52(inUV) Location 2 99 Decorate 60(instanceTexIndex) Location 7 100 Decorate 76(instanceRot) Location 5 101 MemberDecorate 90(UBO) 0 ColMajor 102 MemberDecorate 90(UBO) 0 Offset 0 103 MemberDecorate 90(UBO) 0 MatrixStride 16 104 MemberDecorate 90(UBO) 1 ColMajor 105 MemberDecorate 90(UBO) 1 Offset 64 106 MemberDecorate 90(UBO) 1 MatrixStride 16 107 MemberDecorate 90(UBO) 2 Offset 128 108 MemberDecorate 90(UBO) 3 Offset 144 109 MemberDecorate 90(UBO) 4 Offset 148 110 Decorate 90(UBO) Block 111 Decorate 106(ubo) DescriptorSet 0 112 Decorate 106(ubo) Binding 0 113 Decorate 292(inPos) Location 0 114 Decorate 310(instanceScale) Location 6 115 Decorate 315(instancePos) Location 4 116 MemberDecorate 328(gl_PerVertex) 0 BuiltIn Position 117 MemberDecorate 328(gl_PerVertex) 1 BuiltIn PointSize 118 MemberDecorate 328(gl_PerVertex) 2 BuiltIn ClipDistance 119 MemberDecorate 328(gl_PerVertex) 3 BuiltIn CullDistance 120 Decorate 328(gl_PerVertex) Block 121 Decorate 356(outNormal) Location 0 122 Decorate 373(inNormal) Location 1 123 Decorate 412(outLightVec) Location 4 124 Decorate 421(outViewVec) Location 3 125 4: TypeVoid 126 5: TypeFunction 4 127 7: TypeInt 32 0 128 10: 7(int) Constant 32 129 11: 7(int) Constant 6 130 12: 7(int) Constant 0 131 9: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 8 10 11 12 132 13: 7(int) Constant 3 133 6: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 4 134 18: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 19 135 20: 7(int) Constant 54 136 22: 7(int) Constant 1 137 23: 7(int) Constant 4 138 24: 7(int) Constant 2 139 21: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 22 23 18 24 140 17: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 16 6 18 20 12 21 16 13 20 141 28: 7(int) Constant 56 142 29: TypeFloat 32 143 31: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 30 10 13 12 144 32: TypeVector 29(float) 3 145 33: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 31 13 146 34: TypePointer Output 32(fvec3) 147 35(outColor): 34(ptr) Variable Output 148 38: 7(int) Constant 8 149 36: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 37 33 18 28 12 21 37 35(outColor) 38 150 39: TypePointer Input 32(fvec3) 151 40(inColor): 39(ptr) Variable Input 152 41: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 42 33 18 28 12 21 42 40(inColor) 38 153 45: 7(int) Constant 57 154 46(outUV): 34(ptr) Variable Output 155 47: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 48 33 18 45 12 21 48 46(outUV) 38 156 49: TypeVector 29(float) 2 157 50: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 31 24 158 51: TypePointer Input 49(fvec2) 159 52(inUV): 51(ptr) Variable Input 160 53: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 54 50 18 45 12 21 54 52(inUV) 38 161 56: TypeInt 32 1 162 58: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 57 10 23 12 163 59: TypePointer Input 56(int) 16460(instanceTexIndex): 59(ptr) Variable Input 165 61: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 62 58 18 45 12 21 62 60(instanceTexIndex) 38 166 69: 7(int) Constant 62 167 70: TypePointer Function 29(float) 168 72: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 73 31 18 69 12 17 23 169 75: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) 170 76(instanceRot): 39(ptr) Variable Input 171 77: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 78 33 18 69 12 21 78 76(instanceRot) 38 172 79: TypePointer Input 29(float) 173 82: TypeVector 29(float) 4 174 83: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 31 23 175 84: TypeMatrix 82(fvec4) 4 176 86: TypeBool 177 88: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 87 10 24 12 178 89: 86(bool) ConstantTrue 179 85: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 83 23 89 180 90(UBO): TypeStruct 84 84 82(fvec4) 29(float) 29(float) 181 93: 7(int) Constant 42 182 94: 7(int) Constant 7 183 91: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 92 85 18 93 94 12 12 13 184 95: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 92 85 18 93 94 12 12 13 185 98: 7(int) Constant 43 186 96: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 97 83 18 98 94 12 12 13 187 101: 7(int) Constant 45 188 99: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 100 31 18 101 38 12 12 13 189 102: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 100 31 18 101 38 12 12 13 190 103: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 104 22 18 69 12 21 104 12 13 91 95 96 99 102 191 105: TypePointer Uniform 90(UBO) 192 106(ubo): 105(ptr) Variable Uniform 193 107: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 108 103 18 69 12 21 108 106(ubo) 38 194 109: 56(int) Constant 3 195 110: TypePointer Uniform 29(float) 196 116: 7(int) Constant 63 197 118: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 119 31 18 116 12 17 23 198 128: 7(int) Constant 65 199 129: TypeMatrix 32(fvec3) 3 200 130: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 33 13 89 201 131: TypePointer Function 129 202 133: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 134 130 18 128 12 17 23 203 136: 56(int) Constant 0 204 139: 29(float) Constant 0 205 141: TypePointer Function 32(fvec3) 206 144: 7(int) Constant 66 207 145: 56(int) Constant 1 208 152: 7(int) Constant 67 209 153: 56(int) Constant 2 210 154: 29(float) Constant 1065353216 211 155: 32(fvec3) ConstantComposite 139 139 154 212 158: 7(int) Constant 70 213 166: 7(int) Constant 71 214 174: 7(int) Constant 73 215 176: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 177 130 18 174 12 17 23 216 184: 7(int) Constant 74 217 185: 32(fvec3) ConstantComposite 139 154 139 218 188: 7(int) Constant 75 219 195: 7(int) Constant 78 220 203: 7(int) Constant 79 221 211: 7(int) Constant 81 222 213: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 214 130 18 211 12 17 23 223 216: 32(fvec3) ConstantComposite 154 139 139 224 219: 7(int) Constant 82 225 225: 7(int) Constant 83 226 232: 7(int) Constant 85 227 234: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 235 130 18 232 12 17 23 228 243: 7(int) Constant 88 229 246: 56(int) Constant 4 230 252: 7(int) Constant 89 231 260: 7(int) Constant 90 232 261: TypePointer Function 84 233 263: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 264 85 18 260 12 17 23 234 269: TypePointer Function 82(fvec4) 235 272: 7(int) Constant 91 236 273: 82(fvec4) ConstantComposite 139 154 139 139 237 276: 7(int) Constant 92 238 283: 7(int) Constant 93 239 284: 82(fvec4) ConstantComposite 139 139 139 154 240 287: 7(int) Constant 95 241 289: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 290 83 18 287 12 17 23 242 292(inPos): 39(ptr) Variable Input 243 293: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 294 33 18 287 12 21 294 292(inPos) 38 244 303: 7(int) Constant 96 245 305: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 306 83 18 303 12 17 23 246310(instanceScale): 79(ptr) Variable Input 247 311: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 312 31 18 303 12 21 312 310(instanceScale) 38 248315(instancePos): 39(ptr) Variable Input 249 316: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 317 33 18 303 12 21 317 315(instancePos) 38 250 325: 7(int) Constant 98 251 326: TypeArray 29(float) 22 252 327: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 31 22 253328(gl_PerVertex): TypeStruct 82(fvec4) 29(float) 326 326 254 331: 7(int) Constant 24 255 329: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 330 83 18 22 331 12 12 13 256 332: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 333 31 18 22 93 12 12 13 257 334: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 335 327 18 22 232 12 12 13 258 336: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 335 327 18 22 232 12 12 13 259 337: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 338 22 18 325 12 21 338 12 13 329 332 334 336 260 339: TypePointer Output 328(gl_PerVertex) 261 340: 339(ptr) Variable Output 262 341: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 337 18 325 12 21 1 340 38 263 342: TypePointer Uniform 84 264 352: TypePointer Output 82(fvec4) 265 355: 7(int) Constant 99 266 356(outNormal): 34(ptr) Variable Output 267 357: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 358 33 18 355 12 21 358 356(outNormal) 38 268 373(inNormal): 39(ptr) Variable Input 269 374: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 375 33 18 355 12 21 375 373(inNormal) 38 270 379: 7(int) Constant 101 271 391: 7(int) Constant 102 272 393: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 394 33 18 391 12 17 23 273 405: TypePointer Uniform 82(fvec4) 274 411: 7(int) Constant 103 275412(outLightVec): 34(ptr) Variable Output 276 413: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 414 33 18 411 12 21 414 412(outLightVec) 38 277 420: 7(int) Constant 104 278 421(outViewVec): 34(ptr) Variable Output 279 422: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 423 33 18 420 12 21 423 421(outViewVec) 38 280 Line 1 54 11 281 14(main): 4 Function None 5 282 15: Label 283 71(s): 70(ptr) Variable Function 284 117(c): 70(ptr) Variable Function 285 132(mx): 131(ptr) Variable Function 286 175(my): 131(ptr) Variable Function 287 212(mz): 131(ptr) Variable Function 288 233(rotMat): 131(ptr) Variable Function 289 262(gRotMat): 261(ptr) Variable Function 290 288(locPos): 269(ptr) Variable Function 291 304(pos): 269(ptr) Variable Function 292 392(lPos): 141(ptr) Variable Function 293 25: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 17 14(main) 294 26: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17 295 27: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 28 28 12 12 296 43: 32(fvec3) Load 40(inColor) 297 Store 35(outColor) 43 298 44: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 45 45 12 12 299 55: 49(fvec2) Load 52(inUV) 300 63: 56(int) Load 60(instanceTexIndex) 301 64: 29(float) ConvertSToF 63 302 65: 29(float) CompositeExtract 55 0 303 66: 29(float) CompositeExtract 55 1 304 67: 32(fvec3) CompositeConstruct 65 66 64 305 Store 46(outUV) 67 306 68: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 69 69 12 12 307 74: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 72 71(s) 75 308 80: 79(ptr) AccessChain 76(instanceRot) 12 309 81: 29(float) Load 80 310 111: 110(ptr) AccessChain 106(ubo) 109 311 112: 29(float) Load 111 312 113: 29(float) FAdd 81 112 313 114: 29(float) ExtInst 3(GLSL.std.450) 13(Sin) 113 314 Store 71(s) 114 315 115: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 116 116 12 12 316 120: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 118 117(c) 75 317 121: 79(ptr) AccessChain 76(instanceRot) 12 318 122: 29(float) Load 121 319 123: 110(ptr) AccessChain 106(ubo) 109 320 124: 29(float) Load 123 321 125: 29(float) FAdd 122 124 322 126: 29(float) ExtInst 3(GLSL.std.450) 14(Cos) 125 323 Store 117(c) 126 324 127: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 128 128 12 12 325 135: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 133 132(mx) 75 326 137: 29(float) Load 117(c) 327 138: 29(float) Load 71(s) 328 140: 32(fvec3) CompositeConstruct 137 138 139 329 142: 141(ptr) AccessChain 132(mx) 136 330 Store 142 140 331 143: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 144 144 12 12 332 146: 29(float) Load 71(s) 333 147: 29(float) FNegate 146 334 148: 29(float) Load 117(c) 335 149: 32(fvec3) CompositeConstruct 147 148 139 336 150: 141(ptr) AccessChain 132(mx) 145 337 Store 150 149 338 151: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 152 152 12 12 339 156: 141(ptr) AccessChain 132(mx) 153 340 Store 156 155 341 157: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 158 158 12 12 342 159: 79(ptr) AccessChain 76(instanceRot) 22 343 160: 29(float) Load 159 344 161: 110(ptr) AccessChain 106(ubo) 109 345 162: 29(float) Load 161 346 163: 29(float) FAdd 160 162 347 164: 29(float) ExtInst 3(GLSL.std.450) 13(Sin) 163 348 Store 71(s) 164 349 165: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 166 166 12 12 350 167: 79(ptr) AccessChain 76(instanceRot) 22 351 168: 29(float) Load 167 352 169: 110(ptr) AccessChain 106(ubo) 109 353 170: 29(float) Load 169 354 171: 29(float) FAdd 168 170 355 172: 29(float) ExtInst 3(GLSL.std.450) 14(Cos) 171 356 Store 117(c) 172 357 173: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 174 174 12 12 358 178: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 176 175(my) 75 359 179: 29(float) Load 117(c) 360 180: 29(float) Load 71(s) 361 181: 32(fvec3) CompositeConstruct 179 139 180 362 182: 141(ptr) AccessChain 175(my) 136 363 Store 182 181 364 183: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 184 184 12 12 365 186: 141(ptr) AccessChain 175(my) 145 366 Store 186 185 367 187: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 188 188 12 12 368 189: 29(float) Load 71(s) 369 190: 29(float) FNegate 189 370 191: 29(float) Load 117(c) 371 192: 32(fvec3) CompositeConstruct 190 139 191 372 193: 141(ptr) AccessChain 175(my) 153 373 Store 193 192 374 194: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 195 195 12 12 375 196: 79(ptr) AccessChain 76(instanceRot) 24 376 197: 29(float) Load 196 377 198: 110(ptr) AccessChain 106(ubo) 109 378 199: 29(float) Load 198 379 200: 29(float) FAdd 197 199 380 201: 29(float) ExtInst 3(GLSL.std.450) 13(Sin) 200 381 Store 71(s) 201 382 202: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 203 203 12 12 383 204: 79(ptr) AccessChain 76(instanceRot) 24 384 205: 29(float) Load 204 385 206: 110(ptr) AccessChain 106(ubo) 109 386 207: 29(float) Load 206 387 208: 29(float) FAdd 205 207 388 209: 29(float) ExtInst 3(GLSL.std.450) 14(Cos) 208 389 Store 117(c) 209 390 210: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 211 211 12 12 391 215: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 213 212(mz) 75 392 217: 141(ptr) AccessChain 212(mz) 136 393 Store 217 216 394 218: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 219 219 12 12 395 220: 29(float) Load 117(c) 396 221: 29(float) Load 71(s) 397 222: 32(fvec3) CompositeConstruct 139 220 221 398 223: 141(ptr) AccessChain 212(mz) 145 399 Store 223 222 400 224: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 225 225 12 12 401 226: 29(float) Load 71(s) 402 227: 29(float) FNegate 226 403 228: 29(float) Load 117(c) 404 229: 32(fvec3) CompositeConstruct 139 227 228 405 230: 141(ptr) AccessChain 212(mz) 153 406 Store 230 229 407 231: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 232 232 12 12 408 236: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 234 233(rotMat) 75 409 237: 129 Load 212(mz) 410 238: 129 Load 175(my) 411 239: 129 MatrixTimesMatrix 237 238 412 240: 129 Load 132(mx) 413 241: 129 MatrixTimesMatrix 239 240 414 Store 233(rotMat) 241 415 242: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 243 243 12 12 416 244: 79(ptr) AccessChain 76(instanceRot) 22 417 245: 29(float) Load 244 418 247: 110(ptr) AccessChain 106(ubo) 246 419 248: 29(float) Load 247 420 249: 29(float) FAdd 245 248 421 250: 29(float) ExtInst 3(GLSL.std.450) 13(Sin) 249 422 Store 71(s) 250 423 251: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 252 252 12 12 424 253: 79(ptr) AccessChain 76(instanceRot) 22 425 254: 29(float) Load 253 426 255: 110(ptr) AccessChain 106(ubo) 246 427 256: 29(float) Load 255 428 257: 29(float) FAdd 254 256 429 258: 29(float) ExtInst 3(GLSL.std.450) 14(Cos) 257 430 Store 117(c) 258 431 259: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 260 260 12 12 432 265: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 263 262(gRotMat) 75 433 266: 29(float) Load 117(c) 434 267: 29(float) Load 71(s) 435 268: 82(fvec4) CompositeConstruct 266 139 267 139 436 270: 269(ptr) AccessChain 262(gRotMat) 136 437 Store 270 268 438 271: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 272 272 12 12 439 274: 269(ptr) AccessChain 262(gRotMat) 145 440 Store 274 273 441 275: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 276 276 12 12 442 277: 29(float) Load 71(s) 443 278: 29(float) FNegate 277 444 279: 29(float) Load 117(c) 445 280: 82(fvec4) CompositeConstruct 278 139 279 139 446 281: 269(ptr) AccessChain 262(gRotMat) 153 447 Store 281 280 448 282: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 283 283 12 12 449 285: 269(ptr) AccessChain 262(gRotMat) 109 450 Store 285 284 451 286: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 287 287 12 12 452 291: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 289 288(locPos) 75 453 295: 32(fvec3) Load 292(inPos) 454 296: 129 Load 233(rotMat) 455 297: 32(fvec3) VectorTimesMatrix 295 296 456 298: 29(float) CompositeExtract 297 0 457 299: 29(float) CompositeExtract 297 1 458 300: 29(float) CompositeExtract 297 2 459 301: 82(fvec4) CompositeConstruct 298 299 300 154 460 Store 288(locPos) 301 461 302: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 303 303 12 12 462 307: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 305 304(pos) 75 463 308: 82(fvec4) Load 288(locPos) 464 309: 32(fvec3) VectorShuffle 308 308 0 1 2 465 313: 29(float) Load 310(instanceScale) 466 314: 32(fvec3) VectorTimesScalar 309 313 467 318: 32(fvec3) Load 315(instancePos) 468 319: 32(fvec3) FAdd 314 318 469 320: 29(float) CompositeExtract 319 0 470 321: 29(float) CompositeExtract 319 1 471 322: 29(float) CompositeExtract 319 2 472 323: 82(fvec4) CompositeConstruct 320 321 322 154 473 Store 304(pos) 323 474 324: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 325 325 12 12 475 343: 342(ptr) AccessChain 106(ubo) 136 476 344: 84 Load 343 477 345: 342(ptr) AccessChain 106(ubo) 145 478 346: 84 Load 345 479 347: 84 MatrixTimesMatrix 344 346 480 348: 84 Load 262(gRotMat) 481 349: 84 MatrixTimesMatrix 347 348 482 350: 82(fvec4) Load 304(pos) 483 351: 82(fvec4) MatrixTimesVector 349 350 484 353: 352(ptr) AccessChain 340 136 485 Store 353 351 486 354: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 355 355 12 12 487 359: 342(ptr) AccessChain 106(ubo) 145 488 360: 84 Load 359 489 361: 84 Load 262(gRotMat) 490 362: 84 MatrixTimesMatrix 360 361 491 363: 82(fvec4) CompositeExtract 362 0 492 364: 32(fvec3) VectorShuffle 363 363 0 1 2 493 365: 82(fvec4) CompositeExtract 362 1 494 366: 32(fvec3) VectorShuffle 365 365 0 1 2 495 367: 82(fvec4) CompositeExtract 362 2 496 368: 32(fvec3) VectorShuffle 367 367 0 1 2 497 369: 129 CompositeConstruct 364 366 368 498 370: 129 Load 233(rotMat) 499 371: 129 ExtInst 3(GLSL.std.450) 34(MatrixInverse) 370 500 372: 129 MatrixTimesMatrix 369 371 501 376: 32(fvec3) Load 373(inNormal) 502 377: 32(fvec3) MatrixTimesVector 372 376 503 Store 356(outNormal) 377 504 378: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 379 379 12 12 505 380: 342(ptr) AccessChain 106(ubo) 145 506 381: 84 Load 380 507 382: 32(fvec3) Load 292(inPos) 508 383: 32(fvec3) Load 315(instancePos) 509 384: 32(fvec3) FAdd 382 383 510 385: 29(float) CompositeExtract 384 0 511 386: 29(float) CompositeExtract 384 1 512 387: 29(float) CompositeExtract 384 2 513 388: 82(fvec4) CompositeConstruct 385 386 387 154 514 389: 82(fvec4) MatrixTimesVector 381 388 515 Store 304(pos) 389 516 390: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 391 391 12 12 517 395: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 393 392(lPos) 75 518 396: 342(ptr) AccessChain 106(ubo) 145 519 397: 84 Load 396 520 398: 82(fvec4) CompositeExtract 397 0 521 399: 32(fvec3) VectorShuffle 398 398 0 1 2 522 400: 82(fvec4) CompositeExtract 397 1 523 401: 32(fvec3) VectorShuffle 400 400 0 1 2 524 402: 82(fvec4) CompositeExtract 397 2 525 403: 32(fvec3) VectorShuffle 402 402 0 1 2 526 404: 129 CompositeConstruct 399 401 403 527 406: 405(ptr) AccessChain 106(ubo) 153 528 407: 82(fvec4) Load 406 529 408: 32(fvec3) VectorShuffle 407 407 0 1 2 530 409: 32(fvec3) MatrixTimesVector 404 408 531 Store 392(lPos) 409 532 410: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 411 411 12 12 533 415: 32(fvec3) Load 392(lPos) 534 416: 82(fvec4) Load 304(pos) 535 417: 32(fvec3) VectorShuffle 416 416 0 1 2 536 418: 32(fvec3) FSub 415 417 537 Store 412(outLightVec) 418 538 419: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 420 420 12 12 539 424: 82(fvec4) Load 304(pos) 540 425: 32(fvec3) VectorShuffle 424 424 0 1 2 541 426: 32(fvec3) FNegate 425 542 Store 421(outViewVec) 426 543 Return 544 FunctionEnd 545