Searched refs:pun_to_F32 (Results 1 – 6 of 6) sorted by relevance
/third_party/skia/src/core/ |
D | SkColorSpaceXformSteps.cpp | 147 v = pun_to_F32(bits ^ sign); in sk_program_transfer_fn() 178 return pun_to_F32(sign | pun_to_I32(v)); in sk_program_transfer_fn()
|
D | SkVM.h | 657 F32 loadF (Ptr ptr) { return pun_to_F32(load32(ptr)); } in loadF() 663 F32 uniformF (UPtr ptr, int offset) { return pun_to_F32(uniform32(ptr,offset)); } in uniformF() 669 return pun_to_F32(array32(ptr, offset, index)); in arrayF() 680 return pun_to_F32(gather32(ptr, offset, index)); in gatherF() 702 return pun_to_F32(splat(bits)); in splat() 794 F32 abs(F32 x) { return pun_to_F32(bit_and(pun_to_I32(x), 0x7fff'ffff)); } in abs() 1239 SI F32 pun_to_F32(I32 x) { return x-> pun_to_F32(x); } in pun_to_F32() function
|
D | SkVM.cpp | 821 F32 m = pun_to_F32(bit_or(bit_and(pun_to_I32(x), 0x007fffff), in approx_log2() 836 return pun_to_F32(round(mul(1.0f * (1<<23), approx))); in approx_pow2() 1313 pun_to_F32(load128(ptr, 0)), in load() 1314 pun_to_F32(load128(ptr, 1)), in load() 1315 pun_to_F32(load128(ptr, 2)), in load() 1316 pun_to_F32(load128(ptr, 3)), in load() 1430 inf = pun_to_F32(splat(0x7f800000)); in unpremul()
|
/third_party/skia/src/shaders/ |
D | SkImageShader.cpp | 817 c.r = pun_to_F32(p->bit_and(mask, pun_to_I32(c.r))); in makeProgram() 818 c.g = pun_to_F32(p->bit_and(mask, pun_to_I32(c.g))); in makeProgram() 819 c.b = pun_to_F32(p->bit_and(mask, pun_to_I32(c.b))); in makeProgram() 820 c.a = pun_to_F32(p->bit_and(mask, pun_to_I32(c.a))); in makeProgram()
|
/third_party/skia/src/shaders/gradients/ |
D | SkGradientShader.cpp | 596 pun_to_F32(mask & pun_to_I32(color.r)), in onProgram() 597 pun_to_F32(mask & pun_to_I32(color.g)), in onProgram() 598 pun_to_F32(mask & pun_to_I32(color.b)), in onProgram() 599 pun_to_F32(mask & pun_to_I32(color.a)), in onProgram()
|
/third_party/skia/src/sksl/codegen/ |
D | SkSLVMCodeGenerator.cpp | 2025 skvm::Coord device = {pun_to_F32(builder->index()), new_uni()}; in testingOnly_ProgramToSkVMShader()
|