skia2/tests/sksl
John Stiles 61b2e81c4f Fix type error with Metal mod(vec, float) intrinsic.
The code didn't take into account that x and y might be different types.
(This bug was not actually harmful; type coercion allowed the code to
compile even with the wrong type. The float would be silently splatted
into a vec and the rest of the code would work as-is.)

Change-Id: Ib76bc733f76304e451ef9197421b4bc22e29e49c
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/348888
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
2021-01-05 18:07:04 +00:00
..
blend Add support for inlining switches with returns inside. 2020-12-18 00:14:48 +00:00
errors Add SkSL error reporting when an undefined function is called. 2021-01-05 14:38:41 +00:00
fp Make all fragmentProcessors implicitly nullable in SkSL 2020-12-23 20:22:18 +00:00
glsl Replace array indexing on vector types with swizzles. 2020-12-07 21:16:40 +00:00
inliner Elide return expression temp-var in vardecl-less blocks. 2020-12-22 19:33:12 +00:00
intrinsics Fix type error with Metal mod(vec, float) intrinsic. 2021-01-05 18:07:04 +00:00
metal Enforce additional restrictions on opaque types. 2020-12-22 22:24:24 +00:00
runtime Add .rte -> .skvm unit test framework 2020-12-22 17:59:42 +00:00
shared Add unit test for casting between float, int and bool. 2021-01-05 16:30:11 +00:00
spirv Fix SPIRV bug constructing a constant vector from another vector 2020-12-23 21:14:48 +00:00
workarounds Eliminate inliner temporary variables for top-level-exit functions. 2020-12-17 20:37:21 +00:00