blob: 5adfc84694a567ee7d909a4ad8d7d4ecbc7e55ed [file] [log] [blame]
$0 = u1[0] (float, L3)
$1 = u1[1] (float, L3)
$2 = u1[2] (float, L3)
$3 = u1[3] (float, L3)
$4 = u2[0] (float, L8)
$5 = u2[1] (float, L8)
$6 = u2[2] (float, L8)
$7 = u2[3] (float, L8)
$8 = u3[0] (float, L17)
$9 = u3[1] (float, L17)
$10 = u3[2] (float, L17)
$11 = u3[3] (float, L17)
$12 = u4[0] (float, L26)
$13 = u4[1] (float, L26)
$14 = u4[2] (float, L26)
$15 = u4[3] (float, L26)
$16 = u4[4] (float, L26)
$17 = u4[5] (float, L26)
$18 = u4[6] (float, L26)
$19 = u4[7] (float, L26)
$20 = u4[8] (float, L26)
$21 = u4[9] (float, L26)
$22 = u4[10] (float, L26)
$23 = u4[11] (float, L26)
$24 = u4[12] (float, L26)
$25 = u4[13] (float, L26)
$26 = u4[14] (float, L26)
$27 = u4[15] (float, L26)
$28 = [main].result (float4 : slot 1/4, L37)
$29 = [main].result (float4 : slot 2/4, L37)
$30 = [main].result (float4 : slot 3/4, L37)
$31 = [main].result (float4 : slot 4/4, L37)
$32 = xy (float2 : slot 1/2, L37)
$33 = xy (float2 : slot 2/2, L37)
$34 = [index_by_literal].result (float, L4)
$35 = [index_by_loop].result (float, L9)
$36 = sum (float, L10)
$37 = i (int, L11)
$38 = [index_by_complex_loop].result (float, L18)
$39 = prod (float, L19)
$40 = i (int, L20)
$41 = [index_out_of_bounds_checked].result (float, L27)
$42 = sum (float, L28)
$43 = f (float, L29)
F0 = float4 main(float2 xy)
F1 = float index_by_literal()
F2 = float index_by_loop()
F3 = float index_by_complex_loop()
F4 = float index_out_of_bounds_checked()
54 registers, 231 instructions:
0 r0 = uniform32 ptr0 0
1 r1 = uniform32 ptr0 4
2 r2 = uniform32 ptr0 8
3 r3 = uniform32 ptr0 C
4 r4 = uniform32 ptr0 10
5 r5 = uniform32 ptr0 14
6 r6 = uniform32 ptr0 18
7 r7 = uniform32 ptr0 1C
8 r8 = uniform32 ptr0 20
9 r9 = uniform32 ptr0 24
10 r10 = uniform32 ptr0 28
11 r11 = uniform32 ptr0 2C
12 r12 = uniform32 ptr0 30
13 r13 = uniform32 ptr0 34
14 r14 = uniform32 ptr0 38
15 r15 = uniform32 ptr0 3C
16 r16 = uniform32 ptr0 40
17 r17 = uniform32 ptr0 44
18 r18 = uniform32 ptr0 48
19 r19 = uniform32 ptr0 4C
20 r20 = uniform32 ptr0 50
21 r21 = uniform32 ptr0 54
22 r22 = uniform32 ptr0 58
23 r23 = uniform32 ptr0 5C
24 r24 = uniform32 ptr0 60
25 r25 = uniform32 ptr0 64
26 r26 = uniform32 ptr0 68
27 r27 = uniform32 ptr0 6C
28 r28 = uniform32 ptr0 70
29 r29 = splat 0 (0)
30 r30 = splat 3F000000 (0.5)
31 r31 = eq_f32 r0 r30
32 r32 = splat 3 (4.2038954e-45)
33 r33 = splat 2 (2.8025969e-45)
34 r34 = add_f32 r7 r8
35 r35 = splat 1 (1.4012985e-45)
36 r36 = add_f32 r6 r34
37 r37 = add_f32 r5 r36
38 r38 = splat 3F800000 (1)
39 r39 = mul_f32 r9 r9
40 r40 = mul_f32 r11 r39
41 r41 = mul_f32 r12 r40
42 r42 = splat C0133333 (-2.3)
43 r43 = splat 3FB33334 (1.4000001)
44 r44 = sub_f32 r29 r14
45 r45 = splat 40A33334 (5.1000004)
46 r46 = sub_f32 r44 r18
47 r47 = splat 410CCCCD (8.8000002)
48 r48 = sub_f32 r46 r21
49 r49 = splat 41480000 (12.5)
50 r50 = sub_f32 r48 r25
51 r51 = splat 4181999A (16.200001)
loop:
52 r52 = index
53 r53 = eq_f32 r52 r30
54 r53 = bit_and r53 r31
55 trace_var 0 r53 r53 $0 = r1
56 trace_var 0 r53 r53 $1 = r2
57 trace_var 0 r53 r53 $2 = r3
58 trace_var 0 r53 r53 $3 = r4
59 trace_var 0 r53 r53 $4 = r5
60 trace_var 0 r53 r53 $5 = r6
61 trace_var 0 r53 r53 $6 = r7
62 trace_var 0 r53 r53 $7 = r8
63 trace_var 0 r53 r53 $8 = r9
64 trace_var 0 r53 r53 $9 = r10
65 trace_var 0 r53 r53 $10 = r11
66 trace_var 0 r53 r53 $11 = r12
67 trace_var 0 r53 r53 $12 = r13
68 trace_var 0 r53 r53 $13 = r14
69 trace_var 0 r53 r53 $14 = r15
70 trace_var 0 r53 r53 $15 = r16
71 trace_var 0 r53 r53 $16 = r17
72 trace_var 0 r53 r53 $17 = r18
73 trace_var 0 r53 r53 $18 = r19
74 trace_var 0 r53 r53 $19 = r20
75 trace_var 0 r53 r53 $20 = r21
76 trace_var 0 r53 r53 $21 = r22
77 trace_var 0 r53 r53 $22 = r23
78 trace_var 0 r53 r53 $23 = r24
79 trace_var 0 r53 r53 $24 = r25
80 trace_var 0 r53 r53 $25 = r26
81 trace_var 0 r53 r53 $26 = r27
82 trace_var 0 r53 r53 $27 = r28
83 trace_enter 0 r53 r53 F0
84 trace_var 0 r53 r53 $32 = r52
85 trace_var 0 r53 r53 $33 = r0
86 trace_scope 0 r53 r53 1
87 trace_line 0 r53 r53 L38
88 trace_enter 0 r53 r53 F1
89 trace_scope 0 r53 r53 1
90 trace_line 0 r53 r53 L5
91 trace_var 0 r53 r53 $34 = r1
92 trace_scope 0 r53 r53 -1
93 trace_exit 0 r53 r53 F1
94 trace_enter 0 r53 r53 F2
95 trace_scope 0 r53 r53 1
96 trace_line 0 r53 r53 L10
97 trace_var 0 r53 r53 $36 = r29
98 trace_line 0 r53 r53 L11
99 trace_scope 0 r53 r53 1
100 trace_var 0 r53 r53 $37 = r32
101 trace_scope 0 r53 r53 1
102 trace_line 0 r53 r53 L12
103 trace_var 0 r53 r53 $36 = r8
104 trace_scope 0 r53 r53 -1
105 trace_line 0 r53 r53 L11
106 trace_var 0 r53 r53 $37 = r33
107 trace_scope 0 r53 r53 1
108 trace_line 0 r53 r53 L12
109 trace_var 0 r53 r53 $36 = r34
110 trace_scope 0 r53 r53 -1
111 trace_line 0 r53 r53 L11
112 trace_var 0 r53 r53 $37 = r35
113 trace_scope 0 r53 r53 1
114 trace_line 0 r53 r53 L12
115 trace_var 0 r53 r53 $36 = r36
116 trace_scope 0 r53 r53 -1
117 trace_line 0 r53 r53 L11
118 trace_var 0 r53 r53 $37 = r29
119 trace_scope 0 r53 r53 1
120 trace_line 0 r53 r53 L12
121 trace_var 0 r53 r53 $36 = r37
122 trace_scope 0 r53 r53 -1
123 trace_line 0 r53 r53 L11
124 trace_scope 0 r53 r53 -1
125 trace_line 0 r53 r53 L14
126 trace_var 0 r53 r53 $35 = r37
127 trace_scope 0 r53 r53 -1
128 trace_exit 0 r53 r53 F2
129 trace_enter 0 r53 r53 F3
130 trace_scope 0 r53 r53 1
131 trace_line 0 r53 r53 L19
132 trace_var 0 r53 r53 $39 = r38
133 trace_line 0 r53 r53 L20
134 trace_scope 0 r53 r53 1
135 trace_var 0 r53 r53 $40 = r29
136 trace_scope 0 r53 r53 1
137 trace_line 0 r53 r53 L21
138 trace_var 0 r53 r53 $39 = r9
139 trace_scope 0 r53 r53 -1
140 trace_line 0 r53 r53 L20
141 trace_var 0 r53 r53 $40 = r35
142 trace_scope 0 r53 r53 1
143 trace_line 0 r53 r53 L21
144 trace_var 0 r53 r53 $39 = r39
145 trace_scope 0 r53 r53 -1
146 trace_line 0 r53 r53 L20
147 trace_var 0 r53 r53 $40 = r33
148 trace_scope 0 r53 r53 1
149 trace_line 0 r53 r53 L21
150 trace_var 0 r53 r53 $39 = r40
151 trace_scope 0 r53 r53 -1
152 trace_line 0 r53 r53 L20
153 trace_var 0 r53 r53 $40 = r32
154 trace_scope 0 r53 r53 1
155 trace_line 0 r53 r53 L21
156 trace_var 0 r53 r53 $39 = r41
157 trace_scope 0 r53 r53 -1
158 trace_line 0 r53 r53 L20
159 trace_scope 0 r53 r53 -1
160 trace_line 0 r53 r53 L23
161 trace_var 0 r53 r53 $38 = r41
162 trace_scope 0 r53 r53 -1
163 trace_exit 0 r53 r53 F3
164 trace_enter 0 r53 r53 F4
165 trace_scope 0 r53 r53 1
166 trace_line 0 r53 r53 L28
167 trace_var 0 r53 r53 $42 = r29
168 trace_line 0 r53 r53 L29
169 trace_scope 0 r53 r53 1
170 trace_var 0 r53 r53 $43 = r42
171 trace_scope 0 r53 r53 1
172 trace_line 0 r53 r53 L30
173 trace_scope 0 r53 r53 -1
174 trace_line 0 r53 r53 L29
175 trace_var 0 r53 r53 $43 = r43
176 trace_scope 0 r53 r53 1
177 trace_line 0 r53 r53 L30
178 trace_scope 0 r53 r53 1
179 trace_line 0 r53 r53 L31
180 trace_var 0 r53 r53 $42 = r44
181 trace_scope 0 r53 r53 -1
182 trace_scope 0 r53 r53 -1
183 trace_line 0 r53 r53 L29
184 trace_var 0 r53 r53 $43 = r45
185 trace_scope 0 r53 r53 1
186 trace_line 0 r53 r53 L30
187 trace_scope 0 r53 r53 1
188 trace_line 0 r53 r53 L31
189 trace_var 0 r53 r53 $42 = r46
190 trace_scope 0 r53 r53 -1
191 trace_scope 0 r53 r53 -1
192 trace_line 0 r53 r53 L29
193 trace_var 0 r53 r53 $43 = r47
194 trace_scope 0 r53 r53 1
195 trace_line 0 r53 r53 L30
196 trace_scope 0 r53 r53 1
197 trace_line 0 r53 r53 L31
198 trace_var 0 r53 r53 $42 = r48
199 trace_scope 0 r53 r53 -1
200 trace_scope 0 r53 r53 -1
201 trace_line 0 r53 r53 L29
202 trace_var 0 r53 r53 $43 = r49
203 trace_scope 0 r53 r53 1
204 trace_line 0 r53 r53 L30
205 trace_scope 0 r53 r53 1
206 trace_line 0 r53 r53 L31
207 trace_var 0 r53 r53 $42 = r50
208 trace_scope 0 r53 r53 -1
209 trace_scope 0 r53 r53 -1
210 trace_line 0 r53 r53 L29
211 trace_var 0 r53 r53 $43 = r51
212 trace_scope 0 r53 r53 1
213 trace_line 0 r53 r53 L30
214 trace_scope 0 r53 r53 -1
215 trace_line 0 r53 r53 L29
216 trace_scope 0 r53 r53 -1
217 trace_line 0 r53 r53 L34
218 trace_var 0 r53 r53 $41 = r50
219 trace_scope 0 r53 r53 -1
220 trace_exit 0 r53 r53 F4
221 trace_var 0 r53 r53 $28 = r1
222 trace_var 0 r53 r53 $29 = r37
223 trace_var 0 r53 r53 $30 = r41
224 trace_var 0 r53 r53 $31 = r50
225 trace_scope 0 r53 r53 -1
226 trace_exit 0 r53 r53 F0
227 store32 ptr1 r1
228 store32 ptr2 r37
229 store32 ptr3 r41
230 store32 ptr4 r50