skia2/tests/sksl/intrinsics
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
..
golden Fix type error with Metal mod(vec, float) intrinsic. 2021-01-05 18:07:04 +00:00
Abs.sksl
Acos.sksl
Acosh.sksl
All.sksl
Any.sksl
Asin.sksl
Asinh.sksl
Atan.sksl Broaden intrinsic tests to cover more input types. 2020-12-30 21:03:49 +00:00
Atanh.sksl
BitCount.sksl Implement bitCount intrinsic on SPIR-V and Metal. 2020-12-22 21:46:54 +00:00
Ceil.sksl
Clamp.sksl
Cos.sksl
Cosh.sksl
Cross.sksl
Degrees.sksl
Determinant.sksl
DFdx.sksl
DFdy.sksl
Distance.sksl Broaden intrinsic tests to cover more input types. 2020-12-30 21:03:49 +00:00
Dot.sksl Broaden intrinsic tests to cover more input types. 2020-12-30 21:03:49 +00:00
Equal.sksl
Exp2.sksl
Exp.sksl
FaceForward.sksl Add support for scalar faceforward intrinsic in Metal. 2020-12-11 15:29:50 +00:00
FindLSB.sksl
FindMSB.sksl
FloatBitsToInt.sksl Fix floatBitsToInt family of intrinsics and add tests. 2020-12-10 15:33:48 +00:00
FloatBitsToUint.sksl Fix floatBitsToInt family of intrinsics and add tests. 2020-12-10 15:33:48 +00:00
Floor.sksl
Fma.sksl
Fract.sksl
Frexp.sksl
Fwidth.sksl
GreaterThan.sksl
GreaterThanEqual.sksl
IntBitsToFloat.sksl Fix floatBitsToInt family of intrinsics and add tests. 2020-12-10 15:33:48 +00:00
Inverse.sksl
Inversesqrt.sksl
IsInf.sksl
IsNan.sksl
Ldexp.sksl
Length.sksl Broaden intrinsic tests to cover more input types. 2020-12-30 21:03:49 +00:00
LessThan.sksl Update SkSL type priorities to differentiate signed/unsigned types. 2020-12-14 17:29:23 +00:00
LessThanEqual.sksl
Log2.sksl
Log.sksl
MatrixCompMult.sksl Fix matrixCompMult halfNxM implementation and add unit tests. 2020-12-10 20:51:59 +00:00
Max.sksl
Min.sksl
Mix.sksl
Mod.sksl Broaden intrinsic tests to cover more input types. 2020-12-30 21:03:49 +00:00
Modf.sksl Add SPIR-V support for modf intrinsic. 2020-12-10 14:21:18 +00:00
Normalize.sksl Broaden intrinsic tests to cover more input types. 2020-12-30 21:03:49 +00:00
Not.sksl
NotEqual.sksl
OuterProduct.sksl Fix 4x4 outerProduct, and add unit tests. 2020-12-17 18:23:55 +00:00
Pack.sksl
Pow.sksl
Radians.sksl
Reflect.sksl Broaden intrinsic tests to cover more input types. 2020-12-30 21:03:49 +00:00
Refract.sksl Broaden intrinsic tests to cover more input types. 2020-12-30 21:03:49 +00:00
Round.sksl
RoundEven.sksl
Saturate.sksl
Sign.sksl
Sin.sksl
Sinh.sksl
Smoothstep.sksl
Sqrt.sksl
Step.sksl
Tan.sksl
Tanh.sksl
Transpose.sksl
Trunc.sksl
UintBitsToFloat.sksl Fix floatBitsToInt family of intrinsics and add tests. 2020-12-10 15:33:48 +00:00
Unpack.sksl