Latte: Disable blending integer formats

Despite being disabled in InitBlendState, this still causes errors on MoltenVk, so just skip it altogether
Seemingly fixes Cemu-project/Cemu#396 (there's a multitude of errors there in the comments, specifically referring to the issue), however I don't own BOTW and can't confirm
This commit is contained in:
Exverge 2024-07-11 11:48:51 -04:00
parent e81a592b89
commit f4b59c967e
No known key found for this signature in database
GPG key ID: 19AAFC0AC6A9B35A

View file

@ -988,6 +988,7 @@ bool PipelineCompiler::Compile(bool forceCompile, bool isRenderThread, bool show
pipelineInfo.pDynamicState = &dynamicState; pipelineInfo.pDynamicState = &dynamicState;
pipelineInfo.pRasterizationState = &rasterizer; pipelineInfo.pRasterizationState = &rasterizer;
pipelineInfo.pMultisampleState = &multisampling; pipelineInfo.pMultisampleState = &multisampling;
if (!_IsVkIntegerFormat(m_renderPassObj->GetColorFormat(0)))
pipelineInfo.pColorBlendState = &colorBlending; pipelineInfo.pColorBlendState = &colorBlending;
pipelineInfo.layout = m_pipeline_layout; pipelineInfo.layout = m_pipeline_layout;
pipelineInfo.renderPass = m_renderPassObj->m_renderPass; pipelineInfo.renderPass = m_renderPassObj->m_renderPass;