Searched refs:srcA (Results 1 - 25 of 29) sorted by relevance

12

/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/
H A Dr300_state.c58 static boolean blend_discard_if_src_alpha_0(unsigned srcRGB, unsigned srcA, argument
68 (srcA == PIPE_BLENDFACTOR_SRC_COLOR ||
69 srcA == PIPE_BLENDFACTOR_SRC_ALPHA ||
70 srcA == PIPE_BLENDFACTOR_SRC_ALPHA_SATURATE ||
71 srcA == PIPE_BLENDFACTOR_ZERO) &&
79 static boolean blend_discard_if_src_alpha_1(unsigned srcRGB, unsigned srcA, argument
88 (srcA == PIPE_BLENDFACTOR_INV_SRC_COLOR ||
89 srcA == PIPE_BLENDFACTOR_INV_SRC_ALPHA ||
90 srcA == PIPE_BLENDFACTOR_ZERO) &&
98 static boolean blend_discard_if_src_color_0(unsigned srcRGB, unsigned srcA, argument
113 blend_discard_if_src_color_1(unsigned srcRGB,unsigned srcA,unsigned dstRGB,unsigned dstA) argument
128 blend_discard_if_src_alpha_color_0(unsigned srcRGB,unsigned srcA,unsigned dstRGB,unsigned dstA) argument
151 blend_discard_if_src_alpha_color_1(unsigned srcRGB,unsigned srcA,unsigned dstRGB,unsigned dstA) argument
172 blend_discard_conditionally(unsigned eqRGB,unsigned eqA,unsigned dstRGB,unsigned dstA,unsigned srcRGB,unsigned srcA) argument
271 blend_read_enable(unsigned eqRGB,unsigned eqA,unsigned dstRGB,unsigned dstA,unsigned srcRGB,unsigned srcA,boolean src_alpha_optz) argument
360 const unsigned srcA = state->rt[0].alpha_src_factor; local in function:r300_create_blend_state
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/
H A Dr300_state.c59 static boolean blend_discard_if_src_alpha_0(unsigned srcRGB, unsigned srcA, argument
69 (srcA == PIPE_BLENDFACTOR_SRC_COLOR ||
70 srcA == PIPE_BLENDFACTOR_SRC_ALPHA ||
71 srcA == PIPE_BLENDFACTOR_SRC_ALPHA_SATURATE ||
72 srcA == PIPE_BLENDFACTOR_ZERO) &&
80 static boolean blend_discard_if_src_alpha_1(unsigned srcRGB, unsigned srcA, argument
89 (srcA == PIPE_BLENDFACTOR_INV_SRC_COLOR ||
90 srcA == PIPE_BLENDFACTOR_INV_SRC_ALPHA ||
91 srcA == PIPE_BLENDFACTOR_ZERO) &&
99 static boolean blend_discard_if_src_color_0(unsigned srcRGB, unsigned srcA, argument
114 blend_discard_if_src_color_1(unsigned srcRGB,unsigned srcA,unsigned dstRGB,unsigned dstA) argument
129 blend_discard_if_src_alpha_color_0(unsigned srcRGB,unsigned srcA,unsigned dstRGB,unsigned dstA) argument
152 blend_discard_if_src_alpha_color_1(unsigned srcRGB,unsigned srcA,unsigned dstRGB,unsigned dstA) argument
173 blend_discard_conditionally(unsigned eqRGB,unsigned eqA,unsigned dstRGB,unsigned dstA,unsigned srcRGB,unsigned srcA) argument
272 blend_read_enable(unsigned eqRGB,unsigned eqA,unsigned dstRGB,unsigned dstA,unsigned srcRGB,unsigned srcA,boolean src_alpha_optz) argument
354 const unsigned srcA = state->rt[0].alpha_src_factor; local in function:r300_create_blend_state
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i915/
H A Di915_state.c302 GLuint srcA = ctx->Color.Blend[0].SrcA; local in function:i915UpdateBlendState
310 srcA = dstA = GL_ONE;
317 iab |= SRC_ABLND_FACT(intel_translate_blend_factor(srcA));
321 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB)
340 GLenum dstRGB, GLenum srcA, GLenum dstA)
339 i915BlendFuncSeparate(struct gl_context * ctx,GLenum srcRGB,GLenum dstRGB,GLenum srcA,GLenum dstA) argument
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i915/
H A Di915_state.c302 GLuint srcA = ctx->Color.Blend[0].SrcA; local in function:i915UpdateBlendState
310 srcA = dstA = GL_ONE;
317 iab |= SRC_ABLND_FACT(intel_translate_blend_factor(srcA));
321 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB)
340 GLenum dstRGB, GLenum srcA, GLenum dstA)
339 i915BlendFuncSeparate(struct gl_context * ctx,GLenum srcRGB,GLenum dstRGB,GLenum srcA,GLenum dstA) argument
/xsrc/external/mit/MesaLib.old/dist/src/mesa/main/
H A Dmipmap.c1481 const GLubyte *srcA, *srcB; local in function:make_2d_mipmap
1486 srcA = srcPtr + border * ((srcWidth + 1) * bpt);
1489 srcB = srcA + srcRowStride;
1494 srcB = srcA;
1501 do_row(datatype, comps, srcWidthNB, srcA, srcB,
1503 srcA += srcRowStep * srcRowStride;
1681 const GLubyte *srcA, *srcB; local in function:make_3d_mipmap
1685 srcA = srcPtr[img * 2 + 0];
1688 do_row(datatype, comps, 1, srcA, srcB, 1, dst);
1691 srcA
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/main/
H A Dmipmap.c1481 const GLubyte *srcA, *srcB; local in function:make_2d_mipmap
1486 srcA = srcPtr + border * ((srcWidth + 1) * bpt);
1489 srcB = srcA + srcRowStride;
1494 srcB = srcA;
1501 do_row(datatype, comps, srcWidthNB, srcA, srcB,
1503 srcA += srcRowStep * srcRowStride;
1681 const GLubyte *srcA, *srcB; local in function:make_3d_mipmap
1685 srcA = srcPtr[img * 2 + 0];
1688 do_row(datatype, comps, 1, srcA, srcB, 1, dst);
1691 srcA
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i965/
H A DgenX_state_upload.c2959 GLenum srcA = ctx->Color.Blend[i].SrcA; local in function:set_blend_entry_bits
2966 srcA = dstA = GL_ONE;
2978 srcA = brw_fix_xRGB_alpha(srcA);
2991 srcA = fix_dual_blend_alpha_to_one(srcA);
3019 entry->SourceAlphaBlendFactor = blend_factor(srcA);
3023 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB)
4866 GLenum srcA = color->Blend[0].SrcA; local in function:genX
4873 srcA
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965/
H A DgenX_state_upload.c2858 GLenum srcA = ctx->Color.Blend[i].SrcA; local in function:set_blend_entry_bits
2865 srcA = dstA = GL_ONE;
2877 srcA = brw_fix_xRGB_alpha(srcA);
2890 srcA = fix_dual_blend_alpha_to_one(srcA);
2918 entry->SourceAlphaBlendFactor = blend_factor(srcA);
2922 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB)
4788 GLenum srcA = color->Blend[0].SrcA; local in function:genX
4795 srcA
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/swrast/
H A Ds_texcombine.c238 const GLenum srcA = combine->SourceA[term]; local in function:texture_combine
241 switch (srcA) {
281 const GLuint srcUnit = srcA - GL_TEXTURE0;
H A Ds_blend.c906 const GLenum srcA = ctx->Color.Blend[0].SrcA; local in function:_swrast_choose_blend_func
932 else if (srcRGB != srcA || dstRGB != dstA) {
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/i915/
H A Di915_state.c112 unsigned srcA = blend->rt[0].alpha_src_factor; local in function:i915_create_blend_state
119 if (srcA != srcRGB ||
129 SRC_ABLND_FACT(i915_translate_blend_factor(srcA)) |
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/i915/
H A Di915_state.c160 unsigned srcA = blend->rt[0].alpha_src_factor; local in function:i915_create_blend_state
167 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) {
172 SRC_ABLND_FACT(i915_translate_blend_factor(srcA)) |
/xsrc/external/mit/MesaLib/dist/src/mesa/swrast/
H A Ds_texcombine.c238 const GLenum srcA = combine->SourceA[term]; local in function:texture_combine
241 switch (srcA) {
281 const GLuint srcUnit = srcA - GL_TEXTURE0;
H A Ds_blend.c906 const GLenum srcA = ctx->Color.Blend[0].SrcA; local in function:_swrast_choose_blend_func
932 else if (srcRGB != srcA || dstRGB != dstA) {
/xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/
H A Dradv_pipeline.c715 VkBlendFactor srcA = att->srcAlphaBlendFactor; local in function:radv_pipeline_init_blend_state
730 if (is_dual_src(srcRGB) || is_dual_src(dstRGB) || is_dual_src(srcA) || is_dual_src(dstA))
739 srcA = VK_BLEND_FACTOR_ONE;
745 radv_blend_check_commutativity(&blend, eqA, srcA, dstA,
758 si_blend_remove_dst(&eqA, &srcA, &dstA,
762 si_blend_remove_dst(&eqA, &srcA, &dstA,
769 srcA_opt = si_translate_blend_opt_factor(srcA, true);
775 if (si_blend_factor_uses_dst(srcA))
797 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) {
800 blend_cntl |= S_028780_ALPHA_SRCBLEND(si_translate_blend_factor(srcA));
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeonsi/
H A Dsi_state.c497 unsigned srcA = state->rt[j].alpha_src_factor; local in function:si_create_blend_state_mode
541 eqA, srcA, dstA, 0x8 << (4 * i));
552 si_blend_remove_dst(&eqA, &srcA, &dstA,
555 si_blend_remove_dst(&eqA, &srcA, &dstA,
562 srcA_opt = si_translate_blend_opt_factor(srcA, true);
568 if (si_blend_factor_uses_dst(srcA))
592 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) {
595 blend_cntl |= S_028780_ALPHA_SRCBLEND(si_translate_blend_factor(srcA));
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/
H A Dsi_state.c497 unsigned srcA = state->rt[j].alpha_src_factor; local in function:si_create_blend_state_mode
537 si_blend_check_commutativity(sctx->screen, blend, eqA, srcA, dstA, 0x8 << (4 * i));
547 si_blend_remove_dst(&eqA, &srcA, &dstA, PIPE_BLENDFACTOR_DST_COLOR,
549 si_blend_remove_dst(&eqA, &srcA, &dstA, PIPE_BLENDFACTOR_DST_ALPHA,
555 srcA_opt = si_translate_blend_opt_factor(srcA, true);
561 if (util_blend_factor_uses_dest(srcA, false))
582 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) {
585 blend_cntl |= S_028780_ALPHA_SRCBLEND(si_translate_blend_factor(srcA));
/xsrc/external/mit/MesaLib/dist/src/amd/vulkan/
H A Dradv_pipeline.c658 VkBlendFactor srcA = att->srcAlphaBlendFactor; local in function:radv_pipeline_init_blend_state
680 if (is_dual_src(srcRGB) || is_dual_src(dstRGB) || is_dual_src(srcA) || is_dual_src(dstA))
689 srcA = VK_BLEND_FACTOR_ONE;
694 radv_blend_check_commutativity(&blend, eqA, srcA, dstA, 0x8u << (4 * i));
705 si_blend_remove_dst(&eqA, &srcA, &dstA, VK_BLEND_FACTOR_DST_COLOR,
708 si_blend_remove_dst(&eqA, &srcA, &dstA, VK_BLEND_FACTOR_DST_ALPHA,
714 srcA_opt = si_translate_blend_opt_factor(srcA, true);
720 if (si_blend_factor_uses_dst(srcA))
739 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) {
742 blend_cntl |= S_028780_ALPHA_SRCBLEND(si_translate_blend_factor(srcA));
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r600/
H A Dr600_state.c294 unsigned srcA = state->rt[j].alpha_src_factor; local in function:r600_get_blend_control
305 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) {
308 bc |= S_028804_ALPHA_SRCBLEND(r600_translate_blend_factor(srcA));
H A Devergreen_state.c380 unsigned srcA = state->rt[j].alpha_src_factor; local in function:evergreen_create_blend_state_mode
396 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) {
399 bc |= S_028780_ALPHA_SRCBLEND(r600_translate_blend_factor(srcA));
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/
H A Dr600_state.c299 unsigned srcA = state->rt[j].alpha_src_factor; local in function:r600_get_blend_control
310 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) {
313 bc |= S_028804_ALPHA_SRCBLEND(r600_translate_blend_factor(srcA));
H A Devergreen_state.c385 unsigned srcA = state->rt[j].alpha_src_factor; local in function:evergreen_create_blend_state_mode
401 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) {
404 bc |= S_028780_ALPHA_SRCBLEND(r600_translate_blend_factor(srcA));
/xsrc/external/mit/MesaLib/src/mapi/glapi/gen/
H A Dmarshal_generated3.c3277 GLenum srcA; member in struct:marshal_cmd_BlendFuncSeparateiARB
3286 GLenum srcA = cmd->srcA; local in function:_mesa_unmarshal_BlendFuncSeparateiARB
3288 CALL_BlendFuncSeparateiARB(ctx->CurrentServerDispatch, (buf, srcRGB, dstRGB, srcA, dstA));
3294 _mesa_marshal_BlendFuncSeparateiARB(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcA, GLenum dstA) argument
3303 cmd->srcA = srcA;
/xsrc/external/mit/MesaLib.old/src/mapi/
H A Dshared-glapi_glapi_mapi_tmp.h726 void APIENTRY shared_dispatch_stub_713(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcA, GLenum dstA);
5742 static void APIENTRY noopBlendFuncSeparateiARB(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcA, GLenum dstA) argument
5744 (void) buf; (void) srcRGB; (void) dstRGB; (void) srcA; (void) dstA;
22539 void APIENTRY shared_dispatch_stub_713(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcA, GLenum dstA) argument
22543 ((void (APIENTRY *)(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcA, GLenum dstA)) _func)(buf, srcRGB, dstRGB, srcA, dstA);
[all...]
/xsrc/external/mit/MesaLib.old/src/mapi/glapi/
H A Dglapi_mapi_tmp.h992 GLAPI void APIENTRY GLAPI_PREFIX(BlendFuncSeparateiARB)(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcA, GLenum dstA);
8124 GLAPI void APIENTRY GLAPI_PREFIX(BlendFuncSeparateiARB)(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcA, GLenum dstA)
8128 ((void (APIENTRY *)(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcA, GLenum dstA)) _func)(buf, srcRGB, dstRGB, srcA, dstA);

Completed in 157 milliseconds

12