mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-01-31 03:45:38 +00:00
GPU/Vulkan: Fix incorrect srcfactor selection
This commit is contained in:
parent
ce75168238
commit
73cdd676ad
|
@ -658,7 +658,7 @@ bool GPU_HW_Vulkan::CompilePipelines()
|
|||
{
|
||||
gpbuilder.SetBlendAttachment(
|
||||
0, true, VK_BLEND_FACTOR_ONE,
|
||||
m_supports_dual_source_blend ? VK_BLEND_FACTOR_SRC_ALPHA : VK_BLEND_FACTOR_SRC1_ALPHA,
|
||||
m_supports_dual_source_blend ? VK_BLEND_FACTOR_SRC1_ALPHA : VK_BLEND_FACTOR_SRC_ALPHA,
|
||||
(static_cast<TransparencyMode>(transparency_mode) == TransparencyMode::BackgroundMinusForeground) ?
|
||||
VK_BLEND_OP_REVERSE_SUBTRACT :
|
||||
VK_BLEND_OP_ADD,
|
||||
|
|
Loading…
Reference in a new issue