Home
last modified time | relevance | path

Searched refs:src_factor (Results 1 – 6 of 6) sorted by relevance

/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_bld_blend.c83 lp_build_blend_factor_complementary(unsigned src_factor, unsigned dst_factor) in lp_build_blend_factor_complementary() argument
88 return dst_factor == (src_factor ^ 0x10); in lp_build_blend_factor_complementary()
197 LLVMValueRef src_factor, in lp_build_blend() argument
209 return lp_build_lerp(bld, src_factor, dst, src, 0); in lp_build_blend()
217 result = lp_build_mul(bld, result, src_factor); in lp_build_blend()
227 result = lp_build_mul(bld, result, src_factor); in lp_build_blend()
242 return lp_build_mul(bld, result, src_factor); in lp_build_blend()
297 lp_build_mul_norm_expand(bld, src, src_factor, &src_terml, &src_termh, in lp_build_blend()
312 src_term = lp_build_mul(bld, src, src_factor); in lp_build_blend()
Dlp_bld_blend_aos.c327 LLVMValueRef src_factor, dst_factor; in lp_build_blend_aos() local
378 src_factor = lp_build_blend_factor(&bld, state->rgb_src_factor, in lp_build_blend_aos()
394 src_factor, in lp_build_blend_aos()
409 src_factor, in lp_build_blend_aos()
Dlp_bld_blend.h51 LLVMValueRef src_factor,
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_nir_lower_blend.c302 int src_factor = ((i != 3) ? blend->rgb_src_factor : in vc4_do_blending_f() local
309 src_factor, i)); in vc4_do_blending_f()
358 nir_ssa_def *src_factor = vc4_blend_channel_i(b, in vc4_do_blending_i() local
377 src_factor = vc4_nir_set_packed_chan(b, src_factor, in vc4_do_blending_i()
393 nir_ssa_def *src_blend = nir_umul_unorm_4x8(b, src_color, src_factor); in vc4_do_blending_i()
/external/mesa3d/src/amd/vulkan/
Dradv_pipeline.c256 static void si_blend_remove_dst(unsigned *func, unsigned *src_factor, in si_blend_remove_dst() argument
260 if (*src_factor == expected_dst && in si_blend_remove_dst()
262 *src_factor = VK_BLEND_FACTOR_ZERO; in si_blend_remove_dst()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.c440 static void si_blend_remove_dst(unsigned *func, unsigned *src_factor, in si_blend_remove_dst() argument
444 if (*src_factor == expected_dst && in si_blend_remove_dst()
446 *src_factor = PIPE_BLENDFACTOR_ZERO; in si_blend_remove_dst()