skia2/tests/sksl
John Stiles e318355a67 Add unit test for scalar conversion constructors.
This revealed a gap in our SPIR-V scalar constructor support;
typecasting a number to bool would lead to an ABORT.

Change-Id: Idac6d7ba34adfd214ed3cad8139e22d7170456f0
Bug: skia:11172
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/353628
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
2021-01-14 15:53:03 +00:00
..
blend Deduplicate vector constants in SPIR-V output. 2021-01-06 21:05:50 +00:00
errors Update tests which mix int and float types without casts. 2021-01-13 19:47:13 +00:00
folding Update tests which mix int and float types without casts. 2021-01-13 19:47:13 +00:00
fp Allow type-fluid GLSL-style vec2(int, bool) ctors in SkSL. 2021-01-13 19:45:14 +00:00
glsl Replace array indexing on vector types with swizzles. 2020-12-07 21:16:40 +00:00
inliner Constant-propagate the ! prefix onto constant boolean expressions. 2021-01-07 20:09:49 +00:00
intrinsics Factor out SPIR-V typecasting helper functions. 2021-01-14 00:00:15 +00:00
metal Update tests which mix int and float types without casts. 2021-01-13 19:47:13 +00:00
runtime Add unit tests for for-loop unrolling 2021-01-14 14:38:16 +00:00
runtime_errors In runtime effects, verify that loops conform to ES2 rules 2021-01-13 21:49:44 +00:00
shared Add unit test for scalar conversion constructors. 2021-01-14 15:53:03 +00:00
spirv Factor out SPIR-V typecasting helper functions. 2021-01-14 00:00:15 +00:00
workarounds Update tests which mix int and float types without casts. 2021-01-13 19:47:13 +00:00