1spv.debuginfo.hlsl.vert 2// Module Version 10000 3// Generated by (magic number): 8000b 4// Id's are bound by 498 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 6 "main" 447 450 454 457 460 463 467 471 479 483 486 489 492 495 12 1: String "" 13 9: String "float" 14 12: String "uint" 15 24: String "int" 16 29: String "instanceRot" 17 31: String "// OpModuleProcessed auto-map-locations 18// OpModuleProcessed auto-map-bindings 19// OpModuleProcessed entry-point main 20// OpModuleProcessed client vulkan100 21// OpModuleProcessed target-env vulkan1.0 22// OpModuleProcessed keep-uncalled 23// OpModuleProcessed hlsl-offsets 24#line 1 25" 26 36: String "UV" 27 43: String "instanceScale" 28 47: String "instanceTexIndex" 29 51: String "VSInput" 30 60: String "Pos" 31 64: String "LightVec" 32 71: String "VSOutput" 33 77: String "@main" 34 83: String "input" 35 93: String "output" 36 126: String "s" 37 134: String "bool" 38 139: String "modelview" 39 144: String "lightPos" 40 148: String "globSpeed" 41 152: String "UBO" 42 155: String "ubo" 43 172: String "c" 44 187: String "mx" 45 222: String "my" 46 256: String "mz" 47 276: String "rotMat" 48 305: String "gRotMat" 49 332: String "locPos" 50 346: String "pos" 51 411: String "lPos" 52 Name 6 "main" 53 Name 27 "VSInput" 54 MemberName 27(VSInput) 0 "Pos" 55 MemberName 27(VSInput) 1 "Normal" 56 MemberName 27(VSInput) 2 "UV" 57 MemberName 27(VSInput) 3 "Color" 58 MemberName 27(VSInput) 4 "instancePos" 59 MemberName 27(VSInput) 5 "instanceRot" 60 MemberName 27(VSInput) 6 "instanceScale" 61 MemberName 27(VSInput) 7 "instanceTexIndex" 62 Name 58 "VSOutput" 63 MemberName 58(VSOutput) 0 "Pos" 64 MemberName 58(VSOutput) 1 "Normal" 65 MemberName 58(VSOutput) 2 "Color" 66 MemberName 58(VSOutput) 3 "UV" 67 MemberName 58(VSOutput) 4 "ViewVec" 68 MemberName 58(VSOutput) 5 "LightVec" 69 Name 75 "@main(struct-VSInput-vf3-vf3-vf2-vf3-vf3-vf3-f1-i11;" 70 Name 74 "input" 71 Name 91 "output" 72 Name 124 "s" 73 Name 137 "UBO" 74 MemberName 137(UBO) 0 "projection" 75 MemberName 137(UBO) 1 "modelview" 76 MemberName 137(UBO) 2 "lightPos" 77 MemberName 137(UBO) 3 "locSpeed" 78 MemberName 137(UBO) 4 "globSpeed" 79 Name 153 "ubo" 80 MemberName 153(ubo) 0 "ubo" 81 Name 159 "" 82 Name 170 "c" 83 Name 185 "mx" 84 Name 220 "my" 85 Name 254 "mz" 86 Name 274 "rotMat" 87 Name 303 "gRotMat" 88 Name 330 "locPos" 89 Name 344 "pos" 90 Name 409 "lPos" 91 Name 445 "input" 92 Name 447 "input.Pos" 93 Name 450 "input.Normal" 94 Name 454 "input.UV" 95 Name 457 "input.Color" 96 Name 460 "input.instancePos" 97 Name 463 "input.instanceRot" 98 Name 467 "input.instanceScale" 99 Name 471 "input.instanceTexIndex" 100 Name 474 "flattenTemp" 101 Name 475 "param" 102 Name 479 "@entryPointOutput.Pos" 103 Name 483 "@entryPointOutput.Normal" 104 Name 486 "@entryPointOutput.Color" 105 Name 489 "@entryPointOutput.UV" 106 Name 492 "@entryPointOutput.ViewVec" 107 Name 495 "@entryPointOutput.LightVec" 108 MemberDecorate 137(UBO) 0 RowMajor 109 MemberDecorate 137(UBO) 0 Offset 0 110 MemberDecorate 137(UBO) 0 MatrixStride 16 111 MemberDecorate 137(UBO) 1 RowMajor 112 MemberDecorate 137(UBO) 1 Offset 64 113 MemberDecorate 137(UBO) 1 MatrixStride 16 114 MemberDecorate 137(UBO) 2 Offset 128 115 MemberDecorate 137(UBO) 3 Offset 144 116 MemberDecorate 137(UBO) 4 Offset 148 117 MemberDecorate 153(ubo) 0 Offset 0 118 Decorate 153(ubo) Block 119 Decorate 159 DescriptorSet 0 120 Decorate 159 Binding 0 121 Decorate 447(input.Pos) Location 0 122 Decorate 450(input.Normal) Location 1 123 Decorate 454(input.UV) Location 2 124 Decorate 457(input.Color) Location 3 125 Decorate 460(input.instancePos) Location 4 126 Decorate 463(input.instanceRot) Location 5 127 Decorate 467(input.instanceScale) Location 6 128 Decorate 471(input.instanceTexIndex) Location 7 129 Decorate 479(@entryPointOutput.Pos) BuiltIn Position 130 Decorate 483(@entryPointOutput.Normal) Location 0 131 Decorate 486(@entryPointOutput.Color) Location 1 132 Decorate 489(@entryPointOutput.UV) Location 2 133 Decorate 492(@entryPointOutput.ViewVec) Location 3 134 Decorate 495(@entryPointOutput.LightVec) Location 4 135 4: TypeVoid 136 5: TypeFunction 4 137 8: TypeFloat 32 138 11: TypeInt 32 0 139 14: 11(int) Constant 32 140 15: 11(int) Constant 6 141 16: 11(int) Constant 0 142 13: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 12 14 15 16 143 17: 11(int) Constant 3 144 10: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 9 14 17 16 145 18: TypeVector 8(float) 3 146 19: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 17 147 20: TypeVector 8(float) 2 148 21: 11(int) Constant 2 149 22: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 21 150 23: TypeInt 32 1 151 26: 11(int) Constant 4 152 25: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 24 14 26 16 153 27(VSInput): TypeStruct 18(fvec3) 18(fvec3) 20(fvec2) 18(fvec3) 18(fvec3) 18(fvec3) 8(float) 23(int) 154 30: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 31 155 32: 11(int) Constant 35 156 33: 11(int) Constant 40 157 28: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 29 19 30 32 33 16 16 17 158 34: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 29 19 30 32 33 16 16 17 159 37: 11(int) Constant 30 160 38: 11(int) Constant 31 161 35: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 36 22 30 37 38 16 16 17 162 39: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 29 19 30 32 33 16 16 17 163 40: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 29 19 30 32 33 16 16 17 164 41: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 29 19 30 32 33 16 16 17 165 44: 11(int) Constant 36 166 45: 11(int) Constant 41 167 42: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 43 10 30 44 45 16 16 17 168 48: 11(int) Constant 37 169 49: 11(int) Constant 42 170 46: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 47 25 30 48 49 16 16 17 171 52: 11(int) Constant 1 172 54: 11(int) Constant 5 173 53: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 52 26 30 54 174 50: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 51 52 30 16 16 53 51 16 17 28 34 35 39 40 41 42 46 175 55: TypePointer Function 27(VSInput) 176 56: TypeVector 8(float) 4 177 57: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 26 178 58(VSOutput): TypeStruct 56(fvec4) 18(fvec3) 18(fvec3) 18(fvec3) 18(fvec3) 18(fvec3) 179 61: 11(int) Constant 53 180 62: 11(int) Constant 13 181 59: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 60 57 30 61 62 16 16 17 182 65: 11(int) Constant 58 183 63: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 64 19 30 65 48 16 16 17 184 66: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 64 19 30 65 48 16 16 17 185 67: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 64 19 30 65 48 16 16 17 186 68: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 64 19 30 65 48 16 16 17 187 69: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 64 19 30 65 48 16 16 17 188 70: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 71 52 30 16 16 53 71 16 17 59 63 66 67 68 69 189 72: TypeFunction 58(VSOutput) 55(ptr) 190 73: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 70 50 191 79: 11(int) Constant 62 192 78: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 77 73 30 79 16 53 77 17 79 193 82: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 83 50 30 79 16 78 26 52 194 85: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) 195 89: 11(int) Constant 63 196 90: TypePointer Function 58(VSOutput) 197 92: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 93 70 30 89 16 78 26 198 95: 8(float) Constant 0 199 96: 56(fvec4) ConstantComposite 95 95 95 95 200 97: 18(fvec3) ConstantComposite 95 95 95 201 98:58(VSOutput) ConstantComposite 96 97 97 97 97 97 202 100: 11(int) Constant 64 203 101: 23(int) Constant 2 204 102: 23(int) Constant 3 205 103: TypePointer Function 18(fvec3) 206 108: 11(int) Constant 65 207 109: TypePointer Function 20(fvec2) 208 112: 23(int) Constant 7 209 113: TypePointer Function 23(int) 210 122: 11(int) Constant 68 211 123: TypePointer Function 8(float) 212 125: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 126 10 30 122 16 78 26 213 128: 23(int) Constant 5 214 131: TypeMatrix 56(fvec4) 4 215 133: TypeBool 216 135: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 134 14 21 16 217 136: 133(bool) ConstantTrue 218 132: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 57 26 136 219 137(UBO): TypeStruct 131 131 56(fvec4) 8(float) 8(float) 220 140: 11(int) Constant 43 221 141: 11(int) Constant 20 222 138: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 139 132 30 140 141 16 16 17 223 142: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 139 132 30 140 141 16 16 17 224 145: 11(int) Constant 44 225 146: 11(int) Constant 17 226 143: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 144 57 30 145 146 16 16 17 227 149: 11(int) Constant 46 228 147: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 148 10 30 149 146 16 16 17 229 150: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 148 10 30 149 146 16 16 17 230 151: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 152 52 30 122 16 53 152 16 17 138 142 143 147 150 231 153(ubo): TypeStruct 137(UBO) 232 156: 11(int) Constant 49 233 154: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 155 151 30 156 48 16 16 17 234 157: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 155 52 30 122 16 53 155 16 17 154 235 158: TypePointer Uniform 153(ubo) 236 159: 158(ptr) Variable Uniform 237 161: 11(int) Constant 8 238 160: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 157 30 122 16 53 1 159 161 239 162: 23(int) Constant 0 240 163: TypePointer Uniform 8(float) 241 169: 11(int) Constant 69 242 171: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 172 10 30 169 16 78 26 243 181: 11(int) Constant 71 244 182: TypeMatrix 18(fvec3) 3 245 183: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 19 17 136 246 184: TypePointer Function 182 247 186: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 187 183 30 181 16 78 26 248 193: 11(int) Constant 72 249 196: 8(float) Constant 1065353216 250 203: 11(int) Constant 76 251 211: 11(int) Constant 77 252 219: 11(int) Constant 79 253 221: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 222 183 30 219 16 78 26 254 228: 11(int) Constant 81 255 237: 11(int) Constant 84 256 245: 11(int) Constant 85 257 253: 11(int) Constant 87 258 255: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 256 183 30 253 16 78 26 259 259: 11(int) Constant 88 260 264: 11(int) Constant 89 261 273: 11(int) Constant 91 262 275: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 276 183 30 273 16 78 26 263 284: 11(int) Constant 94 264 287: 23(int) Constant 4 265 293: 11(int) Constant 95 266 301: 11(int) Constant 96 267 302: TypePointer Function 131 268 304: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 305 132 30 301 16 78 26 269 311: TypePointer Function 56(fvec4) 270 314: 11(int) Constant 97 271 315: 23(int) Constant 1 272 316: 56(fvec4) ConstantComposite 95 196 95 95 273 319: 11(int) Constant 98 274 325: 11(int) Constant 99 275 326: 56(fvec4) ConstantComposite 95 95 95 196 276 329: 11(int) Constant 101 277 331: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 332 57 30 329 16 78 26 278 343: 11(int) Constant 102 279 345: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 346 57 30 343 16 78 26 280 350: 23(int) Constant 6 281 362: 11(int) Constant 104 282 366: TypePointer Uniform 131 283 375: 11(int) Constant 105 284 394: 11(int) Constant 107 285 408: 11(int) Constant 108 286 410: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 411 19 30 408 16 78 26 287 413: TypePointer Uniform 56(fvec4) 288 428: 11(int) Constant 109 289 435: 11(int) Constant 110 290 441: 11(int) Constant 111 291 446: TypePointer Input 18(fvec3) 292 447(input.Pos): 446(ptr) Variable Input 293450(input.Normal): 446(ptr) Variable Input 294 453: TypePointer Input 20(fvec2) 295 454(input.UV): 453(ptr) Variable Input 296457(input.Color): 446(ptr) Variable Input 297460(input.instancePos): 446(ptr) Variable Input 298463(input.instanceRot): 446(ptr) Variable Input 299 466: TypePointer Input 8(float) 300467(input.instanceScale): 466(ptr) Variable Input 301 470: TypePointer Input 23(int) 302471(input.instanceTexIndex): 470(ptr) Variable Input 303 478: TypePointer Output 56(fvec4) 304479(@entryPointOutput.Pos): 478(ptr) Variable Output 305 482: TypePointer Output 18(fvec3) 306483(@entryPointOutput.Normal): 482(ptr) Variable Output 307486(@entryPointOutput.Color): 482(ptr) Variable Output 308489(@entryPointOutput.UV): 482(ptr) Variable Output 309492(@entryPointOutput.ViewVec): 482(ptr) Variable Output 310495(@entryPointOutput.LightVec): 482(ptr) Variable Output 311 Line 1 62 1 312 6(main): 4 Function None 5 313 7: Label 314 445(input): 55(ptr) Variable Function 315474(flattenTemp): 90(ptr) Variable Function 316 475(param): 55(ptr) Variable Function 317 Line 1 62 0 318 448: 18(fvec3) Load 447(input.Pos) 319 449: 103(ptr) AccessChain 445(input) 162 320 Store 449 448 321 451: 18(fvec3) Load 450(input.Normal) 322 452: 103(ptr) AccessChain 445(input) 315 323 Store 452 451 324 455: 20(fvec2) Load 454(input.UV) 325 456: 109(ptr) AccessChain 445(input) 101 326 Store 456 455 327 458: 18(fvec3) Load 457(input.Color) 328 459: 103(ptr) AccessChain 445(input) 102 329 Store 459 458 330 461: 18(fvec3) Load 460(input.instancePos) 331 462: 103(ptr) AccessChain 445(input) 287 332 Store 462 461 333 464: 18(fvec3) Load 463(input.instanceRot) 334 465: 103(ptr) AccessChain 445(input) 128 335 Store 465 464 336 468: 8(float) Load 467(input.instanceScale) 337 469: 123(ptr) AccessChain 445(input) 350 338 Store 469 468 339 472: 23(int) Load 471(input.instanceTexIndex) 340 473: 113(ptr) AccessChain 445(input) 112 341 Store 473 472 342 476: 27(VSInput) Load 445(input) 343 Store 475(param) 476 344 477:58(VSOutput) FunctionCall 75(@main(struct-VSInput-vf3-vf3-vf2-vf3-vf3-vf3-f1-i11;) 475(param) 345 Store 474(flattenTemp) 477 346 480: 311(ptr) AccessChain 474(flattenTemp) 162 347 481: 56(fvec4) Load 480 348 Store 479(@entryPointOutput.Pos) 481 349 484: 103(ptr) AccessChain 474(flattenTemp) 315 350 485: 18(fvec3) Load 484 351 Store 483(@entryPointOutput.Normal) 485 352 487: 103(ptr) AccessChain 474(flattenTemp) 101 353 488: 18(fvec3) Load 487 354 Store 486(@entryPointOutput.Color) 488 355 490: 103(ptr) AccessChain 474(flattenTemp) 102 356 491: 18(fvec3) Load 490 357 Store 489(@entryPointOutput.UV) 491 358 493: 103(ptr) AccessChain 474(flattenTemp) 287 359 494: 18(fvec3) Load 493 360 Store 492(@entryPointOutput.ViewVec) 494 361 496: 103(ptr) AccessChain 474(flattenTemp) 128 362 497: 18(fvec3) Load 496 363 Store 495(@entryPointOutput.LightVec) 497 364 Return 365 FunctionEnd 366 Line 1 62 1 36775(@main(struct-VSInput-vf3-vf3-vf2-vf3-vf3-vf3-f1-i11;):58(VSOutput) Function None 72 368 74(input): 55(ptr) FunctionParameter 369 76: Label 370 91(output): 90(ptr) Variable Function 371 124(s): 123(ptr) Variable Function 372 170(c): 123(ptr) Variable Function 373 185(mx): 184(ptr) Variable Function 374 220(my): 184(ptr) Variable Function 375 254(mz): 184(ptr) Variable Function 376 274(rotMat): 184(ptr) Variable Function 377 303(gRotMat): 302(ptr) Variable Function 378 330(locPos): 311(ptr) Variable Function 379 344(pos): 311(ptr) Variable Function 380 409(lPos): 103(ptr) Variable Function 381 80: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 78 382 81: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 79 79 16 16 383 84: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 82 74(input) 85 384 86: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 78 75(@main(struct-VSInput-vf3-vf3-vf2-vf3-vf3-vf3-f1-i11;) 385 87: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 78 386 88: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 89 89 16 16 387 94: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 92 91(output) 85 388 Store 91(output) 98 389 99: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 100 100 16 16 390 104: 103(ptr) AccessChain 74(input) 102 391 105: 18(fvec3) Load 104 392 106: 103(ptr) AccessChain 91(output) 101 393 Store 106 105 394 107: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 108 108 16 16 395 110: 109(ptr) AccessChain 74(input) 101 396 111: 20(fvec2) Load 110 397 114: 113(ptr) AccessChain 74(input) 112 398 115: 23(int) Load 114 399 116: 8(float) ConvertSToF 115 400 117: 8(float) CompositeExtract 111 0 401 118: 8(float) CompositeExtract 111 1 402 119: 18(fvec3) CompositeConstruct 117 118 116 403 120: 103(ptr) AccessChain 91(output) 102 404 Store 120 119 405 121: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 122 122 16 16 406 127: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 125 124(s) 85 407 129: 123(ptr) AccessChain 74(input) 128 16 408 130: 8(float) Load 129 409 164: 163(ptr) AccessChain 159 162 102 410 165: 8(float) Load 164 411 166: 8(float) FAdd 130 165 412 167: 8(float) ExtInst 3(GLSL.std.450) 13(Sin) 166 413 Store 124(s) 167 414 168: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 169 169 16 16 415 173: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 171 170(c) 85 416 174: 123(ptr) AccessChain 74(input) 128 16 417 175: 8(float) Load 174 418 176: 163(ptr) AccessChain 159 162 102 419 177: 8(float) Load 176 420 178: 8(float) FAdd 175 177 421 179: 8(float) ExtInst 3(GLSL.std.450) 14(Cos) 178 422 Store 170(c) 179 423 180: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 181 181 16 16 424 188: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 186 185(mx) 85 425 189: 8(float) Load 170(c) 426 190: 8(float) Load 124(s) 427 191: 8(float) FNegate 190 428 192: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 193 193 16 16 429 194: 8(float) Load 124(s) 430 195: 8(float) Load 170(c) 431 197: 18(fvec3) CompositeConstruct 189 191 95 432 198: 18(fvec3) CompositeConstruct 194 195 95 433 199: 18(fvec3) CompositeConstruct 95 95 196 434 200: 182 CompositeConstruct 197 198 199 435 201: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 181 181 16 16 436 Store 185(mx) 200 437 202: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 203 203 16 16 438 204: 123(ptr) AccessChain 74(input) 128 52 439 205: 8(float) Load 204 440 206: 163(ptr) AccessChain 159 162 102 441 207: 8(float) Load 206 442 208: 8(float) FAdd 205 207 443 209: 8(float) ExtInst 3(GLSL.std.450) 13(Sin) 208 444 Store 124(s) 209 445 210: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 211 211 16 16 446 212: 123(ptr) AccessChain 74(input) 128 52 447 213: 8(float) Load 212 448 214: 163(ptr) AccessChain 159 162 102 449 215: 8(float) Load 214 450 216: 8(float) FAdd 213 215 451 217: 8(float) ExtInst 3(GLSL.std.450) 14(Cos) 216 452 Store 170(c) 217 453 218: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 219 219 16 16 454 223: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 221 220(my) 85 455 224: 8(float) Load 170(c) 456 225: 8(float) Load 124(s) 457 226: 8(float) FNegate 225 458 227: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 228 228 16 16 459 229: 8(float) Load 124(s) 460 230: 8(float) Load 170(c) 461 231: 18(fvec3) CompositeConstruct 224 95 226 462 232: 18(fvec3) CompositeConstruct 95 196 95 463 233: 18(fvec3) CompositeConstruct 229 95 230 464 234: 182 CompositeConstruct 231 232 233 465 235: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 219 219 16 16 466 Store 220(my) 234 467 236: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 237 237 16 16 468 238: 123(ptr) AccessChain 74(input) 128 21 469 239: 8(float) Load 238 470 240: 163(ptr) AccessChain 159 162 102 471 241: 8(float) Load 240 472 242: 8(float) FAdd 239 241 473 243: 8(float) ExtInst 3(GLSL.std.450) 13(Sin) 242 474 Store 124(s) 243 475 244: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 245 245 16 16 476 246: 123(ptr) AccessChain 74(input) 128 21 477 247: 8(float) Load 246 478 248: 163(ptr) AccessChain 159 162 102 479 249: 8(float) Load 248 480 250: 8(float) FAdd 247 249 481 251: 8(float) ExtInst 3(GLSL.std.450) 14(Cos) 250 482 Store 170(c) 251 483 252: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 253 253 16 16 484 257: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 255 254(mz) 85 485 258: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 259 259 16 16 486 260: 8(float) Load 170(c) 487 261: 8(float) Load 124(s) 488 262: 8(float) FNegate 261 489 263: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 264 264 16 16 490 265: 8(float) Load 124(s) 491 266: 8(float) Load 170(c) 492 267: 18(fvec3) CompositeConstruct 196 95 95 493 268: 18(fvec3) CompositeConstruct 95 260 262 494 269: 18(fvec3) CompositeConstruct 95 265 266 495 270: 182 CompositeConstruct 267 268 269 496 271: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 253 253 16 16 497 Store 254(mz) 270 498 272: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 273 273 16 16 499 277: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 275 274(rotMat) 85 500 278: 182 Load 185(mx) 501 279: 182 Load 220(my) 502 280: 182 MatrixTimesMatrix 278 279 503 281: 182 Load 254(mz) 504 282: 182 MatrixTimesMatrix 280 281 505 Store 274(rotMat) 282 506 283: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 284 284 16 16 507 285: 123(ptr) AccessChain 74(input) 128 52 508 286: 8(float) Load 285 509 288: 163(ptr) AccessChain 159 162 287 510 289: 8(float) Load 288 511 290: 8(float) FAdd 286 289 512 291: 8(float) ExtInst 3(GLSL.std.450) 13(Sin) 290 513 Store 124(s) 291 514 292: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 293 293 16 16 515 294: 123(ptr) AccessChain 74(input) 128 52 516 295: 8(float) Load 294 517 296: 163(ptr) AccessChain 159 162 287 518 297: 8(float) Load 296 519 298: 8(float) FAdd 295 297 520 299: 8(float) ExtInst 3(GLSL.std.450) 14(Cos) 298 521 Store 170(c) 299 522 300: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 301 301 16 16 523 306: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 304 303(gRotMat) 85 524 307: 8(float) Load 170(c) 525 308: 8(float) Load 124(s) 526 309: 8(float) FNegate 308 527 310: 56(fvec4) CompositeConstruct 307 95 309 95 528 312: 311(ptr) AccessChain 303(gRotMat) 162 529 Store 312 310 530 313: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 314 314 16 16 531 317: 311(ptr) AccessChain 303(gRotMat) 315 532 Store 317 316 533 318: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 319 319 16 16 534 320: 8(float) Load 124(s) 535 321: 8(float) Load 170(c) 536 322: 56(fvec4) CompositeConstruct 320 95 321 95 537 323: 311(ptr) AccessChain 303(gRotMat) 101 538 Store 323 322 539 324: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 325 325 16 16 540 327: 311(ptr) AccessChain 303(gRotMat) 102 541 Store 327 326 542 328: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 329 329 16 16 543 333: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 331 330(locPos) 85 544 334: 103(ptr) AccessChain 74(input) 162 545 335: 18(fvec3) Load 334 546 336: 182 Load 274(rotMat) 547 337: 18(fvec3) VectorTimesMatrix 335 336 548 338: 8(float) CompositeExtract 337 0 549 339: 8(float) CompositeExtract 337 1 550 340: 8(float) CompositeExtract 337 2 551 341: 56(fvec4) CompositeConstruct 338 339 340 196 552 Store 330(locPos) 341 553 342: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 343 343 16 16 554 347: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 345 344(pos) 85 555 348: 56(fvec4) Load 330(locPos) 556 349: 18(fvec3) VectorShuffle 348 348 0 1 2 557 351: 123(ptr) AccessChain 74(input) 350 558 352: 8(float) Load 351 559 353: 18(fvec3) VectorTimesScalar 349 352 560 354: 103(ptr) AccessChain 74(input) 287 561 355: 18(fvec3) Load 354 562 356: 18(fvec3) FAdd 353 355 563 357: 8(float) CompositeExtract 356 0 564 358: 8(float) CompositeExtract 356 1 565 359: 8(float) CompositeExtract 356 2 566 360: 56(fvec4) CompositeConstruct 357 358 359 196 567 Store 344(pos) 360 568 361: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 362 362 16 16 569 363: 56(fvec4) Load 344(pos) 570 364: 131 Load 303(gRotMat) 571 365: 56(fvec4) VectorTimesMatrix 363 364 572 367: 366(ptr) AccessChain 159 162 315 573 368: 131 Load 367 574 369: 56(fvec4) VectorTimesMatrix 365 368 575 370: 366(ptr) AccessChain 159 162 162 576 371: 131 Load 370 577 372: 56(fvec4) VectorTimesMatrix 369 371 578 373: 311(ptr) AccessChain 91(output) 162 579 Store 373 372 580 374: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 375 375 16 16 581 376: 103(ptr) AccessChain 74(input) 315 582 377: 18(fvec3) Load 376 583 378: 182 Load 274(rotMat) 584 379: 18(fvec3) VectorTimesMatrix 377 378 585 380: 131 Load 303(gRotMat) 586 381: 366(ptr) AccessChain 159 162 315 587 382: 131 Load 381 588 383: 131 MatrixTimesMatrix 380 382 589 384: 56(fvec4) CompositeExtract 383 0 590 385: 18(fvec3) VectorShuffle 384 384 0 1 2 591 386: 56(fvec4) CompositeExtract 383 1 592 387: 18(fvec3) VectorShuffle 386 386 0 1 2 593 388: 56(fvec4) CompositeExtract 383 2 594 389: 18(fvec3) VectorShuffle 388 388 0 1 2 595 390: 182 CompositeConstruct 385 387 389 596 391: 18(fvec3) VectorTimesMatrix 379 390 597 392: 103(ptr) AccessChain 91(output) 315 598 Store 392 391 599 393: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 394 394 16 16 600 395: 103(ptr) AccessChain 74(input) 162 601 396: 18(fvec3) Load 395 602 397: 103(ptr) AccessChain 74(input) 287 603 398: 18(fvec3) Load 397 604 399: 18(fvec3) FAdd 396 398 605 400: 8(float) CompositeExtract 399 0 606 401: 8(float) CompositeExtract 399 1 607 402: 8(float) CompositeExtract 399 2 608 403: 56(fvec4) CompositeConstruct 400 401 402 196 609 404: 366(ptr) AccessChain 159 162 315 610 405: 131 Load 404 611 406: 56(fvec4) VectorTimesMatrix 403 405 612 Store 344(pos) 406 613 407: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 408 408 16 16 614 412: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 410 409(lPos) 85 615 414: 413(ptr) AccessChain 159 162 101 616 415: 56(fvec4) Load 414 617 416: 18(fvec3) VectorShuffle 415 415 0 1 2 618 417: 366(ptr) AccessChain 159 162 315 619 418: 131 Load 417 620 419: 56(fvec4) CompositeExtract 418 0 621 420: 18(fvec3) VectorShuffle 419 419 0 1 2 622 421: 56(fvec4) CompositeExtract 418 1 623 422: 18(fvec3) VectorShuffle 421 421 0 1 2 624 423: 56(fvec4) CompositeExtract 418 2 625 424: 18(fvec3) VectorShuffle 423 423 0 1 2 626 425: 182 CompositeConstruct 420 422 424 627 426: 18(fvec3) VectorTimesMatrix 416 425 628 Store 409(lPos) 426 629 427: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 428 428 16 16 630 429: 18(fvec3) Load 409(lPos) 631 430: 56(fvec4) Load 344(pos) 632 431: 18(fvec3) VectorShuffle 430 430 0 1 2 633 432: 18(fvec3) FSub 429 431 634 433: 103(ptr) AccessChain 91(output) 128 635 Store 433 432 636 434: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 435 435 16 16 637 436: 56(fvec4) Load 344(pos) 638 437: 18(fvec3) VectorShuffle 436 436 0 1 2 639 438: 18(fvec3) FNegate 437 640 439: 103(ptr) AccessChain 91(output) 287 641 Store 439 438 642 440: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 441 441 16 16 643 442:58(VSOutput) Load 91(output) 644 ReturnValue 442 645 FunctionEnd 646