Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/panfrost/
Dpan_blending.c102 unsigned src_factor, in can_use_fixed_function_blend() argument
110 if (!factor_is_supported(src_factor) || in can_use_fixed_function_blend()
114 if (src_factor != dest_factor && in can_use_fixed_function_blend()
115 src_factor != complement_factor(dest_factor) && in can_use_fixed_function_blend()
116 complement_factor(src_factor) != dest_factor && in can_use_fixed_function_blend()
117 !is_edge_blendfactor(src_factor) && in can_use_fixed_function_blend()
164 unsigned src_factor, in to_panfrost_function() argument
168 if (!can_use_fixed_function_blend(blend_func, src_factor, dest_factor)) in to_panfrost_function()
171 if (src_factor == PIPE_BLENDFACTOR_ZERO) { in to_panfrost_function()
177 } else if (src_factor == PIPE_BLENDFACTOR_ONE) { in to_panfrost_function()
[all …]
Dpan_blend_shaders.c99 .src_factor = BLEND_FACTOR_ZERO, in nir_make_options()
109 rgb.src_factor = util_blend_factor_to_shader(blend->rt[i].rgb_src_factor); in nir_make_options()
115 alpha.src_factor = util_blend_factor_to_shader(blend->rt[i].alpha_src_factor); in nir_make_options()
/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.c272 int src_factor = ((i != 3) ? blend->rgb_src_factor : in vc4_do_blending_f() local
279 src_factor, i)); in vc4_do_blending_f()
328 nir_ssa_def *src_factor = vc4_blend_channel_i(b, in vc4_do_blending_i() local
347 src_factor = vc4_nir_set_packed_chan(b, src_factor, in vc4_do_blending_i()
363 nir_ssa_def *src_blend = nir_umul_unorm_4x8(b, src_color, src_factor); in vc4_do_blending_i()
/external/mesa3d/src/gallium/drivers/panfrost/nir/
Dnir_lower_blend.h38 enum blend_factor src_factor; member
Dnir_lower_blend.c301 chan.src_factor, chan.invert_src_factor, options.half); in nir_blend()
321 (chan.src_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()
419 *src_factor = PIPE_BLENDFACTOR_ZERO; in si_blend_remove_dst()
/external/mesa3d/src/amd/vulkan/
Dradv_pipeline.c417 static void si_blend_remove_dst(unsigned *func, unsigned *src_factor, in si_blend_remove_dst() argument
421 if (*src_factor == expected_dst && in si_blend_remove_dst()
423 *src_factor = VK_BLEND_FACTOR_ZERO; in si_blend_remove_dst()