Fix: Vulkan: Incorrect background blending

`GPU_BLEND_BACKGROUND` set incorrect blend mode, resulting
in incorrect rendering when activating bordered rendering.

Ref: #131111
This commit is contained in:
Jeroen Bakker
2025-03-13 15:59:39 +01:00
parent 70095e9041
commit 330583961a

View File

@@ -373,7 +373,7 @@ VkPipeline VKPipelinePool::get_or_create_graphics_pipeline(VKGraphicsInfo &graph
att_state.srcColorBlendFactor = VK_BLEND_FACTOR_ONE_MINUS_DST_ALPHA;
att_state.dstColorBlendFactor = VK_BLEND_FACTOR_SRC_ALPHA;
att_state.srcAlphaBlendFactor = VK_BLEND_FACTOR_ZERO;
att_state.dstAlphaBlendFactor = VK_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA;
att_state.dstAlphaBlendFactor = VK_BLEND_FACTOR_SRC_ALPHA;
break;
case GPU_BLEND_ALPHA_UNDER_PREMUL: