Home
last modified time | relevance | path

Searched refs:naive_if_then_else (Results 1 - 2 of 2) sorted by relevance

/third_party/skia/tests/
H A DSkVxTest.cpp242 REPORTER_ASSERT(r, all(skvx::naive_if_then_else(int2(0,~0),
248 REPORTER_ASSERT(r, all(skvx::naive_if_then_else(int2(0,~0).xyxy(),
/third_party/skia/include/private/
H A DSkVx.h435 // Clang can reason about naive_if_then_else() and optimize through it better
438 SINT Vec<N,T> naive_if_then_else(const Vec<N,M<T>>& cond, const Vec<N,T>& t, const Vec<N,T>& e) { in naive_if_then_else() function
478 return naive_if_then_else(cond, t, e); in if_then_else()
535 SINT Vec<N,T> min(const Vec<N,T>& x, const Vec<N,T>& y) { return naive_if_then_else(y < x, y, x); } in min()
536 SINT Vec<N,T> max(const Vec<N,T>& x, const Vec<N,T>& y) { return naive_if_then_else(x < y, y, x); } in max()

Completed in 5 milliseconds