| /xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/ |
| H A D | radv_pipeline.c | 336 static void si_blend_remove_dst(unsigned *func, unsigned *src_factor, argument 340 if (*src_factor == expected_dst && 342 *src_factor = VK_BLEND_FACTOR_ZERO;
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/ |
| H A D | lp_bld_blend.c | 83 lp_build_blend_factor_complementary(unsigned src_factor, unsigned dst_factor) argument 88 return dst_factor == (src_factor ^ 0x10); 178 * @param src_factor src factor computed value 197 LLVMValueRef src_factor, 209 return lp_build_lerp(bld, src_factor, dst, src, 0); 217 result = lp_build_mul(bld, result, src_factor); 227 result = lp_build_mul(bld, result, src_factor); 242 return lp_build_mul(bld, result, src_factor); 297 lp_build_mul_norm_expand(bld, src, src_factor, &src_terml, &src_termh, 312 src_term = lp_build_mul(bld, src, src_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 [all...] |
| H A D | lp_bld_blend.h | 51 LLVMValueRef src_factor,
|
| H A D | lp_bld_blend_aos.c | 327 LLVMValueRef src_factor, dst_factor; local in function:lp_build_blend_aos 378 src_factor = lp_build_blend_factor(&bld, state->rgb_src_factor, 394 src_factor, 409 src_factor,
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/panfrost/ |
| H A D | pan_blending.c | 143 panfrost_make_dominant_factor(unsigned src_factor, enum mali_dominant_factor *factor, bool *invert) argument 145 switch (src_factor) { 185 switch (src_factor) { 218 panfrost_make_fixed_blend_part(unsigned func, unsigned src_factor, unsigned dst_factor, unsigned *out) argument 246 } else if (is_edge_blendfactor(src_factor)) { 250 if (src_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 [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeonsi/ |
| H A D | si_state.c | 425 static void si_blend_remove_dst(unsigned *func, unsigned *src_factor, argument 429 if (*src_factor == expected_dst && 431 *src_factor = PIPE_BLENDFACTOR_ZERO;
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/vc4/ |
| H A D | vc4_nir_lower_blend.c | 272 int src_factor = ((i != 3) ? blend->rgb_src_factor : local in function:vc4_do_blending_f 279 src_factor, i)); 328 nir_ssa_def *src_factor = vc4_blend_channel_i(b, local in function:vc4_do_blending_i 347 src_factor = vc4_nir_set_packed_chan(b, src_factor, 363 nir_ssa_def *src_blend = nir_umul_unorm_4x8(b, src_color, src_factor);
|
| /xsrc/external/mit/MesaLib/dist/src/amd/vulkan/ |
| H A D | radv_pipeline.c | 381 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) { 385 *src_factor = VK_BLEND_FACTOR_ZERO;
|
| /xsrc/external/mit/MesaLib/dist/src/compiler/nir/ |
| H A D | nir_lower_blend.c | 311 chan.src_factor, chan.invert_src_factor);
|
| H A D | nir_lower_blend.h | 38 enum blend_factor src_factor; member in struct:__anonbef927490108
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/asahi/ |
| H A D | agx_state.c | 136 .src_factor = BLEND_FACTOR_ZERO, 146 so->rt[i].rgb.src_factor = util_blend_factor_to_shader(rt.rgb_src_factor); 152 so->rt[i].alpha.src_factor = util_blend_factor_to_shader(rt.alpha_src_factor);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/ |
| H A D | lp_bld_blend.c | 83 lp_build_blend_factor_complementary(unsigned src_factor, unsigned dst_factor) argument 88 return dst_factor == (src_factor ^ 0x10); 178 * @param src_factor src factor computed value 197 LLVMValueRef src_factor, 209 return lp_build_lerp(bld, src_factor, dst, src, 0); 217 result = lp_build_mul(bld, result, src_factor); 227 result = lp_build_mul(bld, result, src_factor); 242 return lp_build_mul(bld, result, src_factor); 297 lp_build_mul_norm_expand(bld, src, src_factor, &src_terml, &src_termh, 312 src_term = lp_build_mul(bld, src, src_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 [all...] |
| H A D | lp_bld_blend.h | 51 LLVMValueRef src_factor,
|
| H A D | lp_bld_blend_aos.c | 327 LLVMValueRef src_factor, dst_factor; local in function:lp_build_blend_aos 378 src_factor = lp_build_blend_factor(&bld, state->rgb_src_factor, 394 src_factor, 409 src_factor,
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/ |
| H A D | si_state.c | 418 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) { 422 *src_factor = PIPE_BLENDFACTOR_ZERO;
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/vc4/ |
| H A D | vc4_nir_lower_blend.c | 265 int src_factor = ((i != 3) ? blend->rgb_src_factor : local in function:vc4_do_blending_f 272 src_factor, i)); 321 nir_ssa_def *src_factor = vc4_blend_channel_i(b, local in function:vc4_do_blending_i 340 src_factor = vc4_nir_set_packed_chan(b, src_factor, 356 nir_ssa_def *src_blend = nir_umul_unorm_4x8_vc4(b, src_color, src_factor);
|
| /xsrc/external/mit/MesaLib/dist/src/panfrost/lib/ |
| H A D | pan_blend.c | 58 enum blend_factor src_factor, 65 ((src_factor == BLEND_FACTOR_DST_COLOR) || 66 ((src_factor == BLEND_FACTOR_DST_ALPHA) && is_alpha)) && 74 enum blend_factor src_factor, 81 if (is_2srcdest(blend_func, src_factor, invert_src, 92 if (!factor_is_supported(src_factor) || 96 if (src_factor != dest_factor && 97 src_factor != BLEND_FACTOR_ZERO && 191 enum blend_factor src_factor, 198 assert(can_fixed_function_equation(blend_func, src_factor, invert_sr 57 is_2srcdest(enum blend_func blend_func,enum blend_factor src_factor,bool invert_src,enum blend_factor dest_factor,bool invert_dest,bool is_alpha) argument 73 can_fixed_function_equation(enum blend_func blend_func,enum blend_factor src_factor,bool invert_src,enum blend_factor dest_factor,bool invert_dest,bool is_alpha,bool supports_2src) argument 190 to_panfrost_function(enum blend_func blend_func,enum blend_factor src_factor,bool invert_src,enum blend_factor dest_factor,bool invert_dest,bool is_alpha,struct MALI_BLEND_FUNCTION * function) argument [all...] |
| /xsrc/external/mit/MesaLib/dist/src/panfrost/lib/tests/ |
| H A D | test-blend.c | 61 RGBA(src_factor, BLEND_FACTOR_SRC_ALPHA), 78 RGBA(src_factor, BLEND_FACTOR_ZERO), 96 RGBA(src_factor, BLEND_FACTOR_SRC_ALPHA), 113 RGBA(src_factor, BLEND_FACTOR_ZERO), 131 RGBA(src_factor, BLEND_FACTOR_SRC_ALPHA), 148 RGBA(src_factor, BLEND_FACTOR_ZERO), 176 RGBA(src_factor, BLEND_FACTOR_ZERO), 192 RGBA(src_factor, BLEND_FACTOR_DST_COLOR),
|
| /xsrc/external/mit/MesaLib/dist/src/panfrost/vulkan/ |
| H A D | panvk_vX_shader.c | 342 .src_factor = BLEND_FACTOR_ZERO, 352 options.rt[rt].rgb.src_factor = rt_state->equation.rgb_src_factor; 357 options.rt[rt].alpha.src_factor = rt_state->equation.alpha_src_factor;
|
| /xsrc/external/mit/xf86-video-nouveau/dist/src/ |
| H A D | nv10_exa.c | 468 int src_factor = op->src; local in function:setup_blend_function 471 if (src_factor == SF(ONE_MINUS_DST_ALPHA) && 477 src_factor = SF(ZERO); 487 PUSH_DATA (push, src_factor);
|