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