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