10 registers, 26 instructions: | |
0 r0 = uniform32 ptr0 4 | |
1 r1 = uniform32 ptr0 8 | |
2 r2 = uniform32 ptr0 C | |
3 r3 = uniform32 ptr0 10 | |
4 r4 = uniform32 ptr0 14 | |
5 r5 = uniform32 ptr0 18 | |
6 r6 = uniform32 ptr0 1C | |
7 r7 = uniform32 ptr0 20 | |
8 r8 = splat 3F800000 (1) | |
9 r9 = sub_f32 r8 r3 | |
10 r4 = sub_f32 r8 r4 | |
11 r5 = sub_f32 r8 r5 | |
12 r6 = sub_f32 r8 r6 | |
13 r7 = sub_f32 r8 r7 | |
14 r4 = mul_f32 r9 r4 | |
15 r5 = mul_f32 r9 r5 | |
16 r6 = mul_f32 r9 r6 | |
17 r7 = mul_f32 r9 r7 | |
18 r4 = add_f32 r0 r4 | |
19 r5 = add_f32 r1 r5 | |
20 r6 = add_f32 r2 r6 | |
21 r7 = add_f32 r3 r7 | |
loop: | |
22 store32 ptr1 r4 | |
23 store32 ptr2 r5 | |
24 store32 ptr3 r6 | |
25 store32 ptr4 r7 |