skia2/tests/sksl/runtime/GlobalVariables.skvm
Brian Osman c057669d1b Support initializers on global variables in SkSL to SkVM
Bug: skia:11295
Change-Id: I72c09b75a3ff5d668e99dcc3620850b82071b560
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/371340
Reviewed-by: Mike Klein <mtklein@google.com>
2021-02-17 20:40:32 +00:00

9 lines
168 B
Plaintext

2 registers, 6 instructions:
0 r0 = splat 0 (0)
1 r1 = splat 3F800000 (1)
loop:
2 store32 ptr1 r0
3 store32 ptr2 r1
4 store32 ptr3 r0
5 store32 ptr4 r1