HomeSort by: relevance | last modified time | path
    Searched refs:dst_factor (Results 1 - 20 of 20) sorted by relevancy

  /xsrc/external/mit/MesaLib/dist/src/compiler/nir/
nir_lower_blend.h 41 enum blend_factor dst_factor; member in struct:__anon783
nir_lower_blend.c 316 chan.dst_factor, chan.invert_dst_factor);
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/panfrost/
pan_blending.c 218 panfrost_make_fixed_blend_part(unsigned func, unsigned src_factor, unsigned dst_factor, unsigned *out)
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/dist/src/gallium/drivers/llvmpipe/
lp_bld_blend.c 83 lp_build_blend_factor_complementary(unsigned src_factor, unsigned dst_factor)
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);
lp_bld_blend.h 52 LLVMValueRef dst_factor,
lp_bld_blend_aos.c 327 LLVMValueRef src_factor, dst_factor; local
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/
test-blend.c 62 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/llvmpipe/
lp_bld_blend.c 83 lp_build_blend_factor_complementary(unsigned src_factor, unsigned dst_factor)
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);
lp_bld_blend.h 52 LLVMValueRef dst_factor,
lp_bld_blend_aos.c 327 LLVMValueRef src_factor, dst_factor; local
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/vc4/
vc4_nir_lower_blend.c 267 int dst_factor = ((i != 3) ? blend->rgb_dst_factor : local
276 dst_factor, i));
326 nir_ssa_def *dst_factor = vc4_blend_channel_i(b, local
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/MesaLib.old/dist/src/gallium/drivers/vc4/
vc4_nir_lower_blend.c 274 int dst_factor = ((i != 3) ? blend->rgb_dst_factor : local
283 dst_factor, i));
333 nir_ssa_def *dst_factor = vc4_blend_channel_i(b, local
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/xf86-video-nouveau/dist/src/
nv10_exa.c 469 int dst_factor = op->dst; local
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/
pan_blend.c 458 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/
panvk_vX_shader.c 344 .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/
agx_state.c 138 .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/
radv_pipeline.c 337 unsigned *dst_factor, unsigned expected_dst,
341 *dst_factor == VK_BLEND_FACTOR_ZERO) {
343 *dst_factor = replacement_src;
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/
si_state.c 418 static void si_blend_remove_dst(unsigned *func, unsigned *src_factor, unsigned *dst_factor,
421 if (*src_factor == expected_dst && *dst_factor == PIPE_BLENDFACTOR_ZERO) {
423 *dst_factor = replacement_src;
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeonsi/
si_state.c 426 unsigned *dst_factor, unsigned expected_dst,
430 *dst_factor == PIPE_BLENDFACTOR_ZERO) {
432 *dst_factor = replacement_src;
  /xsrc/external/mit/MesaLib/dist/src/amd/vulkan/
radv_pipeline.c 381 si_blend_remove_dst(VkBlendOp *func, VkBlendFactor *src_factor, VkBlendFactor *dst_factor,
384 if (*src_factor == expected_dst && *dst_factor == VK_BLEND_FACTOR_ZERO) {
386 *dst_factor = replacement_src;

Completed in 79 milliseconds