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