aboutsummaryrefslogtreecommitdiff
path: root/render/vulkan
diff options
context:
space:
mode:
authorBrett Ernst <brett.ernst@icongroup.com>2023-10-18 14:34:27 -0700
committerSimon Ser <contact@emersion.fr>2023-10-21 17:25:46 +0000
commit47bf87ade2bd32395615a385ebde1fefbcdf79a2 (patch)
tree3ab3b7586e4fc917bc1ba9b72b2f846a5726741e /render/vulkan
parentbfc42e0f622f242ad057bd36e1946418ed3d842c (diff)
renderer/vulkan: don't add two alphas together in blend func
Diffstat (limited to 'render/vulkan')
-rw-r--r--render/vulkan/renderer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/render/vulkan/renderer.c b/render/vulkan/renderer.c
index 6a0a597c..1a46666e 100644
--- a/render/vulkan/renderer.c
+++ b/render/vulkan/renderer.c
@@ -2204,7 +2204,7 @@ struct wlr_vk_pipeline *setup_get_or_create_pipeline(
.dstColorBlendFactor = VK_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA,
.colorBlendOp = VK_BLEND_OP_ADD,
.srcAlphaBlendFactor = VK_BLEND_FACTOR_ONE,
- .dstAlphaBlendFactor = VK_BLEND_FACTOR_ONE,
+ .dstAlphaBlendFactor = VK_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA,
.alphaBlendOp = VK_BLEND_OP_ADD,
.colorWriteMask =
VK_COLOR_COMPONENT_R_BIT |