Searched refs:devRadii (Results 1 – 2 of 2) sorted by relevance
480 Sk2f devRadii = devScale * cornerRadii; in can_use_hw_derivatives() local481 if (devRadii[1] < devRadii[0]) { in can_use_hw_derivatives()482 devRadii = SkNx_shuffle<1,0>(devRadii); in can_use_hw_derivatives()484 float minDevRadius = SkTMax(devRadii[0], 1.f); // Shader clamps radius at a minimum of 1. in can_use_hw_derivatives()487 return minDevRadius * minDevRadius * 5 > devRadii[1]; in can_use_hw_derivatives()
716 Sk2f devRadii = devScale * cornerRadii; in can_use_hw_derivatives_with_coverage() local717 if (devRadii[1] < devRadii[0]) { in can_use_hw_derivatives_with_coverage()718 devRadii = SkNx_shuffle<1,0>(devRadii); in can_use_hw_derivatives_with_coverage()720 float minDevRadius = std::max(devRadii[0], 1.f); // Shader clamps radius at a minimum of 1. in can_use_hw_derivatives_with_coverage()723 return minDevRadius * minDevRadius * 5 > devRadii[1]; in can_use_hw_derivatives_with_coverage()