summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar ameerj2021-10-23 00:02:19 -0400
committerGravatar Fernando Sahmkow2021-11-16 22:11:32 +0100
commita39e867c73140955120700b170dbdb4773d32745 (patch)
treeaa45b32fdc51af8d00461610cc22fddf3fa8a6db
parentvk_texture_cache: Refactor 3D scaling helpers (diff)
downloadyuzu-a39e867c73140955120700b170dbdb4773d32745.tar.gz
yuzu-a39e867c73140955120700b170dbdb4773d32745.tar.xz
yuzu-a39e867c73140955120700b170dbdb4773d32745.zip
renderer_vulkan/blit_image: Use generic color state on Depth to Color blits
Fixes Bayonetta 2 on AMD
-rw-r--r--src/video_core/renderer_vulkan/blit_image.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/blit_image.cpp b/src/video_core/renderer_vulkan/blit_image.cpp
index 239698423..b3884a4f5 100644
--- a/src/video_core/renderer_vulkan/blit_image.cpp
+++ b/src/video_core/renderer_vulkan/blit_image.cpp
@@ -569,7 +569,7 @@ VkPipeline BlitImageHelper::FindOrEmplaceDepthStencilPipeline(const BlitImagePip
569 .pRasterizationState = &PIPELINE_RASTERIZATION_STATE_CREATE_INFO, 569 .pRasterizationState = &PIPELINE_RASTERIZATION_STATE_CREATE_INFO,
570 .pMultisampleState = &PIPELINE_MULTISAMPLE_STATE_CREATE_INFO, 570 .pMultisampleState = &PIPELINE_MULTISAMPLE_STATE_CREATE_INFO,
571 .pDepthStencilState = &PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO, 571 .pDepthStencilState = &PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO,
572 .pColorBlendState = &PIPELINE_COLOR_BLEND_STATE_EMPTY_CREATE_INFO, 572 .pColorBlendState = &PIPELINE_COLOR_BLEND_STATE_GENERIC_CREATE_INFO,
573 .pDynamicState = &PIPELINE_DYNAMIC_STATE_CREATE_INFO, 573 .pDynamicState = &PIPELINE_DYNAMIC_STATE_CREATE_INFO,
574 .layout = *two_textures_pipeline_layout, 574 .layout = *two_textures_pipeline_layout,
575 .renderPass = key.renderpass, 575 .renderPass = key.renderpass,