diff options
| author | 2021-10-23 00:02:19 -0400 | |
|---|---|---|
| committer | 2021-11-16 22:11:32 +0100 | |
| commit | a39e867c73140955120700b170dbdb4773d32745 (patch) | |
| tree | aa45b32fdc51af8d00461610cc22fddf3fa8a6db | |
| parent | vk_texture_cache: Refactor 3D scaling helpers (diff) | |
| download | yuzu-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.cpp | 2 |
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, |