Searched refs:dst_factor (Results 1 - 20 of 20) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_lower_blend.h41 enum blend_factor dst_factor; member in struct:__anonbef927490108
H A Dnir_lower_blend.c316 chan.dst_factor, chan.invert_dst_factor);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/panfrost/
H A Dpan_blending.c218 panfrost_make_fixed_blend_part(unsigned func, unsigned src_factor, unsigned dst_factor, unsigned *out) argument
240 if (is_edge_blendfactor(dst_factor)) {
244 if (dst_factor == PIPE_BLENDFACTOR_ONE)
253 } else if (src_factor == dst_factor) {
256 } else if (src_factor == complement_factor(dst_factor)) {
261 } else if (dst_factor == complement_factor(src_factor)) {
271 part.dominant == MALI_BLEND_DOM_SOURCE ? src_factor : dst_factor;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/
H A Dlp_bld_blend.c83 lp_build_blend_factor_complementary(unsigned src_factor, unsigned dst_factor) argument
88 return dst_factor == (src_factor ^ 0x10);
179 * @param dst_factor dst factor computed value
198 LLVMValueRef dst_factor,
211 return lp_build_lerp(bld, dst_factor, src, dst, 0);
220 result = lp_build_mul(bld, result, dst_factor);
230 result = lp_build_mul(bld, result, dst_factor);
299 lp_build_mul_norm_expand(bld, dst, dst_factor, &dst_terml, &dst_termh,
313 dst_term = lp_build_mul(bld, dst, dst_factor);
191 lp_build_blend(struct lp_build_context * bld,unsigned func,unsigned factor_src,unsigned factor_dst,LLVMValueRef src,LLVMValueRef dst,LLVMValueRef src_factor,LLVMValueRef dst_factor,boolean not_alpha_dependent,boolean optimise_only) argument
H A Dlp_bld_blend.h52 LLVMValueRef dst_factor,
H A Dlp_bld_blend_aos.c327 LLVMValueRef src_factor, dst_factor; local in function:lp_build_blend_aos
383 dst_factor = lp_build_blend_factor(&bld, state->rgb_dst_factor,
395 dst_factor,
410 dst_factor,
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
H A Dlp_bld_blend.c83 lp_build_blend_factor_complementary(unsigned src_factor, unsigned dst_factor) argument
88 return dst_factor == (src_factor ^ 0x10);
179 * @param dst_factor dst factor computed value
198 LLVMValueRef dst_factor,
211 return lp_build_lerp(bld, dst_factor, src, dst, 0);
220 result = lp_build_mul(bld, result, dst_factor);
230 result = lp_build_mul(bld, result, dst_factor);
299 lp_build_mul_norm_expand(bld, dst, dst_factor, &dst_terml, &dst_termh,
313 dst_term = lp_build_mul(bld, dst, dst_factor);
191 lp_build_blend(struct lp_build_context * bld,unsigned func,unsigned factor_src,unsigned factor_dst,LLVMValueRef src,LLVMValueRef dst,LLVMValueRef src_factor,LLVMValueRef dst_factor,boolean not_alpha_dependent,boolean optimise_only) argument
H A Dlp_bld_blend.h52 LLVMValueRef dst_factor,
H A Dlp_bld_blend_aos.c327 LLVMValueRef src_factor, dst_factor; local in function:lp_build_blend_aos
383 dst_factor = lp_build_blend_factor(&bld, state->rgb_dst_factor,
395 dst_factor,
410 dst_factor,
/xsrc/external/mit/MesaLib/dist/src/panfrost/lib/tests/
H A Dtest-blend.c62 RGBA(dst_factor, BLEND_FACTOR_SRC_ALPHA),
79 RGBA(dst_factor, BLEND_FACTOR_ZERO),
97 RGBA(dst_factor, BLEND_FACTOR_ZERO),
114 RGBA(dst_factor, BLEND_FACTOR_ZERO),
132 RGBA(dst_factor, BLEND_FACTOR_ZERO),
149 RGBA(dst_factor, BLEND_FACTOR_SRC_COLOR),
177 RGBA(dst_factor, BLEND_FACTOR_SRC_COLOR),
193 RGBA(dst_factor, BLEND_FACTOR_SRC_COLOR),
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/vc4/
H A Dvc4_nir_lower_blend.c274 int dst_factor = ((i != 3) ? blend->rgb_dst_factor : local in function:vc4_do_blending_f
283 dst_factor, i));
333 nir_ssa_def *dst_factor = vc4_blend_channel_i(b, local in function:vc4_do_blending_i
359 dst_factor = vc4_nir_set_packed_chan(b, dst_factor,
364 nir_ssa_def *dst_blend = nir_umul_unorm_4x8(b, dst_color, dst_factor);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/vc4/
H A Dvc4_nir_lower_blend.c267 int dst_factor = ((i != 3) ? blend->rgb_dst_factor : local in function:vc4_do_blending_f
276 dst_factor, i));
326 nir_ssa_def *dst_factor = vc4_blend_channel_i(b, local in function:vc4_do_blending_i
352 dst_factor = vc4_nir_set_packed_chan(b, dst_factor,
357 nir_ssa_def *dst_blend = nir_umul_unorm_4x8_vc4(b, dst_color, dst_factor);
/xsrc/external/mit/xf86-video-nouveau/dist/src/
H A Dnv10_exa.c469 int dst_factor = op->dst; local in function:setup_blend_function
480 if (dst_factor == DF(SRC_ALPHA))
481 dst_factor = DF(SRC_COLOR);
482 else if (dst_factor == DF(ONE_MINUS_SRC_ALPHA))
483 dst_factor = DF(ONE_MINUS_SRC_COLOR);
488 PUSH_DATA (push, dst_factor);
/xsrc/external/mit/MesaLib/dist/src/panfrost/lib/
H A Dpan_blend.c458 ret = snprintf(str, len, "%s%s%s(func=%s,src_factor=%s%s,dst_factor=%s%s)%s",
477 ret = snprintf(str, len, "A(func=%s,src_factor=%s%s,dst_factor=%s%s)",
553 .dst_factor = BLEND_FACTOR_ZERO,
563 options.rt[0].rgb.dst_factor = rt_state->equation.rgb_dst_factor;
568 options.rt[0].alpha.dst_factor = rt_state->equation.alpha_dst_factor;
/xsrc/external/mit/MesaLib/dist/src/panfrost/vulkan/
H A Dpanvk_vX_shader.c344 .dst_factor = BLEND_FACTOR_ZERO,
354 options.rt[rt].rgb.dst_factor = rt_state->equation.rgb_dst_factor;
359 options.rt[rt].alpha.dst_factor = rt_state->equation.alpha_dst_factor;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/asahi/
H A Dagx_state.c138 .dst_factor = BLEND_FACTOR_ZERO,
148 so->rt[i].rgb.dst_factor = util_blend_factor_to_shader(rt.rgb_dst_factor);
154 so->rt[i].alpha.dst_factor = util_blend_factor_to_shader(rt.alpha_dst_factor);
/xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/
H A Dradv_pipeline.c337 unsigned *dst_factor, unsigned expected_dst,
341 *dst_factor == VK_BLEND_FACTOR_ZERO) {
343 *dst_factor = replacement_src;
336 si_blend_remove_dst(unsigned * func,unsigned * src_factor,unsigned * dst_factor,unsigned expected_dst,unsigned replacement_src) argument
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeonsi/
H A Dsi_state.c426 unsigned *dst_factor, unsigned expected_dst,
430 *dst_factor == PIPE_BLENDFACTOR_ZERO) {
432 *dst_factor = replacement_src;
425 si_blend_remove_dst(unsigned * func,unsigned * src_factor,unsigned * dst_factor,unsigned expected_dst,unsigned replacement_src) argument
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/
H A Dsi_state.c418 static void si_blend_remove_dst(unsigned *func, unsigned *src_factor, unsigned *dst_factor, argument
421 if (*src_factor == expected_dst && *dst_factor == PIPE_BLENDFACTOR_ZERO) {
423 *dst_factor = replacement_src;
/xsrc/external/mit/MesaLib/dist/src/amd/vulkan/
H A Dradv_pipeline.c381 si_blend_remove_dst(VkBlendOp *func, VkBlendFactor *src_factor, VkBlendFactor *dst_factor, argument
384 if (*src_factor == expected_dst && *dst_factor == VK_BLEND_FACTOR_ZERO) {
386 *dst_factor = replacement_src;

Completed in 40 milliseconds