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