skia2/tests/sksl/runtime/PrecisionQualifiers.skvm
John Stiles fb0fa24e31 Remove VarType from trace_var opcode.
This is redundant information now that we have SkVMSlotInfo.

Change-Id: Ia05b1eaa722023e719042c83255708aa9debed61
Bug: skia:12614
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/473777
Commit-Queue: John Stiles <johnstiles@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2021-11-20 01:52:40 +00:00

383 lines
12 KiB
Plaintext

$0 = colorGreen (float4 : slot 1/4, L3)
$1 = colorGreen (float4 : slot 2/4, L3)
$2 = colorGreen (float4 : slot 3/4, L3)
$3 = colorGreen (float4 : slot 4/4, L3)
$4 = colorRed (float4 : slot 1/4, L3)
$5 = colorRed (float4 : slot 2/4, L3)
$6 = colorRed (float4 : slot 3/4, L3)
$7 = colorRed (float4 : slot 4/4, L3)
$8 = coords (float2 : slot 1/2, L57)
$9 = coords (float2 : slot 2/2, L57)
$10 = zero (float4 : slot 1/4, L58)
$11 = zero (float4 : slot 2/4, L58)
$12 = zero (float4 : slot 3/4, L58)
$13 = zero (float4 : slot 4/4, L58)
$14 = one (float4 : slot 1/4, L59)
$15 = one (float4 : slot 2/4, L59)
$16 = one (float4 : slot 3/4, L59)
$17 = one (float4 : slot 4/4, L59)
$18 = green (float4 : slot 1/4, L60)
$19 = green (float4 : slot 2/4, L60)
$20 = green (float4 : slot 3/4, L60)
$21 = green (float4 : slot 4/4, L60)
$22 = red (float4 : slot 1/4, L63)
$23 = red (float4 : slot 2/4, L63)
$24 = red (float4 : slot 3/4, L63)
$25 = red (float4 : slot 4/4, L63)
$26 = mp (float, L6)
$27 = hp (float, L7)
$28 = ihp (int, L8)
$29 = imp (int, L9)
$30 = mp2 (float2 : slot 1/2, L15)
$31 = mp2 (float2 : slot 2/2, L15)
$32 = hp2 (float2 : slot 1/2, L16)
$33 = hp2 (float2 : slot 2/2, L16)
$34 = mp3 (float3 : slot 1/3, L17)
$35 = mp3 (float3 : slot 2/3, L17)
$36 = mp3 (float3 : slot 3/3, L17)
$37 = hp3 (float3 : slot 1/3, L18)
$38 = hp3 (float3 : slot 2/3, L18)
$39 = hp3 (float3 : slot 3/3, L18)
$40 = mp4 (float4 : slot 1/4, L19)
$41 = mp4 (float4 : slot 2/4, L19)
$42 = mp4 (float4 : slot 3/4, L19)
$43 = mp4 (float4 : slot 4/4, L19)
$44 = hp4 (float4 : slot 1/4, L20)
$45 = hp4 (float4 : slot 2/4, L20)
$46 = hp4 (float4 : slot 3/4, L20)
$47 = hp4 (float4 : slot 4/4, L20)
$48 = ihp2 (int2 : slot 1/2, L22)
$49 = ihp2 (int2 : slot 2/2, L22)
$50 = imp2 (int2 : slot 1/2, L23)
$51 = imp2 (int2 : slot 2/2, L23)
$52 = ihp3 (int3 : slot 1/3, L24)
$53 = ihp3 (int3 : slot 2/3, L24)
$54 = ihp3 (int3 : slot 3/3, L24)
$55 = imp3 (int3 : slot 1/3, L25)
$56 = imp3 (int3 : slot 2/3, L25)
$57 = imp3 (int3 : slot 3/3, L25)
$58 = ihp4 (int4 : slot 1/4, L26)
$59 = ihp4 (int4 : slot 2/4, L26)
$60 = ihp4 (int4 : slot 3/4, L26)
$61 = ihp4 (int4 : slot 4/4, L26)
$62 = imp4 (int4 : slot 1/4, L27)
$63 = imp4 (int4 : slot 2/4, L27)
$64 = imp4 (int4 : slot 3/4, L27)
$65 = imp4 (int4 : slot 4/4, L27)
$66 = mp2 (float2x2 : slot 1/4, L34)
$67 = mp2 (float2x2 : slot 2/4, L34)
$68 = mp2 (float2x2 : slot 3/4, L34)
$69 = mp2 (float2x2 : slot 4/4, L34)
$70 = hp2 (float2x2 : slot 1/4, L35)
$71 = hp2 (float2x2 : slot 2/4, L35)
$72 = hp2 (float2x2 : slot 3/4, L35)
$73 = hp2 (float2x2 : slot 4/4, L35)
$74 = mp3 (float3x3 : slot 1/9, L36)
$75 = mp3 (float3x3 : slot 2/9, L36)
$76 = mp3 (float3x3 : slot 3/9, L36)
$77 = mp3 (float3x3 : slot 4/9, L36)
$78 = mp3 (float3x3 : slot 5/9, L36)
$79 = mp3 (float3x3 : slot 6/9, L36)
$80 = mp3 (float3x3 : slot 7/9, L36)
$81 = mp3 (float3x3 : slot 8/9, L36)
$82 = mp3 (float3x3 : slot 9/9, L36)
$83 = hp3 (float3x3 : slot 1/9, L37)
$84 = hp3 (float3x3 : slot 2/9, L37)
$85 = hp3 (float3x3 : slot 3/9, L37)
$86 = hp3 (float3x3 : slot 4/9, L37)
$87 = hp3 (float3x3 : slot 5/9, L37)
$88 = hp3 (float3x3 : slot 6/9, L37)
$89 = hp3 (float3x3 : slot 7/9, L37)
$90 = hp3 (float3x3 : slot 8/9, L37)
$91 = hp3 (float3x3 : slot 9/9, L37)
$92 = mp4 (float4x4 : slot 1/16, L38)
$93 = mp4 (float4x4 : slot 2/16, L38)
$94 = mp4 (float4x4 : slot 3/16, L38)
$95 = mp4 (float4x4 : slot 4/16, L38)
$96 = mp4 (float4x4 : slot 5/16, L38)
$97 = mp4 (float4x4 : slot 6/16, L38)
$98 = mp4 (float4x4 : slot 7/16, L38)
$99 = mp4 (float4x4 : slot 8/16, L38)
$100 = mp4 (float4x4 : slot 9/16, L38)
$101 = mp4 (float4x4 : slot 10/16, L38)
$102 = mp4 (float4x4 : slot 11/16, L38)
$103 = mp4 (float4x4 : slot 12/16, L38)
$104 = mp4 (float4x4 : slot 13/16, L38)
$105 = mp4 (float4x4 : slot 14/16, L38)
$106 = mp4 (float4x4 : slot 15/16, L38)
$107 = mp4 (float4x4 : slot 16/16, L38)
$108 = hp4 (float4x4 : slot 1/16, L39)
$109 = hp4 (float4x4 : slot 2/16, L39)
$110 = hp4 (float4x4 : slot 3/16, L39)
$111 = hp4 (float4x4 : slot 4/16, L39)
$112 = hp4 (float4x4 : slot 5/16, L39)
$113 = hp4 (float4x4 : slot 6/16, L39)
$114 = hp4 (float4x4 : slot 7/16, L39)
$115 = hp4 (float4x4 : slot 8/16, L39)
$116 = hp4 (float4x4 : slot 9/16, L39)
$117 = hp4 (float4x4 : slot 10/16, L39)
$118 = hp4 (float4x4 : slot 11/16, L39)
$119 = hp4 (float4x4 : slot 12/16, L39)
$120 = hp4 (float4x4 : slot 13/16, L39)
$121 = hp4 (float4x4 : slot 14/16, L39)
$122 = hp4 (float4x4 : slot 15/16, L39)
$123 = hp4 (float4x4 : slot 16/16, L39)
$124 = mf[0] (float, L45)
$125 = hf[0] (float, L46)
$126 = mv[0] (float2 : slot 1/2, L47)
$127 = mv[0] (float2 : slot 2/2, L47)
$128 = mv[1] (float2 : slot 1/2, L47)
$129 = mv[1] (float2 : slot 2/2, L47)
$130 = hv[0] (float2 : slot 1/2, L48)
$131 = hv[0] (float2 : slot 2/2, L48)
$132 = hv[1] (float2 : slot 1/2, L48)
$133 = hv[1] (float2 : slot 2/2, L48)
$134 = value (float, L53)
$135 = value (float, L54)
$136 = value (float, L55)
F0 = float4 main(float2 coords)
F1 = bool test_scalar()
F2 = bool test_vector()
F3 = bool test_matrix()
F4 = bool test_array()
F5 = bool highp_param(float value)
F6 = bool mediump_param(half value)
F7 = bool lowp_param(half value)
22 registers, 234 instructions:
0 r0 = splat 3F000000 (0.5)
1 r1 = splat 42C90000 (100.5)
2 r2 = uniform32 ptr0 0
3 r3 = uniform32 ptr0 4
4 r4 = uniform32 ptr0 8
5 r5 = uniform32 ptr0 C
6 r6 = uniform32 ptr0 10
7 r7 = uniform32 ptr0 14
8 r8 = uniform32 ptr0 18
9 r9 = uniform32 ptr0 1C
10 r10 = uniform32 ptr0 20
11 r11 = splat 0 (0)
12 r12 = eq_f32 r1 r2
13 r13 = splat 3F800000 (1)
14 r14 = splat 2 (2.8025969e-45)
15 r15 = splat 40000000 (2)
16 r16 = splat 40400000 (3)
17 r17 = splat 40800000 (4)
18 r18 = splat 3 (4.2038954e-45)
19 r19 = splat 4 (5.6051939e-45)
loop:
20 r20 = index
21 r21 = eq_f32 r1 r20
22 r21 = bit_and r21 r12
23 trace_var r21 $0 = r3
24 trace_var r21 $1 = r4
25 trace_var r21 $2 = r5
26 trace_var r21 $3 = r6
27 trace_var r21 $4 = r7
28 trace_var r21 $5 = r8
29 trace_var r21 $6 = r9
30 trace_var r21 $7 = r10
31 trace_call r21 F0 (enter)
32 trace_var r21 $8 = r20
33 trace_var r21 $9 = r2
34 trace_line r21 L58
35 trace_var r21 $10 = r11
36 trace_var r21 $11 = r11
37 trace_var r21 $12 = r11
38 trace_var r21 $13 = r11
39 trace_line r21 L59
40 trace_var r21 $14 = r13
41 trace_var r21 $15 = r13
42 trace_var r21 $16 = r13
43 trace_var r21 $17 = r13
44 trace_line r21 L60
45 trace_var r21 $18 = r3
46 trace_var r21 $19 = r4
47 trace_var r21 $20 = r5
48 trace_var r21 $21 = r6
49 trace_line r21 L61
50 trace_line r21 L63
51 trace_var r21 $22 = r7
52 trace_var r21 $23 = r8
53 trace_var r21 $24 = r9
54 trace_var r21 $25 = r10
55 trace_line r21 L64
56 trace_line r21 L66
57 trace_call r21 F1 (enter)
58 trace_line r21 L6
59 trace_var r21 $26 = r0
60 trace_line r21 L7
61 trace_var r21 $27 = r0
62 trace_line r21 L8
63 trace_var r21 $28 = r14
64 trace_line r21 L9
65 trace_var r21 $29 = r14
66 trace_line r21 L11
67 trace_call r21 F1 (exit)
68 trace_call r21 F2 (enter)
69 trace_line r21 L15
70 trace_var r21 $30 = r15
71 trace_var r21 $31 = r15
72 trace_line r21 L16
73 trace_var r21 $32 = r15
74 trace_var r21 $33 = r15
75 trace_line r21 L17
76 trace_var r21 $34 = r16
77 trace_var r21 $35 = r16
78 trace_var r21 $36 = r16
79 trace_line r21 L18
80 trace_var r21 $37 = r16
81 trace_var r21 $38 = r16
82 trace_var r21 $39 = r16
83 trace_line r21 L19
84 trace_var r21 $40 = r17
85 trace_var r21 $41 = r17
86 trace_var r21 $42 = r17
87 trace_var r21 $43 = r17
88 trace_line r21 L20
89 trace_var r21 $44 = r17
90 trace_var r21 $45 = r17
91 trace_var r21 $46 = r17
92 trace_var r21 $47 = r17
93 trace_line r21 L22
94 trace_var r21 $48 = r14
95 trace_var r21 $49 = r14
96 trace_line r21 L23
97 trace_var r21 $50 = r14
98 trace_var r21 $51 = r14
99 trace_line r21 L24
100 trace_var r21 $52 = r18
101 trace_var r21 $53 = r18
102 trace_var r21 $54 = r18
103 trace_line r21 L25
104 trace_var r21 $55 = r18
105 trace_var r21 $56 = r18
106 trace_var r21 $57 = r18
107 trace_line r21 L26
108 trace_var r21 $58 = r19
109 trace_var r21 $59 = r19
110 trace_var r21 $60 = r19
111 trace_var r21 $61 = r19
112 trace_line r21 L27
113 trace_var r21 $62 = r19
114 trace_var r21 $63 = r19
115 trace_var r21 $64 = r19
116 trace_var r21 $65 = r19
117 trace_line r21 L29
118 trace_call r21 F2 (exit)
119 trace_call r21 F3 (enter)
120 trace_line r21 L34
121 trace_var r21 $66 = r15
122 trace_var r21 $67 = r11
123 trace_var r21 $68 = r11
124 trace_var r21 $69 = r15
125 trace_line r21 L35
126 trace_var r21 $70 = r15
127 trace_var r21 $71 = r11
128 trace_var r21 $72 = r11
129 trace_var r21 $73 = r15
130 trace_line r21 L36
131 trace_var r21 $74 = r16
132 trace_var r21 $75 = r11
133 trace_var r21 $76 = r11
134 trace_var r21 $77 = r11
135 trace_var r21 $78 = r16
136 trace_var r21 $79 = r11
137 trace_var r21 $80 = r11
138 trace_var r21 $81 = r11
139 trace_var r21 $82 = r16
140 trace_line r21 L37
141 trace_var r21 $83 = r16
142 trace_var r21 $84 = r11
143 trace_var r21 $85 = r11
144 trace_var r21 $86 = r11
145 trace_var r21 $87 = r16
146 trace_var r21 $88 = r11
147 trace_var r21 $89 = r11
148 trace_var r21 $90 = r11
149 trace_var r21 $91 = r16
150 trace_line r21 L38
151 trace_var r21 $92 = r17
152 trace_var r21 $93 = r11
153 trace_var r21 $94 = r11
154 trace_var r21 $95 = r11
155 trace_var r21 $96 = r11
156 trace_var r21 $97 = r17
157 trace_var r21 $98 = r11
158 trace_var r21 $99 = r11
159 trace_var r21 $100 = r11
160 trace_var r21 $101 = r11
161 trace_var r21 $102 = r17
162 trace_var r21 $103 = r11
163 trace_var r21 $104 = r11
164 trace_var r21 $105 = r11
165 trace_var r21 $106 = r11
166 trace_var r21 $107 = r17
167 trace_line r21 L39
168 trace_var r21 $108 = r17
169 trace_var r21 $109 = r11
170 trace_var r21 $110 = r11
171 trace_var r21 $111 = r11
172 trace_var r21 $112 = r11
173 trace_var r21 $113 = r17
174 trace_var r21 $114 = r11
175 trace_var r21 $115 = r11
176 trace_var r21 $116 = r11
177 trace_var r21 $117 = r11
178 trace_var r21 $118 = r17
179 trace_var r21 $119 = r11
180 trace_var r21 $120 = r11
181 trace_var r21 $121 = r11
182 trace_var r21 $122 = r11
183 trace_var r21 $123 = r17
184 trace_line r21 L41
185 trace_call r21 F3 (exit)
186 trace_call r21 F4 (enter)
187 trace_line r21 L45
188 trace_var r21 $124 = r11
189 trace_line r21 L45
190 trace_var r21 $124 = r13
191 trace_line r21 L46
192 trace_var r21 $125 = r11
193 trace_line r21 L46
194 trace_var r21 $125 = r13
195 trace_line r21 L47
196 trace_var r21 $126 = r11
197 trace_var r21 $127 = r11
198 trace_var r21 $128 = r11
199 trace_var r21 $129 = r11
200 trace_line r21 L47
201 trace_var r21 $127 = r13
202 trace_line r21 L47
203 trace_var r21 $128 = r15
204 trace_var r21 $129 = r16
205 trace_line r21 L48
206 trace_var r21 $130 = r11
207 trace_var r21 $131 = r11
208 trace_var r21 $132 = r11
209 trace_var r21 $133 = r11
210 trace_line r21 L48
211 trace_var r21 $131 = r13
212 trace_line r21 L48
213 trace_var r21 $132 = r15
214 trace_var r21 $133 = r16
215 trace_line r21 L50
216 trace_call r21 F4 (exit)
217 trace_call r21 F5 (enter)
218 trace_var r21 $134 = r13
219 trace_line r21 L53
220 trace_call r21 F5 (exit)
221 trace_call r21 F6 (enter)
222 trace_var r21 $135 = r15
223 trace_line r21 L54
224 trace_call r21 F6 (exit)
225 trace_call r21 F7 (enter)
226 trace_var r21 $136 = r16
227 trace_line r21 L55
228 trace_call r21 F7 (exit)
229 trace_call r21 F0 (exit)
230 store32 ptr1 r3
231 store32 ptr2 r4
232 store32 ptr3 r5
233 store32 ptr4 r6