diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2022-12-05 12:23:56 +0100 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2022-12-05 12:33:12 +0100 |
commit | 6352c5dc31edb61967156c6f2772c11f86a0ed8e (patch) | |
tree | 42c0c6571509a919d884ed408c4bf070d98f6f70 /src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp | |
parent | Merge pull request #9381 from liamwhite/uninit (diff) | |
download | yuzu-6352c5dc31edb61967156c6f2772c11f86a0ed8e.tar yuzu-6352c5dc31edb61967156c6f2772c11f86a0ed8e.tar.gz yuzu-6352c5dc31edb61967156c6f2772c11f86a0ed8e.tar.bz2 yuzu-6352c5dc31edb61967156c6f2772c11f86a0ed8e.tar.lz yuzu-6352c5dc31edb61967156c6f2772c11f86a0ed8e.tar.xz yuzu-6352c5dc31edb61967156c6f2772c11f86a0ed8e.tar.zst yuzu-6352c5dc31edb61967156c6f2772c11f86a0ed8e.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp | 4 |
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 e77a57a4a..006128638 100644 --- a/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp +++ b/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp @@ -714,8 +714,8 @@ void GraphicsPipeline::MakePipeline(VkRenderPass render_pass) { .sampleShadingEnable = VK_FALSE, .minSampleShading = 0.0f, .pSampleMask = nullptr, - .alphaToCoverageEnable = VK_FALSE, - .alphaToOneEnable = VK_FALSE, + .alphaToCoverageEnable = key.state.alpha_to_coverage_enabled != 0 ? VK_TRUE : VK_FALSE, + .alphaToOneEnable = key.state.alpha_to_one_enabled != 0 ? VK_TRUE : VK_FALSE, }; const VkPipelineDepthStencilStateCreateInfo depth_stencil_ci{ .sType = VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO, |