bfc9be0f77
This will allow us to load these inputs for unit testing in `dm`. Change-Id: Id256ba7c30d3ec94b98048e47af44cf9efe580d5 Bug: skia:11009 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/357282 Commit-Queue: John Stiles <johnstiles@google.com> Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
25 lines
533 B
Plaintext
25 lines
533 B
Plaintext
8 registers, 22 instructions:
|
|
0 r0 = uniform32 ptr0 4
|
|
1 r1 = uniform32 ptr0 8
|
|
2 r2 = uniform32 ptr0 C
|
|
3 r3 = splat 0 (0)
|
|
4 r4 = splat FFFFFFFF (nan)
|
|
5 r5 = neq_f32 r0 r3
|
|
6 r6 = splat 3F800000 (1)
|
|
7 r6 = bit_and r6 r2
|
|
8 r7 = to_f32 r1
|
|
9 r7 = select r5 r6 r7
|
|
10 r3 = eq_i32 r1 r3
|
|
11 r3 = bit_xor r4 r3
|
|
12 r4 = splat 1 (1.4012985e-45)
|
|
13 r2 = bit_and r4 r2
|
|
14 r0 = trunc r0
|
|
15 r0 = select r3 r2 r0
|
|
16 r0 = to_f32 r0
|
|
17 r0 = mul_f32 r7 r0
|
|
loop:
|
|
18 store32 ptr1 r0
|
|
19 store32 ptr2 r0
|
|
20 store32 ptr3 r0
|
|
21 store32 ptr4 r0
|