mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-04 05:51:19 +12:00
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:
parent
e81a592b89
commit
f4b59c967e
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue