Home
last modified time | relevance | path

Searched defs:CoercionCost (Results 1 – 1 of 1) sorted by relevance

/third_party/skia/src/sksl/ir/
DSkSLType.h26 struct CoercionCost { struct
27 static CoercionCost Free() { return { 0, 0, false }; } in Free() argument
28 static CoercionCost Normal(int cost) { return { cost, 0, false }; } in Normal() argument
29 static CoercionCost Narrowing(int cost) { return { 0, cost, false }; } in Narrowing() argument
30 static CoercionCost Impossible() { return { 0, 0, true }; } in Impossible() argument
37 CoercionCost operator+(CoercionCost rhs) const { argument
49 int fNormalCost;
50 int fNarrowingCost;
51 bool fImpossible;