skia2/tests/sksl/runtime/ConversionConstructors.skvm
Brian Osman 46aad8435a Move runtime effect uniform type checking into the compiler
This has two benefits:
1) We get detailed error messages with accurate positions
2) We can actually test these in our golden .rts files.

Thanks to #2, add a new unit test file, and adjust some existing files
that were breaking these rules.

Change-Id: I0b65e2f06f79ce8cbea9bad4c3d27062ec9b6e6c
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/532769
Reviewed-by: Arman Uguray <armansito@google.com>
Reviewed-by: John Stiles <johnstiles@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2022-04-22 20:54:26 +00:00

8 lines
142 B
Plaintext

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