Home
last modified time | relevance | path

Searched refs:to_half (Results 1 - 5 of 5) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
H A Dgen_vk_format_table.py149 to_half = to_float
151 to_float, to_half)
/third_party/skia/include/private/
H A DSkVx.h626 // The default logic for to_half/from_half is borrowed from skcms,
649 SI Vec<1,uint16_t> to_half(const Vec<1,float>& x) { return to_half_finite_ftz(x); } in to_half() function
652 SIN Vec<N,uint16_t> to_half(const Vec<N,float>& x) { in to_half() function
666 return join(to_half(x.lo), in to_half()
667 to_half(x.hi)); in to_half()
/third_party/skia/src/opts/
H A DSkVM_opts.h307 r[d].i32 = skvx::cast<int>(skvx::to_half(r[x].f32));
H A DSkRasterPipeline_opts.h1020 SI U16 to_half(F f) { in to_half() function
2189 store4((uint16_t*)ptr,tail, to_half(r)
2190 , to_half(g)
2191 , to_half(b)
2192 , to_half(a));
2230 store(ptr, to_half(a), tail);
2267 store2((uint16_t*)ptr, tail, to_half(r)
2268 , to_half(g));
/third_party/skia/tests/
H A DSkVxTest.cpp168 REPORTER_ASSERT(r, all(skvx:: to_half(fs) == hs)); in DEF_TEST()

Completed in 10 milliseconds