/external/mesa3d/src/gallium/drivers/r300/ |
D | r300_state.c | 172 static unsigned blend_discard_conditionally(unsigned eqRGB, unsigned eqA, in blend_discard_conditionally() argument 188 if ((eqRGB == PIPE_BLEND_ADD || eqRGB == PIPE_BLEND_REVERSE_SUBTRACT) && in blend_discard_conditionally() 271 static unsigned blend_read_enable(unsigned eqRGB, unsigned eqA, in blend_read_enable() argument 283 if (eqRGB == PIPE_BLEND_MIN || eqA == PIPE_BLEND_MIN || in blend_read_enable() 284 eqRGB == PIPE_BLEND_MAX || eqA == PIPE_BLEND_MAX || in blend_read_enable() 302 if (eqRGB != PIPE_BLEND_MIN && eqA != PIPE_BLEND_MIN && in blend_read_enable() 303 eqRGB != PIPE_BLEND_MAX && eqA != PIPE_BLEND_MAX) { in blend_read_enable() 355 const unsigned eqRGB = state->rt[0].rgb_func; in r300_create_blend_state() local 404 blend_eq = r300_translate_blend_function(eqRGB, TRUE); in r300_create_blend_state() 405 blend_eq_noclamp = r300_translate_blend_function(eqRGB, FALSE); in r300_create_blend_state() [all …]
|
/external/deqp/modules/gles2/functional/ |
D | es2fBlendTests.cpp | 434 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/ |
D | es3fBlendTests.cpp | 499 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/ |
D | i915_state.c | 298 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/amd/vulkan/ |
D | radv_pipeline.c | 553 VkBlendOp eqRGB = att->colorBlendOp; in radv_pipeline_init_blend_state() local 575 if (eqRGB == VK_BLEND_OP_MIN || eqRGB == VK_BLEND_OP_MAX) { in radv_pipeline_init_blend_state() 590 si_blend_remove_dst(&eqRGB, &srcRGB, &dstRGB, in radv_pipeline_init_blend_state() 624 S_028760_COLOR_COMB_FCN(si_translate_blend_opt_function(eqRGB)) | in radv_pipeline_init_blend_state() 630 blend_cntl |= S_028780_COLOR_COMB_FCN(si_translate_blend_function(eqRGB)); in radv_pipeline_init_blend_state() 633 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in radv_pipeline_init_blend_state()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | genX_state_upload.c | 2849 GLenum eqRGB = ctx->Color.Blend[i].EquationRGB; local 2856 if (eqRGB == GL_MIN || eqRGB == GL_MAX) 2895 entry->ColorBlendFunction = blend_eqn(eqRGB); 2898 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) 4588 GLenum eqRGB = color->Blend[0].EquationRGB; local 4595 if (eqRGB == GL_MIN || eqRGB == GL_MAX) 4633 srcA != srcRGB || dstA != dstRGB || eqA != eqRGB;
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_state.c | 107 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/ |
D | si_state.c | 507 unsigned eqRGB = state->rt[j].rgb_func; in si_create_blend_state_mode() local 535 (eqRGB == PIPE_BLEND_MIN || eqRGB == PIPE_BLEND_MAX || in si_create_blend_state_mode() 553 eqRGB, srcRGB, dstRGB, 0x7 << (4 * i)); in si_create_blend_state_mode() 563 si_blend_remove_dst(&eqRGB, &srcRGB, &dstRGB, in si_create_blend_state_mode() 595 S_028760_COLOR_COMB_FCN(si_translate_blend_opt_function(eqRGB)) | in si_create_blend_state_mode() 602 blend_cntl |= S_028780_COLOR_COMB_FCN(si_translate_blend_function(eqRGB)); in si_create_blend_state_mode() 606 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in si_create_blend_state_mode()
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_state.c | 288 unsigned eqRGB = state->rt[j].rgb_func; in r600_get_blend_control() local 300 bc |= S_028804_COLOR_COMB_FCN(r600_translate_blend_function(eqRGB)); in r600_get_blend_control() 304 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in r600_get_blend_control()
|
D | evergreen_state.c | 374 unsigned eqRGB = state->rt[j].rgb_func; in evergreen_create_blend_state_mode() local 390 bc |= S_028780_COLOR_COMB_FCN(r600_translate_blend_function(eqRGB)); in evergreen_create_blend_state_mode() 394 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in evergreen_create_blend_state_mode()
|