cd0dbbf5d7358c1a794e094b2a24e791bc428b19
[platform/upstream/glslang.git] / Test / baseResults / hlsl.matNx1.frag.out
1 hlsl.matNx1.frag
2 Shader version: 450
3 gl_FragCoord origin is upper left
4 0:? Sequence
5 0:3  Function Definition: TestMatNx1( ( temp void)
6 0:3    Function Parameters: 
7 0:?     Sequence
8 0:13      Sequence
9 0:13        move second child to first child ( temp 1X1 matrix of float)
10 0:13          'r00' ( temp 1X1 matrix of float)
11 0:13          transpose ( temp 1X1 matrix of float)
12 0:13            'f1x1' ( temp 1X1 matrix of float)
13 0:14      Sequence
14 0:14        move second child to first child ( temp 1X2 matrix of float)
15 0:14          'r01' ( temp 1X2 matrix of float)
16 0:14          transpose ( temp 1X2 matrix of float)
17 0:14            'f2x1' ( temp 2X1 matrix of float)
18 0:15      Sequence
19 0:15        move second child to first child ( temp 1X3 matrix of float)
20 0:15          'r02' ( temp 1X3 matrix of float)
21 0:15          transpose ( temp 1X3 matrix of float)
22 0:15            'f3x1' ( temp 3X1 matrix of float)
23 0:16      Sequence
24 0:16        move second child to first child ( temp 1X4 matrix of float)
25 0:16          'r03' ( temp 1X4 matrix of float)
26 0:16          transpose ( temp 1X4 matrix of float)
27 0:16            'f4x1' ( temp 4X1 matrix of float)
28 0:18      Sequence
29 0:18        move second child to first child ( temp 1X1 matrix of float)
30 0:18          'r10' ( temp 1X1 matrix of float)
31 0:18          transpose ( temp 1X1 matrix of float)
32 0:18            'f1x1' ( temp 1X1 matrix of float)
33 0:19      Sequence
34 0:19        move second child to first child ( temp 2X1 matrix of float)
35 0:19          'r11' ( temp 2X1 matrix of float)
36 0:19          transpose ( temp 2X1 matrix of float)
37 0:19            'f1x2' ( temp 1X2 matrix of float)
38 0:20      Sequence
39 0:20        move second child to first child ( temp 3X1 matrix of float)
40 0:20          'r12' ( temp 3X1 matrix of float)
41 0:20          transpose ( temp 3X1 matrix of float)
42 0:20            'f1x3' ( temp 1X3 matrix of float)
43 0:21      Sequence
44 0:21        move second child to first child ( temp 4X1 matrix of float)
45 0:21          'r13' ( temp 4X1 matrix of float)
46 0:21          transpose ( temp 4X1 matrix of float)
47 0:21            'f1x4' ( temp 1X4 matrix of float)
48 0:27  Function Definition: @main( ( temp structure{ temp 4-component vector of float color})
49 0:27    Function Parameters: 
50 0:?     Sequence
51 0:29      move second child to first child ( temp 4-component vector of float)
52 0:29        color: direct index for structure ( temp 4-component vector of float)
53 0:29          'ps_output' ( temp structure{ temp 4-component vector of float color})
54 0:29          Constant:
55 0:29            0 (const int)
56 0:29        Constant:
57 0:29          1.000000
58 0:29          1.000000
59 0:29          1.000000
60 0:29          1.000000
61 0:30      Branch: Return with expression
62 0:30        'ps_output' ( temp structure{ temp 4-component vector of float color})
63 0:27  Function Definition: main( ( temp void)
64 0:27    Function Parameters: 
65 0:?     Sequence
66 0:27      Sequence
67 0:27        move second child to first child ( temp 4-component vector of float)
68 0:?           'color' (layout( location=0) out 4-component vector of float)
69 0:27          color: direct index for structure ( temp 4-component vector of float)
70 0:27            Function Call: @main( ( temp structure{ temp 4-component vector of float color})
71 0:27            Constant:
72 0:27              0 (const int)
73 0:?   Linker Objects
74 0:?     'color' (layout( location=0) out 4-component vector of float)
75
76
77 Linked fragment stage:
78
79
80 Shader version: 450
81 gl_FragCoord origin is upper left
82 0:? Sequence
83 0:3  Function Definition: TestMatNx1( ( temp void)
84 0:3    Function Parameters: 
85 0:?     Sequence
86 0:13      Sequence
87 0:13        move second child to first child ( temp 1X1 matrix of float)
88 0:13          'r00' ( temp 1X1 matrix of float)
89 0:13          transpose ( temp 1X1 matrix of float)
90 0:13            'f1x1' ( temp 1X1 matrix of float)
91 0:14      Sequence
92 0:14        move second child to first child ( temp 1X2 matrix of float)
93 0:14          'r01' ( temp 1X2 matrix of float)
94 0:14          transpose ( temp 1X2 matrix of float)
95 0:14            'f2x1' ( temp 2X1 matrix of float)
96 0:15      Sequence
97 0:15        move second child to first child ( temp 1X3 matrix of float)
98 0:15          'r02' ( temp 1X3 matrix of float)
99 0:15          transpose ( temp 1X3 matrix of float)
100 0:15            'f3x1' ( temp 3X1 matrix of float)
101 0:16      Sequence
102 0:16        move second child to first child ( temp 1X4 matrix of float)
103 0:16          'r03' ( temp 1X4 matrix of float)
104 0:16          transpose ( temp 1X4 matrix of float)
105 0:16            'f4x1' ( temp 4X1 matrix of float)
106 0:18      Sequence
107 0:18        move second child to first child ( temp 1X1 matrix of float)
108 0:18          'r10' ( temp 1X1 matrix of float)
109 0:18          transpose ( temp 1X1 matrix of float)
110 0:18            'f1x1' ( temp 1X1 matrix of float)
111 0:19      Sequence
112 0:19        move second child to first child ( temp 2X1 matrix of float)
113 0:19          'r11' ( temp 2X1 matrix of float)
114 0:19          transpose ( temp 2X1 matrix of float)
115 0:19            'f1x2' ( temp 1X2 matrix of float)
116 0:20      Sequence
117 0:20        move second child to first child ( temp 3X1 matrix of float)
118 0:20          'r12' ( temp 3X1 matrix of float)
119 0:20          transpose ( temp 3X1 matrix of float)
120 0:20            'f1x3' ( temp 1X3 matrix of float)
121 0:21      Sequence
122 0:21        move second child to first child ( temp 4X1 matrix of float)
123 0:21          'r13' ( temp 4X1 matrix of float)
124 0:21          transpose ( temp 4X1 matrix of float)
125 0:21            'f1x4' ( temp 1X4 matrix of float)
126 0:27  Function Definition: @main( ( temp structure{ temp 4-component vector of float color})
127 0:27    Function Parameters: 
128 0:?     Sequence
129 0:29      move second child to first child ( temp 4-component vector of float)
130 0:29        color: direct index for structure ( temp 4-component vector of float)
131 0:29          'ps_output' ( temp structure{ temp 4-component vector of float color})
132 0:29          Constant:
133 0:29            0 (const int)
134 0:29        Constant:
135 0:29          1.000000
136 0:29          1.000000
137 0:29          1.000000
138 0:29          1.000000
139 0:30      Branch: Return with expression
140 0:30        'ps_output' ( temp structure{ temp 4-component vector of float color})
141 0:27  Function Definition: main( ( temp void)
142 0:27    Function Parameters: 
143 0:?     Sequence
144 0:27      Sequence
145 0:27        move second child to first child ( temp 4-component vector of float)
146 0:?           'color' (layout( location=0) out 4-component vector of float)
147 0:27          color: direct index for structure ( temp 4-component vector of float)
148 0:27            Function Call: @main( ( temp structure{ temp 4-component vector of float color})
149 0:27            Constant:
150 0:27              0 (const int)
151 0:?   Linker Objects
152 0:?     'color' (layout( location=0) out 4-component vector of float)
153
154 // Module Version 10000
155 // Generated by (magic number): 80001
156 // Id's are bound by 77
157
158                               Capability Shader
159                1:             ExtInstImport  "GLSL.std.450"
160                               MemoryModel Logical GLSL450
161                               EntryPoint Fragment 4  "main" 74
162                               ExecutionMode 4 OriginUpperLeft
163                               Name 4  "main"
164                               Name 6  "TestMatNx1("
165                               Name 10  "PS_OUTPUT"
166                               MemberName 10(PS_OUTPUT) 0  "color"
167                               Name 12  "@main("
168                               Name 17  "r00"
169                               Name 18  "f1x1"
170                               Name 24  "r01"
171                               Name 27  "f2x1"
172                               Name 33  "r02"
173                               Name 36  "f3x1"
174                               Name 41  "r03"
175                               Name 44  "f4x1"
176                               Name 47  "r10"
177                               Name 50  "r11"
178                               Name 51  "f1x2"
179                               Name 54  "r12"
180                               Name 55  "f1x3"
181                               Name 58  "r13"
182                               Name 59  "f1x4"
183                               Name 63  "ps_output"
184                               Name 74  "color"
185                               Decorate 74(color) Location 0
186                2:             TypeVoid
187                3:             TypeFunction 2
188                8:             TypeFloat 32
189                9:             TypeVector 8(float) 4
190    10(PS_OUTPUT):             TypeStruct 9(fvec4)
191               11:             TypeFunction 10(PS_OUTPUT)
192               14:             TypeVector 8(float) 1
193               15:             TypeMatrix 14(fvec) 1
194               16:             TypePointer Function 15
195               21:             TypeVector 8(float) 2
196               22:             TypeMatrix 21(fvec2) 1
197               23:             TypePointer Function 22
198               25:             TypeMatrix 14(fvec) 2
199               26:             TypePointer Function 25
200               30:             TypeVector 8(float) 3
201               31:             TypeMatrix 30(fvec3) 1
202               32:             TypePointer Function 31
203               34:             TypeMatrix 14(fvec) 3
204               35:             TypePointer Function 34
205               39:             TypeMatrix 9(fvec4) 1
206               40:             TypePointer Function 39
207               42:             TypeMatrix 14(fvec) 4
208               43:             TypePointer Function 42
209               62:             TypePointer Function 10(PS_OUTPUT)
210               64:             TypeInt 32 1
211               65:     64(int) Constant 0
212               66:    8(float) Constant 1065353216
213               67:    9(fvec4) ConstantComposite 66 66 66 66
214               68:             TypePointer Function 9(fvec4)
215               73:             TypePointer Output 9(fvec4)
216        74(color):     73(ptr) Variable Output
217          4(main):           2 Function None 3
218                5:             Label
219               75:10(PS_OUTPUT) FunctionCall 12(@main()
220               76:    9(fvec4) CompositeExtract 75 0
221                               Store 74(color) 76
222                               Return
223                               FunctionEnd
224   6(TestMatNx1():           2 Function None 3
225                7:             Label
226          17(r00):     16(ptr) Variable Function
227         18(f1x1):     16(ptr) Variable Function
228          24(r01):     23(ptr) Variable Function
229         27(f2x1):     26(ptr) Variable Function
230          33(r02):     32(ptr) Variable Function
231         36(f3x1):     35(ptr) Variable Function
232          41(r03):     40(ptr) Variable Function
233         44(f4x1):     43(ptr) Variable Function
234          47(r10):     16(ptr) Variable Function
235          50(r11):     26(ptr) Variable Function
236         51(f1x2):     23(ptr) Variable Function
237          54(r12):     35(ptr) Variable Function
238         55(f1x3):     32(ptr) Variable Function
239          58(r13):     43(ptr) Variable Function
240         59(f1x4):     40(ptr) Variable Function
241               19:          15 Load 18(f1x1)
242               20:          15 Transpose 19
243                               Store 17(r00) 20
244               28:          25 Load 27(f2x1)
245               29:          22 Transpose 28
246                               Store 24(r01) 29
247               37:          34 Load 36(f3x1)
248               38:          31 Transpose 37
249                               Store 33(r02) 38
250               45:          42 Load 44(f4x1)
251               46:          39 Transpose 45
252                               Store 41(r03) 46
253               48:          15 Load 18(f1x1)
254               49:          15 Transpose 48
255                               Store 47(r10) 49
256               52:          22 Load 51(f1x2)
257               53:          25 Transpose 52
258                               Store 50(r11) 53
259               56:          31 Load 55(f1x3)
260               57:          34 Transpose 56
261                               Store 54(r12) 57
262               60:          39 Load 59(f1x4)
263               61:          42 Transpose 60
264                               Store 58(r13) 61
265                               Return
266                               FunctionEnd
267       12(@main():10(PS_OUTPUT) Function None 11
268               13:             Label
269    63(ps_output):     62(ptr) Variable Function
270               69:     68(ptr) AccessChain 63(ps_output) 65
271                               Store 69 67
272               70:10(PS_OUTPUT) Load 63(ps_output)
273                               ReturnValue 70
274                               FunctionEnd