mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-05-03 08:35:42 -04: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…
x
Reference in New Issue
Block a user