Searched refs:blend_cntl (Results 1 – 2 of 2) sorted by relevance
168 unsigned blend_cntl = 0; in si_create_blend_state() local174 si_pm4_set_reg(pm4, R_028780_CB_BLEND0_CONTROL + i * 4, blend_cntl); in si_create_blend_state()178 blend_cntl |= S_028780_ENABLE(1); in si_create_blend_state()179 blend_cntl |= S_028780_COLOR_COMB_FCN(si_translate_blend_function(eqRGB)); in si_create_blend_state()180 blend_cntl |= S_028780_COLOR_SRCBLEND(si_translate_blend_factor(srcRGB)); in si_create_blend_state()181 blend_cntl |= S_028780_COLOR_DESTBLEND(si_translate_blend_factor(dstRGB)); in si_create_blend_state()184 blend_cntl |= S_028780_SEPARATE_ALPHA_BLEND(1); in si_create_blend_state()185 blend_cntl |= S_028780_ALPHA_COMB_FCN(si_translate_blend_function(eqA)); in si_create_blend_state()186 blend_cntl |= S_028780_ALPHA_SRCBLEND(si_translate_blend_factor(srcA)); in si_create_blend_state()187 blend_cntl |= S_028780_ALPHA_DESTBLEND(si_translate_blend_factor(dstA)); in si_create_blend_state()[all …]
691 unsigned blend_cntl[8]; in evergreen_create_blend_state_mode() local739 blend_cntl[i] = 0; in evergreen_create_blend_state_mode()743 blend_cntl[i] |= S_028780_BLEND_CONTROL_ENABLE(1); in evergreen_create_blend_state_mode()744 blend_cntl[i] |= S_028780_COLOR_COMB_FCN(r600_translate_blend_function(eqRGB)); in evergreen_create_blend_state_mode()745 blend_cntl[i] |= S_028780_COLOR_SRCBLEND(r600_translate_blend_factor(srcRGB)); in evergreen_create_blend_state_mode()746 blend_cntl[i] |= S_028780_COLOR_DESTBLEND(r600_translate_blend_factor(dstRGB)); in evergreen_create_blend_state_mode()749 blend_cntl[i] |= S_028780_SEPARATE_ALPHA_BLEND(1); in evergreen_create_blend_state_mode()750 blend_cntl[i] |= S_028780_ALPHA_COMB_FCN(r600_translate_blend_function(eqA)); in evergreen_create_blend_state_mode()751 blend_cntl[i] |= S_028780_ALPHA_SRCBLEND(r600_translate_blend_factor(srcA)); in evergreen_create_blend_state_mode()752 blend_cntl[i] |= S_028780_ALPHA_DESTBLEND(r600_translate_blend_factor(dstA)); in evergreen_create_blend_state_mode()[all …]