summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2021-12-18 06:52:28 +0100
committerFernando Sahmkow <fsahmkow27@gmail.com>2021-12-18 06:52:28 +0100
commit14d2c77f910aad77b408eef130d8212430e7202a (patch)
treec663da2806881fa5fc6e5adc0c2fd5f4c9a93448 /src/video_core/renderer_vulkan
parentVulkan: Implement VK_EXT_primitive_topology_list_restart (diff)
downloadyuzu-14d2c77f910aad77b408eef130d8212430e7202a.tar
yuzu-14d2c77f910aad77b408eef130d8212430e7202a.tar.gz
yuzu-14d2c77f910aad77b408eef130d8212430e7202a.tar.bz2
yuzu-14d2c77f910aad77b408eef130d8212430e7202a.tar.lz
yuzu-14d2c77f910aad77b408eef130d8212430e7202a.tar.xz
yuzu-14d2c77f910aad77b408eef130d8212430e7202a.tar.zst
yuzu-14d2c77f910aad77b408eef130d8212430e7202a.zip
Diffstat (limited to 'src/video_core/renderer_vulkan')
-rw-r--r--src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp b/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp
index 0c175c557..7fe735e75 100644
--- a/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp
+++ b/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp
@@ -748,8 +748,8 @@ void GraphicsPipeline::MakePipeline(VkRenderPass render_pass) {
.sType = VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO,
.pNext = nullptr,
.flags = 0,
- .logicOpEnable = VK_FALSE,
- .logicOp = VK_LOGIC_OP_COPY,
+ .logicOpEnable = key.state.logic_op_enable != 0,
+ .logicOp = static_cast<VkLogicOp>(key.state.logic_op.Value()),
.attachmentCount = static_cast<u32>(cb_attachments.size()),
.pAttachments = cb_attachments.data(),
.blendConstants = {},