Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.c288 static uint32_t si_translate_blend_factor(int blend_fact) in si_translate_blend_factor() function
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()
574 blend_cntl |= S_028780_ALPHA_SRCBLEND(si_translate_blend_factor(srcA)); in si_create_blend_state_mode()
575 blend_cntl |= S_028780_ALPHA_DESTBLEND(si_translate_blend_factor(dstA)); in si_create_blend_state_mode()
/external/mesa3d/src/amd/vulkan/
Dradv_pipeline.c324 static uint32_t si_translate_blend_factor(VkBlendFactor factor) in si_translate_blend_factor() function
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()
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()