From 73cdd676adcce8fbfc50f60aa74c5a375a35ae29 Mon Sep 17 00:00:00 2001
From: Connor McLaughlin <stenzek@gmail.com>
Date: Sun, 21 Jun 2020 16:24:06 +1000
Subject: [PATCH] GPU/Vulkan: Fix incorrect srcfactor selection

---
 src/core/gpu_hw_vulkan.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/core/gpu_hw_vulkan.cpp b/src/core/gpu_hw_vulkan.cpp
index 7297967e6..8289e4f3c 100644
--- a/src/core/gpu_hw_vulkan.cpp
+++ b/src/core/gpu_hw_vulkan.cpp
@@ -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,