skia2/tests/sksl/runtime/VectorIndexing.skvm
John Stiles bfc9be0f77 Migrate SkSL test inputs to the resources/ directory.
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>
2021-01-22 18:57:29 +00:00

22 lines
483 B
Plaintext

9 registers, 19 instructions:
0 r0 = uniform32 ptr0 4
1 r1 = uniform32 ptr0 14
2 r2 = uniform32 ptr0 18
3 r3 = uniform32 ptr0 1C
4 r4 = uniform32 ptr0 20
5 r5 = uniform32 ptr0 24
6 r6 = uniform32 ptr0 2C
7 r7 = uniform32 ptr0 30
8 r8 = uniform32 ptr0 40
9 r2 = add_f32 r1 r2
10 r3 = add_f32 r2 r3
11 r4 = add_f32 r3 r4
12 r5 = mul_f32 r5 r5
13 r6 = mul_f32 r5 r6
14 r7 = mul_f32 r6 r7
loop:
15 store32 ptr1 r0
16 store32 ptr2 r4
17 store32 ptr3 r7
18 store32 ptr4 r8