From 5bc17c753c0e15862423a7ae54fcdc1bd1b9c2e4 Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Mon, 4 Sep 2017 21:55:17 -1000 Subject: [PATCH] Remove logic defeating blend assignment --- lib/graphicsdev/Vulkan.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/graphicsdev/Vulkan.cpp b/lib/graphicsdev/Vulkan.cpp index f0cbcc9..36a2eb4 100644 --- a/lib/graphicsdev/Vulkan.cpp +++ b/lib/graphicsdev/Vulkan.cpp @@ -2000,7 +2000,6 @@ class VulkanShaderPipeline : public IShaderPipeline colorAttachment.dstColorBlendFactor = BLEND_FACTOR_TABLE[int(dstFac)]; colorAttachment.colorBlendOp = VK_BLEND_OP_ADD; } - colorAttachment.colorBlendOp = VK_BLEND_OP_ADD; colorAttachment.srcAlphaBlendFactor = VK_BLEND_FACTOR_ONE; colorAttachment.dstAlphaBlendFactor = VK_BLEND_FACTOR_ZERO; colorAttachment.alphaBlendOp = VK_BLEND_OP_ADD;