Home
last modified time | relevance | path

Searched refs:blend_cntl (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.c490 unsigned blend_cntl = 0; in si_create_blend_state_mode() local
499 blend_cntl |= S_028780_ENABLE(1); in si_create_blend_state_mode()
501 si_pm4_set_reg(pm4, R_028780_CB_BLEND0_CONTROL + i * 4, blend_cntl); in si_create_blend_state_mode()
511 si_pm4_set_reg(pm4, R_028780_CB_BLEND0_CONTROL + i * 4, blend_cntl); in si_create_blend_state_mode()
521 si_pm4_set_reg(pm4, R_028780_CB_BLEND0_CONTROL + i * 4, blend_cntl); in si_create_blend_state_mode()
566 blend_cntl |= S_028780_ENABLE(1); 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()
568 blend_cntl |= S_028780_COLOR_SRCBLEND(si_translate_blend_factor(srcRGB)); in si_create_blend_state_mode()
569 blend_cntl |= S_028780_COLOR_DESTBLEND(si_translate_blend_factor(dstRGB)); in si_create_blend_state_mode()
572 blend_cntl |= S_028780_SEPARATE_ALPHA_BLEND(1); in si_create_blend_state_mode()
[all …]
/external/mesa3d/src/amd/vulkan/
Dradv_pipeline.c677 unsigned blend_cntl = 0; in radv_pipeline_init_blend_state() local
700 blend.cb_blend_control[i] = blend_cntl; in radv_pipeline_init_blend_state()
766 blend_cntl |= S_028780_ENABLE(1); 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()
769 blend_cntl |= S_028780_COLOR_SRCBLEND(si_translate_blend_factor(srcRGB)); in radv_pipeline_init_blend_state()
770 blend_cntl |= S_028780_COLOR_DESTBLEND(si_translate_blend_factor(dstRGB)); in radv_pipeline_init_blend_state()
772 blend_cntl |= S_028780_SEPARATE_ALPHA_BLEND(1); in radv_pipeline_init_blend_state()
773 blend_cntl |= S_028780_ALPHA_COMB_FCN(si_translate_blend_function(eqA)); in radv_pipeline_init_blend_state()
774 blend_cntl |= S_028780_ALPHA_SRCBLEND(si_translate_blend_factor(srcA)); in radv_pipeline_init_blend_state()
775 blend_cntl |= S_028780_ALPHA_DESTBLEND(si_translate_blend_factor(dstA)); in radv_pipeline_init_blend_state()
[all …]