1
1
spv.forwardFun.frag
2
2
// Module Version 10000
3
3
// Generated by (magic number): 8000a
4
- // Id's are bound by 64
4
+ // Id's are bound by 60
5
5
6
6
Capability Shader
7
7
1: ExtInstImport "GLSL.std.450"
8
8
MemoryModel Logical GLSL450
9
- EntryPoint Fragment 4 "main" 20 30 36 63
9
+ EntryPoint Fragment 4 "main" 20 30 36 59
10
10
ExecutionMode 4 OriginUpperLeft
11
11
Source GLSL 140
12
12
Name 4 "main"
@@ -20,7 +20,7 @@ spv.forwardFun.frag
20
20
Name 27 "f"
21
21
Name 30 "gl_FragColor"
22
22
Name 36 "d"
23
- Name 63 "bigColor"
23
+ Name 59 "bigColor"
24
24
Decorate 10(unreachableReturn() RelaxedPrecision
25
25
Decorate 16(foo(vf4;) RelaxedPrecision
26
26
Decorate 15(bar) RelaxedPrecision
@@ -41,15 +41,11 @@ spv.forwardFun.frag
41
41
Decorate 36(d) RelaxedPrecision
42
42
Decorate 36(d) Location 2
43
43
Decorate 37 RelaxedPrecision
44
- Decorate 44 RelaxedPrecision
45
- Decorate 45 RelaxedPrecision
46
- Decorate 49 RelaxedPrecision
47
- Decorate 50 RelaxedPrecision
44
+ Decorate 52 RelaxedPrecision
45
+ Decorate 55 RelaxedPrecision
48
46
Decorate 56 RelaxedPrecision
49
- Decorate 59 RelaxedPrecision
50
- Decorate 60 RelaxedPrecision
51
- Decorate 63(bigColor) RelaxedPrecision
52
- Decorate 63(bigColor) Location 0
47
+ Decorate 59(bigColor) RelaxedPrecision
48
+ Decorate 59(bigColor) Location 0
53
49
2: TypeVoid
54
50
3: TypeFunction 2
55
51
8: TypeFloat 32
@@ -67,11 +63,11 @@ spv.forwardFun.frag
67
63
38: 8(float) Constant 1082549862
68
64
39: TypeBool
69
65
43: 8(float) Constant 1067030938
70
- 48 : 8(float) Constant 1083179008
71
- 53 : TypeInt 32 0
72
- 54 : 53 (int) Constant 0
73
- 57 : 53 (int) Constant 1
74
- 63 (bigColor): 19(ptr) Variable Input
66
+ 46 : 8(float) Constant 1083179008
67
+ 49 : TypeInt 32 0
68
+ 50 : 49 (int) Constant 0
69
+ 53 : 49 (int) Constant 1
70
+ 59 (bigColor): 19(ptr) Variable Input
75
71
4(main): 2 Function None 3
76
72
5: Label
77
73
18(color): 13(ptr) Variable Function
@@ -97,31 +93,25 @@ spv.forwardFun.frag
97
93
FunctionEnd
98
94
10(unreachableReturn(): 8(float) Function None 9
99
95
11: Label
100
- 44: 26(ptr) Variable Function
101
- 49: 26(ptr) Variable Function
102
96
34: 2 FunctionCall 6(bar()
103
97
37: 8(float) Load 36(d)
104
98
40: 39(bool) FOrdLessThan 37 38
105
99
SelectionMerge 42 None
106
- BranchConditional 40 41 47
100
+ BranchConditional 40 41 45
107
101
41: Label
108
- Store 44 43
109
- 45: 8(float) Load 44
110
- ReturnValue 45
111
- 47: Label
112
- Store 49 48
113
- 50: 8(float) Load 49
114
- ReturnValue 50
102
+ ReturnValue 43
103
+ 45: Label
104
+ ReturnValue 46
115
105
42: Label
116
106
Unreachable
117
107
FunctionEnd
118
108
16(foo(vf4;): 8(float) Function None 14
119
109
15(bar): 13(ptr) FunctionParameter
120
110
17: Label
121
- 55 : 26(ptr) AccessChain 15(bar) 54
122
- 56 : 8(float) Load 55
123
- 58 : 26(ptr) AccessChain 15(bar) 57
124
- 59 : 8(float) Load 58
125
- 60 : 8(float) FAdd 56 59
126
- ReturnValue 60
111
+ 51 : 26(ptr) AccessChain 15(bar) 50
112
+ 52 : 8(float) Load 51
113
+ 54 : 26(ptr) AccessChain 15(bar) 53
114
+ 55 : 8(float) Load 54
115
+ 56 : 8(float) FAdd 52 55
116
+ ReturnValue 56
127
117
FunctionEnd
0 commit comments