Browse Source

renderer_vulkan/blit_image: Use generic color state on Depth to Color blits

Fixes Bayonetta 2 on AMD
nce_cpp
ameerj 4 years ago
committed by Fernando Sahmkow
parent
commit
42b2b47f60
  1. 2
      src/video_core/renderer_vulkan/blit_image.cpp

2
src/video_core/renderer_vulkan/blit_image.cpp

@ -569,7 +569,7 @@ VkPipeline BlitImageHelper::FindOrEmplaceDepthStencilPipeline(const BlitImagePip
.pRasterizationState = &PIPELINE_RASTERIZATION_STATE_CREATE_INFO,
.pMultisampleState = &PIPELINE_MULTISAMPLE_STATE_CREATE_INFO,
.pDepthStencilState = &PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO,
.pColorBlendState = &PIPELINE_COLOR_BLEND_STATE_EMPTY_CREATE_INFO,
.pColorBlendState = &PIPELINE_COLOR_BLEND_STATE_GENERIC_CREATE_INFO,
.pDynamicState = &PIPELINE_DYNAMIC_STATE_CREATE_INFO,
.layout = *two_textures_pipeline_layout,
.renderPass = key.renderpass,

Loading…
Cancel
Save