Skip to content

[Impeller] Clamp then min should just be clamp #179105

@flar

Description

@flar

The following 2 lines can be combined into one operation.

Scalar result = std::clamp(clip_depth * kDepthEpsilon, 0.0f, 1.0f);

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work liste: impellerImpeller rendering backend issues and features requestsengineflutter/engine related. See also e: labels.refactorImproving readability/efficiency without behavioral changesteam-engineOwned by Engine teamtriaged-engineTriaged by Engine team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions