Searched refs:dst_alpha (Results 1 – 2 of 2) sorted by relevance
/external/mesa3d/src/compiler/glsl/ |
D | lower_blend_equation_advanced.cpp | 306 ir_variable *dst_alpha = f.make_temp(glsl_type::float_type, "__blend_dst_a"); in calc_blend_result() local 308 f.emit(assign(dst_alpha, swizzle_w(fb))); in calc_blend_result() 309 f.emit(if_tree(equal(dst_alpha, imm1(0)), in calc_blend_result() 314 div(swizzle_xyz(fb), dst_alpha))))); in calc_blend_result() 404 f.emit(assign(p0, mul(src_alpha, dst_alpha))); in calc_blend_result() 405 f.emit(assign(p1, mul(src_alpha, sub(imm1(1), dst_alpha)))); in calc_blend_result() 406 f.emit(assign(p2, mul(dst_alpha, sub(imm1(1), src_alpha)))); in calc_blend_result()
|
/external/webp/src/mux/ |
D | anim_encode.c | 646 const uint32_t dst_alpha = dst_pixel >> 24; in IsLosslessBlendingPossible() local 647 if (dst_alpha != 0xff && src_pixel != dst_pixel) { in IsLosslessBlendingPossible() 670 const uint32_t dst_alpha = dst_pixel >> 24; in IsLossyBlendingPossible() local 671 if (dst_alpha != 0xff && in IsLossyBlendingPossible()
|