Add missing mix(genIType, genIType, genBType) to sksl_public.
Change-Id: I8d4816f726196e6f4a5fbb0940b5dd1b2d7db7f5 Bug: skia:11209 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/503821 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: John Stiles <johnstiles@google.com> Auto-Submit: John Stiles <johnstiles@google.com>
This commit is contained in:
parent
2a4a0b7f1f
commit
d33334d44e
File diff suppressed because it is too large
Load Diff
@ -121,6 +121,7 @@ $es3 $genUType clamp($genUType x, $genUType minVal, $genUType maxVal);
|
||||
$es3 $genUType clamp($genUType x, uint minVal, uint maxVal);
|
||||
$es3 $genType mix($genType x, $genType y, $genBType a);
|
||||
$es3 $genHType mix($genHType x, $genHType y, $genBType a);
|
||||
$es3 $genIType mix($genIType x, $genIType y, $genBType a);
|
||||
|
||||
// 8.3 : Common Functions (GLSL ES 3.0) -- cannot be used in constant-expressions
|
||||
$es3 $genBType isnan($genType x);
|
||||
|
@ -328,6 +328,7 @@ SKSL_TEST(SkSLIntrinsicMaxFloat, "intrinsics/MaxFloat.sksl")
|
||||
SKSL_TEST(SkSLIntrinsicMinFloat, "intrinsics/MinFloat.sksl")
|
||||
// Fails on Adreno + Vulkan (skia:11919)
|
||||
SKSL_TEST_CPU(SkSLIntrinsicMixFloat, "intrinsics/MixFloat.sksl")
|
||||
SKSL_TEST_ES3(SkSLIntrinsicMixBool, "intrinsics/MixBool.sksl")
|
||||
SKSL_TEST_ES3(SkSLIntrinsicModf, "intrinsics/Modf.sksl")
|
||||
SKSL_TEST_ES3(SkSLIntrinsicOuterProduct, "intrinsics/OuterProduct.sksl")
|
||||
// Fails on Mac OpenGL + Radeon 5300M (skia:12434)
|
||||
@ -444,5 +445,4 @@ TODO(skia:11209): enable these tests when Runtime Effects have support for ES3
|
||||
SKSL_TEST(SkSLIntrinsicAbsInt, "intrinsics/AbsInt.sksl")
|
||||
SKSL_TEST(SkSLIntrinsicMaxInt, "intrinsics/MaxInt.sksl")
|
||||
SKSL_TEST(SkSLIntrinsicMinInt, "intrinsics/MinInt.sksl")
|
||||
SKSL_TEST(SkSLIntrinsicMixBool, "intrinsics/MixBool.sksl")
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user