skia2/tests/sksl
John Stiles 36129133f1 Prevent half type from being emitted in Metal matrixConstructHelpers.
This code was not using typeName() to emit its types, inadvertently
generating Metal code containing the `half` type.

We didn't have any unit tests which synthesized a matrix-construct
helper with half types, so Matrices.sksl was cloned into two separate
test files--MatricesFloat and MatricesHalf. These should be equivalent
except for float vs half types.

Change-Id: I19ecea994b8bc45594bb3f69e596896a3bcefe4d
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/348180
Commit-Queue: John Stiles <johnstiles@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2020-12-29 21:01:27 +00:00
..
blend Add support for inlining switches with returns inside. 2020-12-18 00:14:48 +00:00
errors Handle values above int32 safely during IR generation. 2020-12-29 16:26:56 +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 bugs/formatting in MSL inverse helpers 2020-12-29 16:33:16 +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 Prevent half type from being emitted in Metal matrixConstructHelpers. 2020-12-29 21:01:27 +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