Home
last modified time | relevance | path

Searched refs:dst_factor (Results 1 – 12 of 12) sorted by relevance

/third_party/mesa3d/src/panfrost/lib/tests/
Dtest-blend.c66 RGBA(dst_factor, BLEND_FACTOR_SRC_ALPHA),
85 RGBA(dst_factor, BLEND_FACTOR_ZERO),
105 RGBA(dst_factor, BLEND_FACTOR_ZERO),
124 RGBA(dst_factor, BLEND_FACTOR_ZERO),
144 RGBA(dst_factor, BLEND_FACTOR_ZERO),
163 RGBA(dst_factor, BLEND_FACTOR_SRC_COLOR),
195 RGBA(dst_factor, BLEND_FACTOR_SRC_COLOR),
213 RGBA(dst_factor, BLEND_FACTOR_SRC_COLOR),
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_bld_blend.c84 lp_build_blend_factor_complementary(unsigned src_factor, unsigned dst_factor) in lp_build_blend_factor_complementary() argument
89 return dst_factor == (src_factor ^ 0x10); in lp_build_blend_factor_complementary()
199 LLVMValueRef dst_factor, in lp_build_blend() argument
212 return lp_build_lerp(bld, dst_factor, src, dst, 0); in lp_build_blend()
221 result = lp_build_mul(bld, result, dst_factor); in lp_build_blend()
231 result = lp_build_mul(bld, result, dst_factor); in lp_build_blend()
300 lp_build_mul_norm_expand(bld, dst, dst_factor, &dst_terml, &dst_termh, in lp_build_blend()
314 dst_term = lp_build_mul(bld, dst, dst_factor); in lp_build_blend()
Dlp_bld_blend_aos.c378 LLVMValueRef src_factor, dst_factor; in lp_build_blend_aos() local
385 dst_factor = lp_build_blend_factor(&bld, state->rgb_dst_factor, in lp_build_blend_aos()
397 dst_factor, in lp_build_blend_aos()
412 dst_factor, in lp_build_blend_aos()
Dlp_bld_blend.h52 LLVMValueRef dst_factor,
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_nir_lower_blend.c267 int dst_factor = ((i != 3) ? blend->rgb_dst_factor : in vc4_do_blending_f() local
276 dst_factor, i)); in vc4_do_blending_f()
326 nir_ssa_def *dst_factor = vc4_blend_channel_i(b, in vc4_do_blending_i() local
352 dst_factor = vc4_nir_set_packed_chan(b, dst_factor, in vc4_do_blending_i()
357 nir_ssa_def *dst_blend = nir_umul_unorm_4x8_vc4(b, dst_color, dst_factor); in vc4_do_blending_i()
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_blend.h41 enum blend_factor dst_factor; member
Dnir_lower_blend.c348 chan.dst_factor, chan.invert_dst_factor); in nir_blend()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_shader.c124 .dst_factor = BLEND_FACTOR_ZERO, in panvk_lower_blend()
134 options.rt[rt].rgb.dst_factor = rt_state->equation.rgb_dst_factor; in panvk_lower_blend()
139 options.rt[rt].alpha.dst_factor = rt_state->equation.alpha_dst_factor; in panvk_lower_blend()
/third_party/mesa3d/src/panfrost/lib/
Dpan_blend.c638 .dst_factor = BLEND_FACTOR_ZERO, in GENX()
648 options.rt[0].rgb.dst_factor = rt_state->equation.rgb_dst_factor; in GENX()
653 options.rt[0].alpha.dst_factor = rt_state->equation.alpha_dst_factor; in GENX()
/third_party/mesa3d/src/gallium/drivers/asahi/
Dagx_state.c138 .dst_factor = BLEND_FACTOR_ZERO, in agx_create_blend_state()
148 so->rt[i].rgb.dst_factor = util_blend_factor_to_shader(rt.rgb_dst_factor); in agx_create_blend_state()
154 so->rt[i].alpha.dst_factor = util_blend_factor_to_shader(rt.alpha_dst_factor); in agx_create_blend_state()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.c424 static void si_blend_remove_dst(unsigned *func, unsigned *src_factor, unsigned *dst_factor, in si_blend_remove_dst() argument
427 if (*src_factor == expected_dst && *dst_factor == PIPE_BLENDFACTOR_ZERO) { in si_blend_remove_dst()
429 *dst_factor = replacement_src; in si_blend_remove_dst()
/third_party/mesa3d/src/amd/vulkan/
Dradv_pipeline.c421 si_blend_remove_dst(unsigned *func, unsigned *src_factor, unsigned *dst_factor, in si_blend_remove_dst() argument
424 if (*src_factor == expected_dst && *dst_factor == V_028780_BLEND_ZERO) { in si_blend_remove_dst()
426 *dst_factor = replacement_src; in si_blend_remove_dst()