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