Home
last modified time | relevance | path

Searched refs:rgb_src_factor (Results 1 – 25 of 64) sorted by relevance

123

/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_test_blend.c93 blend->rt[0].rgb_src_factor != blend->rt[0].alpha_src_factor ? "true" : "false", in write_tsv_row()
99 util_str_blend_factor(blend->rt[0].rgb_src_factor, TRUE), in write_tsv_row()
123 "rgb_src_factor", util_str_blend_factor(blend->rt[0].rgb_src_factor, TRUE), in dump_blend_type()
370 compute_blend_ref_term(blend->rt[0].rgb_src_factor, blend->rt[0].alpha_src_factor, in compute_blend_ref()
640 const unsigned *rgb_src_factor; in test_all() local
651 …for(rgb_src_factor = blend_factors; rgb_src_factor < &blend_factors[num_factors]; ++rgb_src_factor in test_all()
652 … for(rgb_dst_factor = blend_factors; rgb_dst_factor <= rgb_src_factor; ++rgb_dst_factor) { in test_all()
664 blend.rt[0].rgb_src_factor = *rgb_src_factor; in test_all()
691 const unsigned *rgb_src_factor; in test_some() local
704 rgb_src_factor = &blend_factors[rand() % num_factors]; in test_some()
[all …]
Dlp_bld_blend_aos.c86 LLVMValueRef rgb_src_factor; member
373 boolean rgb_alpha_same = (state->rgb_src_factor == state->rgb_dst_factor && in lp_build_blend_aos()
378 src_factor = lp_build_blend_factor(&bld, state->rgb_src_factor, in lp_build_blend_aos()
390 alpha_only ? state->alpha_src_factor : state->rgb_src_factor, in lp_build_blend_aos()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_atom_blend.c243 blend->rt[i].rgb_src_factor = PIPE_BLENDFACTOR_ONE; in st_update_blend()
247 blend->rt[i].rgb_src_factor = in st_update_blend()
275 rt->rgb_src_factor = fix_xrgb_alpha(rt->rgb_src_factor); in st_update_blend()
/third_party/mesa3d/src/panfrost/lib/tests/
Dtest-blend.c208 .rgb_src_factor = BLEND_FACTOR_ZERO,
229 .rgb_src_factor = BLEND_FACTOR_ZERO,
250 .rgb_src_factor = BLEND_FACTOR_ZERO,
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_blend.c64 !(rt0->rgb_src_factor == PIPE_BLENDFACTOR_ONE && in etna_blend_state_create()
77 !(rt0->rgb_src_factor == rt0->alpha_src_factor && in etna_blend_state_create()
85 VIVS_PE_ALPHA_CONFIG_SRC_FUNC_COLOR(translate_blend_factor(rt0->rgb_src_factor)) | in etna_blend_state_create()
/third_party/mesa3d/src/panfrost/lib/
Dpan_blend.c118 return blend_factor_constant_mask(eq.rgb_src_factor) | in pan_blend_constant_mask()
148 equation.rgb_src_factor, in pan_blend_can_fixed_function()
295 return equation.rgb_src_factor == BLEND_FACTOR_ZERO && in pan_blend_is_opaque()
325 is_dest_factor(equation.rgb_src_factor, false) || in pan_blend_reads_dest()
354 equation.rgb_src_factor, in pan_blend_to_fixed_function_equation()
456 assert(rt_state->equation.rgb_src_factor < ARRAY_SIZE(factors)); in get_equation_str()
464 factors[rt_state->equation.rgb_src_factor], in get_equation_str()
561 options.rt[0].rgb.src_factor = rt_state->equation.rgb_src_factor; in GENX()
Dpan_blend.h44 enum blend_factor rgb_src_factor : 4; member
/third_party/mesa3d/src/gallium/frontends/d3d10umd/
DOutputMerger.cpp576 state.rt[0].rgb_src_factor = PIPE_BLENDFACTOR_ONE; in CreateBlendState()
579 state.rt[0].rgb_src_factor = translateBlend(pDevice, pBlendDesc->SrcBlend); in CreateBlendState()
598 state.rt[i].rgb_src_factor = state.rt[0].rgb_src_factor; in CreateBlendState()
648 state.rt[i].rgb_src_factor = PIPE_BLENDFACTOR_ONE; in CreateBlendState1()
651 state.rt[i].rgb_src_factor = translateBlend(pDevice, pBlendDesc->RenderTarget[i].SrcBlend); in CreateBlendState1()
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_blend.c93 i, .rgb_src_factor = fd_blend_factor(rt->rgb_src_factor), in __fd6_setup_blend_variant()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_dual_blend.h17 if (util_blend_factor_is_dual_src(blend->rt[index].rgb_src_factor) || in util_blend_state_is_dual()
Du_blend.h139 (util_blend_factor_uses_dest(rt.rgb_src_factor, false) || in util_blend_uses_dest()
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_blend.c82 fd_blend_factor(rt->rgb_src_factor)) | in fd2_blend_state_create()
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_blend.c86 fd_blend_factor(rt->rgb_src_factor)) | in fd3_blend_state_create()
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_blend.c86 fd_blend_factor(rt->rgb_src_factor)) | in fd4_blend_state_create()
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_blend.c89 fd_blend_factor(rt->rgb_src_factor)) | in fd5_blend_state_create()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_blend.c347 svga_translate_blend_factor(svga, templ->rt[j].rgb_src_factor); in svga_create_blend_state()
392 if (templ->rt[0].rgb_src_factor == PIPE_BLENDFACTOR_CONST_ALPHA || in svga_create_blend_state()
394 templ->rt[0].rgb_src_factor == PIPE_BLENDFACTOR_INV_CONST_ALPHA || in svga_create_blend_state()
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_nir_lower_blend.c265 int src_factor = ((i != 3) ? blend->rgb_src_factor : in vc4_do_blending_f()
324 blend->rgb_src_factor, in vc4_do_blending_i()
333 blend->alpha_src_factor != blend->rgb_src_factor) { in vc4_do_blending_i()
/third_party/mesa3d/src/gallium/auxiliary/postprocess/
Dpp_program.c87 p->blend.rt[0].rgb_src_factor = p->blend.rt[0].alpha_src_factor = in pp_init_prog()
/third_party/mesa3d/src/gallium/drivers/lima/
Dlima_draw.c533 … enum pipe_blendfactor rgb_src_factor, enum pipe_blendfactor rgb_dst_factor, in lima_calculate_alpha_blend() argument
545 (lima_blend_factor(rgb_src_factor) << 6) | in lima_calculate_alpha_blend()
546 (lima_blend_factor_is_inv(rgb_src_factor) << 9) | in lima_calculate_alpha_blend()
547 (lima_blend_factor_has_alpha(rgb_src_factor) << 10) | in lima_calculate_alpha_blend()
629 rt->rgb_src_factor, rt->rgb_dst_factor, in lima_pack_render_state()
/third_party/mesa3d/src/gallium/frontends/xa/
Dxa_yuv.c47 blend.rt[0].rgb_src_factor = PIPE_BLENDFACTOR_ONE; in xa_yuv_bind_blend_state()
/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_quad_blend.c280 switch (softpipe->blend->rt[blend_index].rgb_src_factor) { in blend_quad()
1242 else if (blend->rt[0].rgb_src_factor == blend->rt[0].alpha_src_factor && in choose_blend_quad()
1247 if (blend->rt[0].rgb_src_factor == PIPE_BLENDFACTOR_ONE && in choose_blend_quad()
1251 else if (blend->rt[0].rgb_src_factor == PIPE_BLENDFACTOR_SRC_ALPHA && in choose_blend_quad()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_shader.c352 options.rt[rt].rgb.src_factor = rt_state->equation.rgb_src_factor; in panvk_lower_blend()
366 rt_state->equation.rgb_src_factor = BLEND_FACTOR_ZERO; in panvk_lower_blend()
/third_party/mesa3d/src/gallium/include/pipe/
Dp_state.h349 unsigned rgb_src_factor:5; /**< PIPE_BLENDFACTOR_x */ member
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_state.c112 cso->rt[i].rgb_src_factor != cso->rt[r].rgb_src_factor || in nvc0_blend_state_create()
152 SB_DATA (so, nvc0_blend_fac(cso->rt[i].rgb_src_factor)); in nvc0_blend_state_create()
163 SB_DATA (so, nvc0_blend_fac(cso->rt[r].rgb_src_factor)); in nvc0_blend_state_create()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_state.c377 … att.srcColorBlendFactor = blend_factor(fix_blendfactor(rt->rgb_src_factor, cso->alpha_to_one)); in zink_create_blend_state()
384 if (need_blend_constants(rt->rgb_src_factor) || in zink_create_blend_state()

123