Searched refs:eqA (Results 1 – 6 of 6) sorted by relevance
/third_party/mesa3d/src/gallium/drivers/r300/ |
D | r300_state.c | 175 static unsigned blend_discard_conditionally(unsigned eqRGB, unsigned eqA, in blend_discard_conditionally() argument 192 (eqA == PIPE_BLEND_ADD || eqA == 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() 355 const unsigned eqA = state->rt[0].alpha_func; in r300_create_blend_state() local 409 blend_control |= blend_read_enable(eqRGB, eqA, dstRGB, dstA, in r300_create_blend_state() 411 blend_control_noclamp |= blend_read_enable(eqRGB, eqA, dstRGB, dstA, in r300_create_blend_state() [all …]
|
/third_party/mesa3d/src/gallium/drivers/i915/ |
D | i915_state.c | 159 unsigned eqA = blend->rt[0].alpha_func; in i915_create_blend_state() local 167 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in i915_create_blend_state() 174 (i915_translate_blend_func(eqA) << IAB_FUNC_SHIFT)); in i915_create_blend_state()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_state.c | 504 unsigned eqA = state->rt[j].alpha_func; in si_create_blend_state_mode() local 531 eqA == PIPE_BLEND_MIN || eqA == PIPE_BLEND_MAX)) { in si_create_blend_state_mode() 548 si_blend_check_commutativity(sctx->screen, blend, eqA, srcA, dstA, 0x8 << (4 * i)); in si_create_blend_state_mode() 558 si_blend_remove_dst(&eqA, &srcA, &dstA, PIPE_BLENDFACTOR_DST_COLOR, in si_create_blend_state_mode() 560 si_blend_remove_dst(&eqA, &srcA, &dstA, PIPE_BLENDFACTOR_DST_ALPHA, in si_create_blend_state_mode() 585 S_028760_ALPHA_COMB_FCN(si_translate_blend_opt_function(eqA)); in si_create_blend_state_mode() 593 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in si_create_blend_state_mode() 595 blend_cntl |= S_028780_ALPHA_COMB_FCN(si_translate_blend_function(eqA)); in si_create_blend_state_mode()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_pipeline.c | 733 unsigned eqA = info->cb.att[i].alpha_blend_op; in radv_pipeline_init_blend_state() local 766 if (eqA == V_028780_COMB_MIN_DST_SRC || eqA == V_028780_COMB_MAX_DST_SRC) { in radv_pipeline_init_blend_state() 772 radv_blend_check_commutativity(gfx_level, &blend, eqA, srcA, dstA, 0x8u << (4 * i)); in radv_pipeline_init_blend_state() 783 si_blend_remove_dst(&eqA, &srcA, &dstA, V_028780_BLEND_DST_COLOR, in radv_pipeline_init_blend_state() 786 si_blend_remove_dst(&eqA, &srcA, &dstA, V_028780_BLEND_DST_ALPHA, in radv_pipeline_init_blend_state() 811 S_028760_ALPHA_COMB_FCN(si_translate_blend_opt_function(eqA)); in radv_pipeline_init_blend_state() 817 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in radv_pipeline_init_blend_state() 819 blend_cntl |= S_028780_ALPHA_COMB_FCN(eqA); in radv_pipeline_init_blend_state()
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
D | r600_state.c | 298 unsigned eqA = state->rt[j].alpha_func; in r600_get_blend_control() local 310 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in r600_get_blend_control() 312 bc |= S_028804_ALPHA_COMB_FCN(r600_translate_blend_function(eqA)); in r600_get_blend_control()
|
D | evergreen_state.c | 384 unsigned eqA = state->rt[j].alpha_func; in evergreen_create_blend_state_mode() local 401 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in evergreen_create_blend_state_mode() 403 bc |= S_028780_ALPHA_COMB_FCN(r600_translate_blend_function(eqA)); in evergreen_create_blend_state_mode()
|