Home
last modified time | relevance | path

Searched refs:eqRGB (Results 1 – 10 of 10) sorted by relevance

/external/mesa3d/src/gallium/drivers/r300/
Dr300_state.c173 static unsigned blend_discard_conditionally(unsigned eqRGB, unsigned eqA, in blend_discard_conditionally() argument
189 if ((eqRGB == PIPE_BLEND_ADD || eqRGB == PIPE_BLEND_REVERSE_SUBTRACT) && in blend_discard_conditionally()
272 static unsigned blend_read_enable(unsigned eqRGB, unsigned eqA, in blend_read_enable() argument
284 if (eqRGB == PIPE_BLEND_MIN || eqA == PIPE_BLEND_MIN || in blend_read_enable()
285 eqRGB == PIPE_BLEND_MAX || eqA == PIPE_BLEND_MAX || in blend_read_enable()
296 if (eqRGB != PIPE_BLEND_MIN && eqA != PIPE_BLEND_MIN && in blend_read_enable()
297 eqRGB != PIPE_BLEND_MAX && eqA != PIPE_BLEND_MAX) { in blend_read_enable()
349 const unsigned eqRGB = state->rt[0].rgb_func; in r300_create_blend_state() local
398 blend_eq = r300_translate_blend_function(eqRGB, TRUE); in r300_create_blend_state()
399 blend_eq_noclamp = r300_translate_blend_function(eqRGB, FALSE); in r300_create_blend_state()
[all …]
/external/deqp/modules/gles2/functional/
Des2fBlendTests.cpp434 const EnumGL& eqRGB = blendEquations[equationRGBNdx]; in init() local
437 string name = string("") + eqRGB.nameStr + "_" + eqAlpha.nameStr; in init()
439 "RGB equation " + getBlendEquationName(eqRGB.glValue) + in init()
443 …paramSets.push_back(BlendParams(eqRGB.glValue, GL_ONE, GL_ONE, eqAlpha.glValue, GL_ONE, GL_ONE, de… in init()
/external/deqp/modules/gles3/functional/
Des3fBlendTests.cpp499 const EnumGL& eqRGB = blendEquations[equationRGBNdx]; in init() local
502 string name = string("") + eqRGB.nameStr + "_" + eqAlpha.nameStr; in init()
504 "RGB equation " + getBlendEquationName(eqRGB.glValue) + in init()
508 …paramSets.push_back(BlendParams(eqRGB.glValue, GL_ONE, GL_ONE, eqAlpha.glValue, GL_ONE, GL_ONE, de… in init()
/external/mesa3d/src/mesa/drivers/dri/i915/
Di915_state.c298 GLuint eqRGB = ctx->Color.Blend[0].EquationRGB; in i915UpdateBlendState() local
305 if (eqRGB == GL_MIN || eqRGB == GL_MAX) { in i915UpdateBlendState()
315 lis6 |= translate_blend_equation(eqRGB) << S6_CBUF_BLEND_FUNC_SHIFT; in i915UpdateBlendState()
321 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) in i915UpdateBlendState()
347 i915BlendEquationSeparate(struct gl_context * ctx, GLenum eqRGB, GLenum eqA) in i915BlendEquationSeparate() argument
/external/mesa3d/src/mesa/drivers/dri/i965/
DgenX_state_upload.c2855 GLenum eqRGB = ctx->Color.Blend[i].EquationRGB; local
2862 if (eqRGB == GL_MIN || eqRGB == GL_MAX)
2920 entry->ColorBlendFunction = blend_eqn(eqRGB);
2923 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB)
4791 GLenum eqRGB = color->Blend[0].EquationRGB; local
4798 if (eqRGB == GL_MIN || eqRGB == GL_MAX)
4854 srcA != srcRGB || dstA != dstRGB || eqA != eqRGB;
/external/mesa3d/src/gallium/drivers/i915/
Di915_state.c107 unsigned eqRGB = blend->rt[0].rgb_func; in i915_create_blend_state() local
121 eqA != eqRGB) { in i915_create_blend_state()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.c482 unsigned eqRGB = state->rt[j].rgb_func; in si_create_blend_state_mode() local
508 if (blend->dual_src_blend && (eqRGB == PIPE_BLEND_MIN || eqRGB == PIPE_BLEND_MAX || in si_create_blend_state_mode()
525 si_blend_check_commutativity(sctx->screen, blend, eqRGB, srcRGB, dstRGB, 0x7 << (4 * i)); in si_create_blend_state_mode()
534 si_blend_remove_dst(&eqRGB, &srcRGB, &dstRGB, PIPE_BLENDFACTOR_DST_COLOR, in si_create_blend_state_mode()
561 S_028760_COLOR_COMB_FCN(si_translate_blend_opt_function(eqRGB)) | in si_create_blend_state_mode()
567 blend_cntl |= S_028780_COLOR_COMB_FCN(si_translate_blend_function(eqRGB)); in si_create_blend_state_mode()
571 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in si_create_blend_state_mode()
/external/mesa3d/src/amd/vulkan/
Dradv_pipeline.c679 VkBlendOp eqRGB = att->colorBlendOp; in radv_pipeline_init_blend_state() local
708 if (eqRGB == VK_BLEND_OP_MIN || eqRGB == VK_BLEND_OP_MAX) { in radv_pipeline_init_blend_state()
717 radv_blend_check_commutativity(&blend, eqRGB, srcRGB, dstRGB, in radv_pipeline_init_blend_state()
728 si_blend_remove_dst(&eqRGB, &srcRGB, &dstRGB, in radv_pipeline_init_blend_state()
762 S_028760_COLOR_COMB_FCN(si_translate_blend_opt_function(eqRGB)) | in radv_pipeline_init_blend_state()
768 blend_cntl |= S_028780_COLOR_COMB_FCN(si_translate_blend_function(eqRGB)); in radv_pipeline_init_blend_state()
771 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in radv_pipeline_init_blend_state()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_state.c289 unsigned eqRGB = state->rt[j].rgb_func; in r600_get_blend_control() local
301 bc |= S_028804_COLOR_COMB_FCN(r600_translate_blend_function(eqRGB)); in r600_get_blend_control()
305 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in r600_get_blend_control()
Devergreen_state.c376 unsigned eqRGB = state->rt[j].rgb_func; in evergreen_create_blend_state_mode() local
392 bc |= S_028780_COLOR_COMB_FCN(r600_translate_blend_function(eqRGB)); in evergreen_create_blend_state_mode()
396 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in evergreen_create_blend_state_mode()