Home
last modified time | relevance | path

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

/external/mesa3d/src/amd/vulkan/
Dradv_pipeline.c840 unsigned blend_cntl = 0; in radv_pipeline_init_blend_state() local
855 blend->cb_blend_control[i] = blend_cntl; in radv_pipeline_init_blend_state()
872 blend_cntl |= S_028780_ENABLE(1); in radv_pipeline_init_blend_state()
874 blend_cntl |= S_028780_COLOR_COMB_FCN(si_translate_blend_function(eqRGB)); in radv_pipeline_init_blend_state()
875 blend_cntl |= S_028780_COLOR_SRCBLEND(si_translate_blend_factor(srcRGB)); in radv_pipeline_init_blend_state()
876 blend_cntl |= S_028780_COLOR_DESTBLEND(si_translate_blend_factor(dstRGB)); in radv_pipeline_init_blend_state()
878 blend_cntl |= S_028780_SEPARATE_ALPHA_BLEND(1); in radv_pipeline_init_blend_state()
879 blend_cntl |= S_028780_ALPHA_COMB_FCN(si_translate_blend_function(eqA)); in radv_pipeline_init_blend_state()
880 blend_cntl |= S_028780_ALPHA_SRCBLEND(si_translate_blend_factor(srcA)); in radv_pipeline_init_blend_state()
881 blend_cntl |= S_028780_ALPHA_DESTBLEND(si_translate_blend_factor(dstA)); in radv_pipeline_init_blend_state()
[all …]
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.c449 unsigned blend_cntl = 0; in si_create_blend_state_mode() local
459 blend_cntl |= S_028780_ENABLE(1); in si_create_blend_state_mode()
461 si_pm4_set_reg(pm4, R_028780_CB_BLEND0_CONTROL + i * 4, blend_cntl); in si_create_blend_state_mode()
472 si_pm4_set_reg(pm4, R_028780_CB_BLEND0_CONTROL + i * 4, blend_cntl); in si_create_blend_state_mode()
480 si_pm4_set_reg(pm4, R_028780_CB_BLEND0_CONTROL + i * 4, blend_cntl); in si_create_blend_state_mode()
528 blend_cntl |= S_028780_ENABLE(1); in si_create_blend_state_mode()
529 blend_cntl |= S_028780_COLOR_COMB_FCN(si_translate_blend_function(eqRGB)); in si_create_blend_state_mode()
530 blend_cntl |= S_028780_COLOR_SRCBLEND(si_translate_blend_factor(srcRGB)); in si_create_blend_state_mode()
531 blend_cntl |= S_028780_COLOR_DESTBLEND(si_translate_blend_factor(dstRGB)); in si_create_blend_state_mode()
534 blend_cntl |= S_028780_SEPARATE_ALPHA_BLEND(1); in si_create_blend_state_mode()
[all …]