0a48528ec3d8ccb08a24ac3af000a984c8e7a9df
[platform/upstream/glslang.git] / Test / baseResults / hlsl.assoc.frag.out
1 hlsl.assoc.frag
2 Shader version: 450
3 gl_FragCoord origin is upper left
4 0:? Sequence
5 0:8  Function Definition: @PixelShaderFunction(vf4;vf4;vf4;vf4;vf4; ( temp 4-component vector of float)
6 0:8    Function Parameters: 
7 0:8      'a1' ( in 4-component vector of float)
8 0:8      'a2' ( in 4-component vector of float)
9 0:8      'a3' ( in 4-component vector of float)
10 0:8      'a4' ( in 4-component vector of float)
11 0:8      'a5' ( in 4-component vector of float)
12 0:?     Sequence
13 0:9      move second child to first child ( temp 4-component vector of float)
14 0:9        'a1' ( in 4-component vector of float)
15 0:9        move second child to first child ( temp 4-component vector of float)
16 0:9          'a2' ( in 4-component vector of float)
17 0:9          move second child to first child ( temp 4-component vector of float)
18 0:9            'a3' ( in 4-component vector of float)
19 0:9            move second child to first child ( temp 4-component vector of float)
20 0:9              'a4' ( in 4-component vector of float)
21 0:9              'a5' ( in 4-component vector of float)
22 0:10      Branch: Return with expression
23 0:10        add ( temp 4-component vector of float)
24 0:10          add ( temp 4-component vector of float)
25 0:10            add ( temp 4-component vector of float)
26 0:10              add ( temp 4-component vector of float)
27 0:10                'a1' ( in 4-component vector of float)
28 0:10                'a2' ( in 4-component vector of float)
29 0:10              'a3' ( in 4-component vector of float)
30 0:10            'a4' ( in 4-component vector of float)
31 0:10          'a5' ( in 4-component vector of float)
32 0:8  Function Definition: PixelShaderFunction( ( temp void)
33 0:8    Function Parameters: 
34 0:?     Sequence
35 0:8      move second child to first child ( temp 4-component vector of float)
36 0:?         'a1' ( temp 4-component vector of float)
37 0:?         'a1' (layout( location=0) in 4-component vector of float)
38 0:8      move second child to first child ( temp 4-component vector of float)
39 0:?         'a2' ( temp 4-component vector of float)
40 0:?         'a2' (layout( location=1) in 4-component vector of float)
41 0:8      move second child to first child ( temp 4-component vector of float)
42 0:?         'a3' ( temp 4-component vector of float)
43 0:?         'a3' (layout( location=2) in 4-component vector of float)
44 0:8      move second child to first child ( temp 4-component vector of float)
45 0:?         'a4' ( temp 4-component vector of float)
46 0:?         'a4' (layout( location=3) in 4-component vector of float)
47 0:8      move second child to first child ( temp 4-component vector of float)
48 0:?         'a5' ( temp 4-component vector of float)
49 0:?         'a5' (layout( location=4) in 4-component vector of float)
50 0:8      move second child to first child ( temp 4-component vector of float)
51 0:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
52 0:8        Function Call: @PixelShaderFunction(vf4;vf4;vf4;vf4;vf4; ( temp 4-component vector of float)
53 0:?           'a1' ( temp 4-component vector of float)
54 0:?           'a2' ( temp 4-component vector of float)
55 0:?           'a3' ( temp 4-component vector of float)
56 0:?           'a4' ( temp 4-component vector of float)
57 0:?           'a5' ( temp 4-component vector of float)
58 0:?   Linker Objects
59 0:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
60 0:?     'a1' (layout( location=0) in 4-component vector of float)
61 0:?     'a2' (layout( location=1) in 4-component vector of float)
62 0:?     'a3' (layout( location=2) in 4-component vector of float)
63 0:?     'a4' (layout( location=3) in 4-component vector of float)
64 0:?     'a5' (layout( location=4) in 4-component vector of float)
65
66
67 Linked fragment stage:
68
69
70 Shader version: 450
71 gl_FragCoord origin is upper left
72 0:? Sequence
73 0:8  Function Definition: @PixelShaderFunction(vf4;vf4;vf4;vf4;vf4; ( temp 4-component vector of float)
74 0:8    Function Parameters: 
75 0:8      'a1' ( in 4-component vector of float)
76 0:8      'a2' ( in 4-component vector of float)
77 0:8      'a3' ( in 4-component vector of float)
78 0:8      'a4' ( in 4-component vector of float)
79 0:8      'a5' ( in 4-component vector of float)
80 0:?     Sequence
81 0:9      move second child to first child ( temp 4-component vector of float)
82 0:9        'a1' ( in 4-component vector of float)
83 0:9        move second child to first child ( temp 4-component vector of float)
84 0:9          'a2' ( in 4-component vector of float)
85 0:9          move second child to first child ( temp 4-component vector of float)
86 0:9            'a3' ( in 4-component vector of float)
87 0:9            move second child to first child ( temp 4-component vector of float)
88 0:9              'a4' ( in 4-component vector of float)
89 0:9              'a5' ( in 4-component vector of float)
90 0:10      Branch: Return with expression
91 0:10        add ( temp 4-component vector of float)
92 0:10          add ( temp 4-component vector of float)
93 0:10            add ( temp 4-component vector of float)
94 0:10              add ( temp 4-component vector of float)
95 0:10                'a1' ( in 4-component vector of float)
96 0:10                'a2' ( in 4-component vector of float)
97 0:10              'a3' ( in 4-component vector of float)
98 0:10            'a4' ( in 4-component vector of float)
99 0:10          'a5' ( in 4-component vector of float)
100 0:8  Function Definition: PixelShaderFunction( ( temp void)
101 0:8    Function Parameters: 
102 0:?     Sequence
103 0:8      move second child to first child ( temp 4-component vector of float)
104 0:?         'a1' ( temp 4-component vector of float)
105 0:?         'a1' (layout( location=0) in 4-component vector of float)
106 0:8      move second child to first child ( temp 4-component vector of float)
107 0:?         'a2' ( temp 4-component vector of float)
108 0:?         'a2' (layout( location=1) in 4-component vector of float)
109 0:8      move second child to first child ( temp 4-component vector of float)
110 0:?         'a3' ( temp 4-component vector of float)
111 0:?         'a3' (layout( location=2) in 4-component vector of float)
112 0:8      move second child to first child ( temp 4-component vector of float)
113 0:?         'a4' ( temp 4-component vector of float)
114 0:?         'a4' (layout( location=3) in 4-component vector of float)
115 0:8      move second child to first child ( temp 4-component vector of float)
116 0:?         'a5' ( temp 4-component vector of float)
117 0:?         'a5' (layout( location=4) in 4-component vector of float)
118 0:8      move second child to first child ( temp 4-component vector of float)
119 0:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
120 0:8        Function Call: @PixelShaderFunction(vf4;vf4;vf4;vf4;vf4; ( temp 4-component vector of float)
121 0:?           'a1' ( temp 4-component vector of float)
122 0:?           'a2' ( temp 4-component vector of float)
123 0:?           'a3' ( temp 4-component vector of float)
124 0:?           'a4' ( temp 4-component vector of float)
125 0:?           'a5' ( temp 4-component vector of float)
126 0:?   Linker Objects
127 0:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
128 0:?     'a1' (layout( location=0) in 4-component vector of float)
129 0:?     'a2' (layout( location=1) in 4-component vector of float)
130 0:?     'a3' (layout( location=2) in 4-component vector of float)
131 0:?     'a4' (layout( location=3) in 4-component vector of float)
132 0:?     'a5' (layout( location=4) in 4-component vector of float)
133
134 // Module Version 10000
135 // Generated by (magic number): 80001
136 // Id's are bound by 58
137
138                               Capability Shader
139                1:             ExtInstImport  "GLSL.std.450"
140                               MemoryModel Logical GLSL450
141                               EntryPoint Fragment 4  "PixelShaderFunction" 31 34 37 40 43 46
142                               ExecutionMode 4 OriginUpperLeft
143                               Name 4  "PixelShaderFunction"
144                               Name 15  "@PixelShaderFunction(vf4;vf4;vf4;vf4;vf4;"
145                               Name 10  "a1"
146                               Name 11  "a2"
147                               Name 12  "a3"
148                               Name 13  "a4"
149                               Name 14  "a5"
150                               Name 29  "a1"
151                               Name 31  "a1"
152                               Name 33  "a2"
153                               Name 34  "a2"
154                               Name 36  "a3"
155                               Name 37  "a3"
156                               Name 39  "a4"
157                               Name 40  "a4"
158                               Name 42  "a5"
159                               Name 43  "a5"
160                               Name 46  "@entryPointOutput"
161                               Name 47  "param"
162                               Name 49  "param"
163                               Name 51  "param"
164                               Name 53  "param"
165                               Name 55  "param"
166                               Decorate 31(a1) Location 0
167                               Decorate 34(a2) Location 1
168                               Decorate 37(a3) Location 2
169                               Decorate 40(a4) Location 3
170                               Decorate 43(a5) Location 4
171                               Decorate 46(@entryPointOutput) Location 0
172                2:             TypeVoid
173                3:             TypeFunction 2
174                6:             TypeFloat 32
175                7:             TypeVector 6(float) 4
176                8:             TypePointer Function 7(fvec4)
177                9:             TypeFunction 7(fvec4) 8(ptr) 8(ptr) 8(ptr) 8(ptr) 8(ptr)
178               30:             TypePointer Input 7(fvec4)
179           31(a1):     30(ptr) Variable Input
180           34(a2):     30(ptr) Variable Input
181           37(a3):     30(ptr) Variable Input
182           40(a4):     30(ptr) Variable Input
183           43(a5):     30(ptr) Variable Input
184               45:             TypePointer Output 7(fvec4)
185 46(@entryPointOutput):     45(ptr) Variable Output
186 4(PixelShaderFunction):           2 Function None 3
187                5:             Label
188           29(a1):      8(ptr) Variable Function
189           33(a2):      8(ptr) Variable Function
190           36(a3):      8(ptr) Variable Function
191           39(a4):      8(ptr) Variable Function
192           42(a5):      8(ptr) Variable Function
193        47(param):      8(ptr) Variable Function
194        49(param):      8(ptr) Variable Function
195        51(param):      8(ptr) Variable Function
196        53(param):      8(ptr) Variable Function
197        55(param):      8(ptr) Variable Function
198               32:    7(fvec4) Load 31(a1)
199                               Store 29(a1) 32
200               35:    7(fvec4) Load 34(a2)
201                               Store 33(a2) 35
202               38:    7(fvec4) Load 37(a3)
203                               Store 36(a3) 38
204               41:    7(fvec4) Load 40(a4)
205                               Store 39(a4) 41
206               44:    7(fvec4) Load 43(a5)
207                               Store 42(a5) 44
208               48:    7(fvec4) Load 29(a1)
209                               Store 47(param) 48
210               50:    7(fvec4) Load 33(a2)
211                               Store 49(param) 50
212               52:    7(fvec4) Load 36(a3)
213                               Store 51(param) 52
214               54:    7(fvec4) Load 39(a4)
215                               Store 53(param) 54
216               56:    7(fvec4) Load 42(a5)
217                               Store 55(param) 56
218               57:    7(fvec4) FunctionCall 15(@PixelShaderFunction(vf4;vf4;vf4;vf4;vf4;) 47(param) 49(param) 51(param) 53(param) 55(param)
219                               Store 46(@entryPointOutput) 57
220                               Return
221                               FunctionEnd
222 15(@PixelShaderFunction(vf4;vf4;vf4;vf4;vf4;):    7(fvec4) Function None 9
223           10(a1):      8(ptr) FunctionParameter
224           11(a2):      8(ptr) FunctionParameter
225           12(a3):      8(ptr) FunctionParameter
226           13(a4):      8(ptr) FunctionParameter
227           14(a5):      8(ptr) FunctionParameter
228               16:             Label
229               17:    7(fvec4) Load 14(a5)
230                               Store 13(a4) 17
231                               Store 12(a3) 17
232                               Store 11(a2) 17
233                               Store 10(a1) 17
234               18:    7(fvec4) Load 10(a1)
235               19:    7(fvec4) Load 11(a2)
236               20:    7(fvec4) FAdd 18 19
237               21:    7(fvec4) Load 12(a3)
238               22:    7(fvec4) FAdd 20 21
239               23:    7(fvec4) Load 13(a4)
240               24:    7(fvec4) FAdd 22 23
241               25:    7(fvec4) Load 14(a5)
242               26:    7(fvec4) FAdd 24 25
243                               ReturnValue 26
244                               FunctionEnd