• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.dead-complex-merge-after-return.vert
2// Module Version 10000
3// Generated by (magic number): 8000a
4// Id's are bound by 36
5
6                              Capability Shader
7               1:             ExtInstImport  "GLSL.std.450"
8                              MemoryModel Logical GLSL450
9                              EntryPoint Vertex 4  "main" 11 27
10                              Source GLSL 450
11                              Name 4  "main"
12                              Name 8  "i"
13                              Name 11  "o"
14                              Name 27  "c"
15                              Decorate 11(o) Location 0
16                              Decorate 27(c) Location 0
17               2:             TypeVoid
18               3:             TypeFunction 2
19               6:             TypeInt 32 1
20               7:             TypePointer Function 6(int)
21               9:      6(int) Constant 0
22              10:             TypePointer Output 6(int)
23           11(o):     10(ptr) Variable Output
24              12:      6(int) Constant 1
25              17:      6(int) Constant 2
26              19:      6(int) Constant 3
27              22:      6(int) Constant 5
28              23:             TypeBool
29              25:      6(int) Constant 4
30              26:             TypePointer Input 6(int)
31           27(c):     26(ptr) Variable Input
32              32:      6(int) Constant 100
33              34:      6(int) Constant 200
34              35:      6(int) Constant 300
35         4(main):           2 Function None 3
36               5:             Label
37            8(i):      7(ptr) Variable Function
38                              Store 8(i) 9
39                              Store 11(o) 12
40                              Branch 13
41              13:             Label
42                              LoopMerge 15 16 None
43                              Branch 14
44              14:             Label
45                              Store 11(o) 17
46                              Return
47              16:             Label
48                              Branch 13
49              15:             Label
50                              Unreachable
51                              FunctionEnd
52