Searched refs:si_translate_blend_factor (Results 1 – 2 of 2) sorted by relevance
163 static uint32_t si_translate_blend_factor(VkBlendFactor factor) in si_translate_blend_factor() function631 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()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()
302 static uint32_t si_translate_blend_factor(int blend_fact) in si_translate_blend_factor() function603 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()609 blend_cntl |= S_028780_ALPHA_SRCBLEND(si_translate_blend_factor(srcA)); in si_create_blend_state_mode()610 blend_cntl |= S_028780_ALPHA_DESTBLEND(si_translate_blend_factor(dstA)); in si_create_blend_state_mode()