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.c551 unsigned blend_cntl = 0; in radv_pipeline_init_blend_state() local
567 blend->cb_blend_control[i] = blend_cntl; in radv_pipeline_init_blend_state()
628 blend_cntl |= S_028780_ENABLE(1); 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()
631 blend_cntl |= S_028780_COLOR_SRCBLEND(si_translate_blend_factor(srcRGB)); in radv_pipeline_init_blend_state()
632 blend_cntl |= S_028780_COLOR_DESTBLEND(si_translate_blend_factor(dstRGB)); in radv_pipeline_init_blend_state()
634 blend_cntl |= S_028780_SEPARATE_ALPHA_BLEND(1); in radv_pipeline_init_blend_state()
635 blend_cntl |= S_028780_ALPHA_COMB_FCN(si_translate_blend_function(eqA)); in radv_pipeline_init_blend_state()
636 blend_cntl |= S_028780_ALPHA_SRCBLEND(si_translate_blend_factor(srcA)); in radv_pipeline_init_blend_state()
637 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.c515 unsigned blend_cntl = 0; in si_create_blend_state_mode() local
525 blend_cntl |= S_028780_ENABLE(1); in si_create_blend_state_mode()
527 si_pm4_set_reg(pm4, R_028780_CB_BLEND0_CONTROL + i * 4, blend_cntl); in si_create_blend_state_mode()
538 si_pm4_set_reg(pm4, R_028780_CB_BLEND0_CONTROL + i * 4, blend_cntl); in si_create_blend_state_mode()
548 si_pm4_set_reg(pm4, R_028780_CB_BLEND0_CONTROL + i * 4, blend_cntl); in si_create_blend_state_mode()
601 blend_cntl |= S_028780_ENABLE(1); 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()
603 blend_cntl |= S_028780_COLOR_SRCBLEND(si_translate_blend_factor(srcRGB)); in si_create_blend_state_mode()
604 blend_cntl |= S_028780_COLOR_DESTBLEND(si_translate_blend_factor(dstRGB)); in si_create_blend_state_mode()
607 blend_cntl |= S_028780_SEPARATE_ALPHA_BLEND(1); in si_create_blend_state_mode()
[all …]