Home
last modified time | relevance | path

Searched refs:dst_factor (Results 1 – 9 of 9) 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()
198 LLVMValueRef dst_factor, in lp_build_blend() argument
211 return lp_build_lerp(bld, dst_factor, src, dst, 0); in lp_build_blend()
220 result = lp_build_mul(bld, result, dst_factor); in lp_build_blend()
230 result = lp_build_mul(bld, result, dst_factor); in lp_build_blend()
299 lp_build_mul_norm_expand(bld, dst, dst_factor, &dst_terml, &dst_termh, in lp_build_blend()
313 dst_term = lp_build_mul(bld, dst, dst_factor); in lp_build_blend()
Dlp_bld_blend_aos.c327 LLVMValueRef src_factor, dst_factor; in lp_build_blend_aos() local
383 dst_factor = lp_build_blend_factor(&bld, state->rgb_dst_factor, in lp_build_blend_aos()
395 dst_factor, in lp_build_blend_aos()
410 dst_factor, in lp_build_blend_aos()
Dlp_bld_blend.h52 LLVMValueRef dst_factor,
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_nir_lower_blend.c274 int dst_factor = ((i != 3) ? blend->rgb_dst_factor : in vc4_do_blending_f() local
283 dst_factor, i)); in vc4_do_blending_f()
333 nir_ssa_def *dst_factor = vc4_blend_channel_i(b, in vc4_do_blending_i() local
359 dst_factor = vc4_nir_set_packed_chan(b, dst_factor, in vc4_do_blending_i()
364 nir_ssa_def *dst_blend = nir_umul_unorm_4x8(b, dst_color, dst_factor); in vc4_do_blending_i()
/external/mesa3d/src/gallium/drivers/panfrost/
Dpan_blend_shaders.c101 .dst_factor = BLEND_FACTOR_ZERO, in nir_make_options()
110 rgb.dst_factor = util_blend_factor_to_shader(blend->rt[i].rgb_dst_factor); in nir_make_options()
116 alpha.dst_factor = util_blend_factor_to_shader(blend->rt[i].alpha_dst_factor); in nir_make_options()
/external/mesa3d/src/gallium/drivers/panfrost/nir/
Dnir_lower_blend.h41 enum blend_factor dst_factor; member
Dnir_lower_blend.c306 chan.dst_factor, chan.invert_dst_factor, options.half); in nir_blend()
322 (chan.dst_factor == BLEND_FACTOR_ZERO) && in nir_is_blend_channel_replace()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.c415 static void si_blend_remove_dst(unsigned *func, unsigned *src_factor, unsigned *dst_factor, in si_blend_remove_dst() argument
418 if (*src_factor == expected_dst && *dst_factor == PIPE_BLENDFACTOR_ZERO) { in si_blend_remove_dst()
420 *dst_factor = replacement_src; in si_blend_remove_dst()
/external/mesa3d/src/amd/vulkan/
Dradv_pipeline.c418 unsigned *dst_factor, unsigned expected_dst, in si_blend_remove_dst() argument
422 *dst_factor == VK_BLEND_FACTOR_ZERO) { in si_blend_remove_dst()
424 *dst_factor = replacement_src; in si_blend_remove_dst()