skia2/tests/sksl/intrinsics
John Stiles 33ef30ec68 Optimize remaining simple 1-argument intrinsics.
Aside from sqrt() and normalize(), we now optimize all the intrinsics
which take a single argument as input, and return that argument with
each of its components permuted as output.

This CL also introduces a minor restriction--we no longer optimize
intrinsics which evaluate to inf or nan, such as `inversesqrt(-1)`.
These will be left in the source as-is.

Change-Id: I4919b3c18a2df81accd6daf2f650b9f587ff43fc
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/406577
Commit-Queue: John Stiles <johnstiles@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
2021-05-11 16:44:09 +00:00
..
AbsFloat.asm.frag Evaluate single-argument generic intrinsics at compile time. 2021-05-10 14:50:50 +00:00
AbsFloat.glsl Evaluate single-argument generic intrinsics at compile time. 2021-05-10 14:50:50 +00:00
AbsFloat.metal Evaluate single-argument generic intrinsics at compile time. 2021-05-10 14:50:50 +00:00
AbsInt.asm.frag Evaluate single-argument generic intrinsics at compile time. 2021-05-10 14:50:50 +00:00
AbsInt.glsl Evaluate single-argument generic intrinsics at compile time. 2021-05-10 14:50:50 +00:00
AbsInt.metal Evaluate single-argument generic intrinsics at compile time. 2021-05-10 14:50:50 +00:00
Acos.asm.frag Evaluate various single-argument float intrinsics at compile time. 2021-05-07 14:37:18 +00:00
Acos.glsl Evaluate various single-argument float intrinsics at compile time. 2021-05-07 14:37:18 +00:00
Acos.metal Evaluate various single-argument float intrinsics at compile time. 2021-05-07 14:37:18 +00:00
Acosh.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +00:00
Acosh.glsl Change sksl tests to avoid SPIR-V validation errors 2021-03-16 13:39:53 +00:00
Acosh.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
All.asm.frag Optimize not() intrinsic. 2021-05-11 14:08:39 +00:00
All.glsl Optimize not() intrinsic. 2021-05-11 14:08:39 +00:00
All.metal Optimize not() intrinsic. 2021-05-11 14:08:39 +00:00
Any.asm.frag Optimize not() intrinsic. 2021-05-11 14:08:39 +00:00
Any.glsl Optimize not() intrinsic. 2021-05-11 14:08:39 +00:00
Any.metal Optimize not() intrinsic. 2021-05-11 14:08:39 +00:00
Asin.asm.frag Evaluate various single-argument float intrinsics at compile time. 2021-05-07 14:37:18 +00:00
Asin.glsl Evaluate various single-argument float intrinsics at compile time. 2021-05-07 14:37:18 +00:00
Asin.metal Evaluate various single-argument float intrinsics at compile time. 2021-05-07 14:37:18 +00:00
Asinh.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +00:00
Asinh.glsl Change sksl tests to avoid SPIR-V validation errors 2021-03-16 13:39:53 +00:00
Asinh.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
Atan.asm.frag Revert "Revert "Refactored SPIR-V RelaxedPrecision handling"" 2021-03-18 15:01:15 +00:00
Atan.glsl Change sksl tests to avoid SPIR-V validation errors 2021-03-16 13:39:53 +00:00
Atan.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
Atanh.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +00:00
Atanh.glsl Change sksl tests to avoid SPIR-V validation errors 2021-03-16 13:39:53 +00:00
Atanh.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
BitCount.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +00:00
BitCount.glsl Change sksl tests to avoid SPIR-V validation errors 2021-03-16 13:39:53 +00:00
BitCount.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
Ceil.asm.frag Evaluate various single-argument float intrinsics at compile time. 2021-05-07 14:37:18 +00:00
Ceil.glsl Evaluate various single-argument float intrinsics at compile time. 2021-05-07 14:37:18 +00:00
Ceil.metal Evaluate various single-argument float intrinsics at compile time. 2021-05-07 14:37:18 +00:00
ClampFloat.asm.frag Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +00:00
ClampFloat.glsl Performance experiment: disable control-flow analysis. 2021-03-08 19:41:19 +00:00
ClampFloat.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
ClampInt.asm.frag Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +00:00
ClampInt.glsl Performance experiment: disable control-flow analysis. 2021-03-08 19:41:19 +00:00
ClampInt.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
Cos.asm.frag Evaluate various single-argument float intrinsics at compile time. 2021-05-07 14:37:18 +00:00
Cos.glsl Evaluate various single-argument float intrinsics at compile time. 2021-05-07 14:37:18 +00:00
Cos.metal Evaluate various single-argument float intrinsics at compile time. 2021-05-07 14:37:18 +00:00
Cosh.asm.frag Evaluate various single-argument float intrinsics at compile time. 2021-05-07 14:37:18 +00:00
Cosh.glsl Evaluate various single-argument float intrinsics at compile time. 2021-05-07 14:37:18 +00:00
Cosh.metal Evaluate various single-argument float intrinsics at compile time. 2021-05-07 14:37:18 +00:00
Cross.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +00:00
Cross.glsl Mangle function names in GLSL. 2021-03-22 17:18:26 +00:00
Cross.metal Mangle function names in GLSL. 2021-03-22 17:18:26 +00:00
CrossNoInline.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +00:00
CrossNoInline.glsl Mangle function names in GLSL. 2021-03-22 17:18:26 +00:00
CrossNoInline.metal Mangle function names in Metal. 2021-03-22 17:23:21 +00:00
Degrees.asm.frag Optimize remaining simple 1-argument intrinsics. 2021-05-11 16:44:09 +00:00
Degrees.glsl Optimize remaining simple 1-argument intrinsics. 2021-05-11 16:44:09 +00:00
Degrees.metal Optimize remaining simple 1-argument intrinsics. 2021-05-11 16:44:09 +00:00
Determinant.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +00:00
Determinant.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
Determinant.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
DFdx.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +00:00
DFdx.glsl Change sksl tests to avoid SPIR-V validation errors 2021-03-16 13:39:53 +00:00
DFdx.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
DFdy.asm.frag Revert "Revert "Refactored SPIR-V RelaxedPrecision handling"" 2021-03-18 15:01:15 +00:00
DFdy.glsl Change sksl tests to avoid SPIR-V validation errors 2021-03-16 13:39:53 +00:00
DFdy.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
Distance.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +00:00
Distance.glsl Change sksl tests to avoid SPIR-V validation errors 2021-03-16 13:39:53 +00:00
Distance.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
Dot.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +00:00
Dot.glsl Change sksl tests to avoid SPIR-V validation errors 2021-03-16 13:39:53 +00:00
Dot.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
Equal.asm.frag Optimize intrinsic vector comparisons of constants. 2021-05-06 14:00:27 +00:00
Equal.glsl Optimize intrinsic vector comparisons of constants. 2021-05-06 14:00:27 +00:00
Equal.metal Optimize intrinsic vector comparisons of constants. 2021-05-06 14:00:27 +00:00
Exp2.asm.frag Evaluate various single-argument float intrinsics at compile time. 2021-05-07 14:37:18 +00:00
Exp2.glsl Evaluate various single-argument float intrinsics at compile time. 2021-05-07 14:37:18 +00:00
Exp2.metal Evaluate various single-argument float intrinsics at compile time. 2021-05-07 14:37:18 +00:00
Exp.asm.frag Evaluate various single-argument float intrinsics at compile time. 2021-05-07 14:37:18 +00:00
Exp.glsl Evaluate various single-argument float intrinsics at compile time. 2021-05-07 14:37:18 +00:00
Exp.metal Evaluate various single-argument float intrinsics at compile time. 2021-05-07 14:37:18 +00:00
FaceForward.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +00:00
FaceForward.glsl Change sksl tests to avoid SPIR-V validation errors 2021-03-16 13:39:53 +00:00
FaceForward.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
FindLSB.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +00:00
FindLSB.glsl Change sksl tests to avoid SPIR-V validation errors 2021-03-16 13:39:53 +00:00
FindLSB.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
FindMSB.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +00:00
FindMSB.glsl Change sksl tests to avoid SPIR-V validation errors 2021-03-16 13:39:53 +00:00
FindMSB.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
FloatBitsToInt.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +00:00
FloatBitsToInt.glsl Change sksl tests to avoid SPIR-V validation errors 2021-03-16 13:39:53 +00:00
FloatBitsToInt.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
FloatBitsToUint.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +00:00
FloatBitsToUint.glsl Change sksl tests to avoid SPIR-V validation errors 2021-03-16 13:39:53 +00:00
FloatBitsToUint.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
Floor.asm.frag Evaluate various single-argument float intrinsics at compile time. 2021-05-07 14:37:18 +00:00
Floor.glsl Evaluate various single-argument float intrinsics at compile time. 2021-05-07 14:37:18 +00:00
Floor.metal Evaluate various single-argument float intrinsics at compile time. 2021-05-07 14:37:18 +00:00
Fma.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +00:00
Fma.glsl Change sksl tests to avoid SPIR-V validation errors 2021-03-16 13:39:53 +00:00
Fma.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
Fract.asm.frag Evaluate various single-argument float intrinsics at compile time. 2021-05-07 14:37:18 +00:00
Fract.glsl Evaluate various single-argument float intrinsics at compile time. 2021-05-07 14:37:18 +00:00
Fract.metal Evaluate various single-argument float intrinsics at compile time. 2021-05-07 14:37:18 +00:00
Frexp.asm.frag Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +00:00
Frexp.glsl Migrate convertSwizzle to Swizzle::Make. 2021-02-19 21:26:58 +00:00
Frexp.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
Fwidth.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +00:00
Fwidth.glsl Change sksl tests to avoid SPIR-V validation errors 2021-03-16 13:39:53 +00:00
Fwidth.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
GreaterThan.asm.frag Optimize intrinsic vector comparisons of constants. 2021-05-06 14:00:27 +00:00
GreaterThan.glsl Optimize intrinsic vector comparisons of constants. 2021-05-06 14:00:27 +00:00
GreaterThan.metal Optimize intrinsic vector comparisons of constants. 2021-05-06 14:00:27 +00:00
GreaterThanEqual.asm.frag Optimize intrinsic vector comparisons of constants. 2021-05-06 14:00:27 +00:00
GreaterThanEqual.glsl Optimize intrinsic vector comparisons of constants. 2021-05-06 14:00:27 +00:00
GreaterThanEqual.metal Optimize intrinsic vector comparisons of constants. 2021-05-06 14:00:27 +00:00
IntBitsToFloat.asm.frag Revert "Revert "Refactored SPIR-V RelaxedPrecision handling"" 2021-03-18 15:01:15 +00:00
IntBitsToFloat.glsl Change sksl tests to avoid SPIR-V validation errors 2021-03-16 13:39:53 +00:00
IntBitsToFloat.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
Inverse.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +00:00
Inverse.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
Inverse.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
Inversesqrt.asm.frag Optimize remaining simple 1-argument intrinsics. 2021-05-11 16:44:09 +00:00
Inversesqrt.glsl Optimize remaining simple 1-argument intrinsics. 2021-05-11 16:44:09 +00:00
Inversesqrt.metal Optimize remaining simple 1-argument intrinsics. 2021-05-11 16:44:09 +00:00
IsInf.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +00:00
IsInf.glsl Change sksl tests to avoid SPIR-V validation errors 2021-03-16 13:39:53 +00:00
IsInf.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
IsNan.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +00:00
IsNan.glsl Change sksl tests to avoid SPIR-V validation errors 2021-03-16 13:39:53 +00:00
IsNan.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
Ldexp.asm.frag Revert "Revert "Refactored SPIR-V RelaxedPrecision handling"" 2021-03-18 15:01:15 +00:00
Ldexp.glsl Change sksl tests to avoid SPIR-V validation errors 2021-03-16 13:39:53 +00:00
Ldexp.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
Length.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +00:00
Length.glsl Change sksl tests to avoid SPIR-V validation errors 2021-03-16 13:39:53 +00:00
Length.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
LessThan.asm.frag Optimize intrinsic vector comparisons of constants. 2021-05-06 14:00:27 +00:00
LessThan.glsl Optimize intrinsic vector comparisons of constants. 2021-05-06 14:00:27 +00:00
LessThan.metal Optimize intrinsic vector comparisons of constants. 2021-05-06 14:00:27 +00:00
LessThanEqual.asm.frag Optimize intrinsic vector comparisons of constants. 2021-05-06 14:00:27 +00:00
LessThanEqual.glsl Optimize intrinsic vector comparisons of constants. 2021-05-06 14:00:27 +00:00
LessThanEqual.metal Optimize intrinsic vector comparisons of constants. 2021-05-06 14:00:27 +00:00
Log2.asm.frag Evaluate various single-argument float intrinsics at compile time. 2021-05-07 14:37:18 +00:00
Log2.glsl Evaluate various single-argument float intrinsics at compile time. 2021-05-07 14:37:18 +00:00
Log2.metal Evaluate various single-argument float intrinsics at compile time. 2021-05-07 14:37:18 +00:00
Log.asm.frag Evaluate various single-argument float intrinsics at compile time. 2021-05-07 14:37:18 +00:00
Log.glsl Evaluate various single-argument float intrinsics at compile time. 2021-05-07 14:37:18 +00:00
Log.metal Evaluate various single-argument float intrinsics at compile time. 2021-05-07 14:37:18 +00:00
MatrixCompMult.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +00:00
MatrixCompMult.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
MatrixCompMult.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
MaxFloat.asm.frag Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +00:00
MaxFloat.glsl Performance experiment: disable control-flow analysis. 2021-03-08 19:41:19 +00:00
MaxFloat.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
MaxInt.asm.frag Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +00:00
MaxInt.glsl Performance experiment: disable control-flow analysis. 2021-03-08 19:41:19 +00:00
MaxInt.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
MinFloat.asm.frag Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +00:00
MinFloat.glsl Performance experiment: disable control-flow analysis. 2021-03-08 19:41:19 +00:00
MinFloat.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
MinInt.asm.frag Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +00:00
MinInt.glsl Performance experiment: disable control-flow analysis. 2021-03-08 19:41:19 +00:00
MinInt.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
MixBool.asm.frag Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +00:00
MixBool.glsl Implement additional Runtime Effect intrinsic tests. 2021-01-29 18:23:48 +00:00
MixBool.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
MixFloat.asm.frag Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +00:00
MixFloat.glsl Performance experiment: disable control-flow analysis. 2021-03-08 19:41:19 +00:00
MixFloat.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
Mod.asm.frag Revert "Revert "Refactored SPIR-V RelaxedPrecision handling"" 2021-03-18 15:01:15 +00:00
Mod.glsl Change sksl tests to avoid SPIR-V validation errors 2021-03-16 13:39:53 +00:00
Mod.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
Modf.asm.frag Reland "Add coords parameter to all .sksl test files used as runtime effects" 2021-04-27 20:47:31 +00:00
Modf.glsl Remove extraneous line-breaks in generated GLSL/Metal code. 2021-03-12 18:39:57 +00:00
Modf.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
Normalize.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +00:00
Normalize.glsl Change sksl tests to avoid SPIR-V validation errors 2021-03-16 13:39:53 +00:00
Normalize.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
Not.asm.frag Optimize not() intrinsic. 2021-05-11 14:08:39 +00:00
Not.glsl Optimize not() intrinsic. 2021-05-11 14:08:39 +00:00
Not.metal Optimize not() intrinsic. 2021-05-11 14:08:39 +00:00
NotEqual.asm.frag Optimize intrinsic vector comparisons of constants. 2021-05-06 14:00:27 +00:00
NotEqual.glsl Optimize intrinsic vector comparisons of constants. 2021-05-06 14:00:27 +00:00
NotEqual.metal Optimize intrinsic vector comparisons of constants. 2021-05-06 14:00:27 +00:00
OuterProduct.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +00:00
OuterProduct.glsl Change sksl tests to avoid SPIR-V validation errors 2021-03-16 13:39:53 +00:00
OuterProduct.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
Pack.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +00:00
Pack.glsl Change sksl tests to avoid SPIR-V validation errors 2021-03-16 13:39:53 +00:00
Pack.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
Pow.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +00:00
Pow.glsl Change sksl tests to avoid SPIR-V validation errors 2021-03-16 13:39:53 +00:00
Pow.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
Radians.asm.frag Optimize remaining simple 1-argument intrinsics. 2021-05-11 16:44:09 +00:00
Radians.glsl Optimize remaining simple 1-argument intrinsics. 2021-05-11 16:44:09 +00:00
Radians.metal Optimize remaining simple 1-argument intrinsics. 2021-05-11 16:44:09 +00:00
Reflect.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +00:00
Reflect.glsl Change sksl tests to avoid SPIR-V validation errors 2021-03-16 13:39:53 +00:00
Reflect.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
Refract.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +00:00
Refract.glsl Change sksl tests to avoid SPIR-V validation errors 2021-03-16 13:39:53 +00:00
Refract.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
Round.asm.frag Optimize remaining simple 1-argument intrinsics. 2021-05-11 16:44:09 +00:00
Round.glsl Optimize remaining simple 1-argument intrinsics. 2021-05-11 16:44:09 +00:00
Round.metal Optimize remaining simple 1-argument intrinsics. 2021-05-11 16:44:09 +00:00
RoundEven.asm.frag Optimize remaining simple 1-argument intrinsics. 2021-05-11 16:44:09 +00:00
RoundEven.glsl Optimize remaining simple 1-argument intrinsics. 2021-05-11 16:44:09 +00:00
RoundEven.metal Optimize remaining simple 1-argument intrinsics. 2021-05-11 16:44:09 +00:00
Saturate.asm.frag Optimize remaining simple 1-argument intrinsics. 2021-05-11 16:44:09 +00:00
Saturate.glsl Optimize remaining simple 1-argument intrinsics. 2021-05-11 16:44:09 +00:00
Saturate.metal Optimize remaining simple 1-argument intrinsics. 2021-05-11 16:44:09 +00:00
SignFloat.asm.frag Evaluate single-argument generic intrinsics at compile time. 2021-05-10 14:50:50 +00:00
SignFloat.glsl Evaluate single-argument generic intrinsics at compile time. 2021-05-10 14:50:50 +00:00
SignFloat.metal Evaluate single-argument generic intrinsics at compile time. 2021-05-10 14:50:50 +00:00
SignInt.asm.frag Evaluate single-argument generic intrinsics at compile time. 2021-05-10 14:50:50 +00:00
SignInt.glsl Evaluate single-argument generic intrinsics at compile time. 2021-05-10 14:50:50 +00:00
SignInt.metal Evaluate single-argument generic intrinsics at compile time. 2021-05-10 14:50:50 +00:00
Sin.asm.frag Evaluate various single-argument float intrinsics at compile time. 2021-05-07 14:37:18 +00:00
Sin.glsl Evaluate various single-argument float intrinsics at compile time. 2021-05-07 14:37:18 +00:00
Sin.metal Evaluate various single-argument float intrinsics at compile time. 2021-05-07 14:37:18 +00:00
Sinh.asm.frag Evaluate various single-argument float intrinsics at compile time. 2021-05-07 14:37:18 +00:00
Sinh.glsl Evaluate various single-argument float intrinsics at compile time. 2021-05-07 14:37:18 +00:00
Sinh.metal Evaluate various single-argument float intrinsics at compile time. 2021-05-07 14:37:18 +00:00
Smoothstep.asm.frag Revert "Revert "Refactored SPIR-V RelaxedPrecision handling"" 2021-03-18 15:01:15 +00:00
Smoothstep.glsl Change sksl tests to avoid SPIR-V validation errors 2021-03-16 13:39:53 +00:00
Smoothstep.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
Sqrt.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +00:00
Sqrt.glsl Change sksl tests to avoid SPIR-V validation errors 2021-03-16 13:39:53 +00:00
Sqrt.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
Step.asm.frag Revert "Revert "Refactored SPIR-V RelaxedPrecision handling"" 2021-03-18 15:01:15 +00:00
Step.glsl Change sksl tests to avoid SPIR-V validation errors 2021-03-16 13:39:53 +00:00
Step.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
Tan.asm.frag Evaluate various single-argument float intrinsics at compile time. 2021-05-07 14:37:18 +00:00
Tan.glsl Evaluate various single-argument float intrinsics at compile time. 2021-05-07 14:37:18 +00:00
Tan.metal Evaluate various single-argument float intrinsics at compile time. 2021-05-07 14:37:18 +00:00
Tanh.asm.frag Evaluate various single-argument float intrinsics at compile time. 2021-05-07 14:37:18 +00:00
Tanh.glsl Evaluate various single-argument float intrinsics at compile time. 2021-05-07 14:37:18 +00:00
Tanh.metal Evaluate various single-argument float intrinsics at compile time. 2021-05-07 14:37:18 +00:00
Transpose.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +00:00
Transpose.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
Transpose.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
Trunc.asm.frag Evaluate various single-argument float intrinsics at compile time. 2021-05-07 14:37:18 +00:00
Trunc.glsl Evaluate various single-argument float intrinsics at compile time. 2021-05-07 14:37:18 +00:00
Trunc.metal Evaluate various single-argument float intrinsics at compile time. 2021-05-07 14:37:18 +00:00
UintBitsToFloat.asm.frag Revert "Revert "Refactored SPIR-V RelaxedPrecision handling"" 2021-03-18 15:01:15 +00:00
UintBitsToFloat.glsl Change sksl tests to avoid SPIR-V validation errors 2021-03-16 13:39:53 +00:00
UintBitsToFloat.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00
Unpack.asm.frag Revert "Revert "Added more RelaxedPrecision decorations"" 2021-03-23 19:34:42 +00:00
Unpack.glsl Change sksl tests to avoid SPIR-V validation errors 2021-03-16 13:39:53 +00:00
Unpack.metal Revert "Only include header once in combined MSL shader." 2021-03-16 14:44:25 +00:00