Home
last modified time | relevance | path

Searched refs:eqRGB (Results 1 - 8 of 8) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/r300/
H A Dr300_state.c175 static unsigned blend_discard_conditionally(unsigned eqRGB, unsigned eqA, in blend_discard_conditionally() argument
191 if ((eqRGB == PIPE_BLEND_ADD || eqRGB == PIPE_BLEND_REVERSE_SUBTRACT) && in blend_discard_conditionally()
274 static unsigned blend_read_enable(unsigned eqRGB, unsigned eqA, in blend_read_enable() argument
286 if (eqRGB == PIPE_BLEND_MIN || eqA == PIPE_BLEND_MIN || in blend_read_enable()
287 eqRGB == PIPE_BLEND_MAX || eqA == PIPE_BLEND_MAX || in blend_read_enable()
298 if (eqRGB != PIPE_BLEND_MIN && eqA != PIPE_BLEND_MIN && in blend_read_enable()
299 eqRGB != PIPE_BLEND_MAX && eqA != PIPE_BLEND_MAX) { in blend_read_enable()
351 const unsigned eqRGB = state->rt[0].rgb_func; in r300_create_blend_state() local
400 blend_eq = r300_translate_blend_function(eqRGB, TRU in r300_create_blend_state()
[all...]
/third_party/vk-gl-cts/modules/gles2/functional/
H A 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, defaultBlendColor)); in init()
/third_party/vk-gl-cts/modules/gles3/functional/
H A 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, defaultBlendColor)); in init()
/third_party/mesa3d/src/gallium/drivers/i915/
H A Di915_state.c155 unsigned eqRGB = blend->rt[0].rgb_func; in i915_create_blend_state() local
167 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in i915_create_blend_state()
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_pipeline.c730 unsigned eqRGB = info->cb.att[i].color_blend_op; in radv_pipeline_init_blend_state() local
762 if (eqRGB == V_028780_COMB_MIN_DST_SRC || eqRGB == V_028780_COMB_MAX_DST_SRC) { in radv_pipeline_init_blend_state()
771 radv_blend_check_commutativity(gfx_level, &blend, eqRGB, srcRGB, dstRGB, 0x7u << (4 * i)); in radv_pipeline_init_blend_state()
780 si_blend_remove_dst(&eqRGB, &srcRGB, &dstRGB, V_028780_BLEND_DST_COLOR, in radv_pipeline_init_blend_state()
809 S_028760_COLOR_COMB_FCN(si_translate_blend_opt_function(eqRGB)) | in radv_pipeline_init_blend_state()
814 blend_cntl |= S_028780_COLOR_COMB_FCN(eqRGB); in radv_pipeline_init_blend_state()
817 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in radv_pipeline_init_blend_state()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_state.c501 unsigned eqRGB = state->rt[j].rgb_func; in si_create_blend_state_mode() local
530 if (blend->dual_src_blend && (eqRGB == PIPE_BLEND_MIN || eqRGB == PIPE_BLEND_MAX || in si_create_blend_state_mode()
547 si_blend_check_commutativity(sctx->screen, blend, eqRGB, srcRGB, dstRGB, 0x7 << (4 * i)); in si_create_blend_state_mode()
556 si_blend_remove_dst(&eqRGB, &srcRGB, &dstRGB, PIPE_BLENDFACTOR_DST_COLOR, in si_create_blend_state_mode()
583 S_028760_COLOR_COMB_FCN(si_translate_blend_opt_function(eqRGB)) | in si_create_blend_state_mode()
589 blend_cntl |= S_028780_COLOR_COMB_FCN(si_translate_blend_function(eqRGB)); in si_create_blend_state_mode()
593 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in si_create_blend_state_mode()
/third_party/mesa3d/src/gallium/drivers/r600/
H A Dr600_state.c294 unsigned eqRGB = state->rt[j].rgb_func; in r600_get_blend_control() local
306 bc |= S_028804_COLOR_COMB_FCN(r600_translate_blend_function(eqRGB)); in r600_get_blend_control()
310 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in r600_get_blend_control()
H A Devergreen_state.c381 unsigned eqRGB = state->rt[j].rgb_func; in evergreen_create_blend_state_mode() local
397 bc |= S_028780_COLOR_COMB_FCN(r600_translate_blend_function(eqRGB)); in evergreen_create_blend_state_mode()
401 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in evergreen_create_blend_state_mode()

Completed in 35 milliseconds