mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-04 14:01:17 +12:00
Revert integer format color attachment fix
It's out of scope of this PR, and a fix which simply supresses an error message and likely causes more issues. Revert "Latte : Temporarily disable blending for integer format color attachments" This reverts commitee7c08e147
. Revert "Latte: Disable blending integer formats" This reverts commitf4b59c967e
.
This commit is contained in:
parent
0924e1180e
commit
c147d4fcf0
1 changed files with 1 additions and 11 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;
|
||||||
|
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;
|
||||||
pipelineInfo.pDepthStencilState = &depthStencilState;
|
pipelineInfo.pDepthStencilState = &depthStencilState;
|
||||||
|
@ -996,17 +997,6 @@ bool PipelineCompiler::Compile(bool forceCompile, bool isRenderThread, bool show
|
||||||
pipelineInfo.flags = 0;
|
pipelineInfo.flags = 0;
|
||||||
if (!forceCompile)
|
if (!forceCompile)
|
||||||
pipelineInfo.flags |= VK_PIPELINE_CREATE_FAIL_ON_PIPELINE_COMPILE_REQUIRED_BIT_EXT;
|
pipelineInfo.flags |= VK_PIPELINE_CREATE_FAIL_ON_PIPELINE_COMPILE_REQUIRED_BIT_EXT;
|
||||||
#ifdef __APPLE__
|
|
||||||
for (int i = 0; i < Latte::GPU_LIMITS::NUM_COLOR_ATTACHMENTS; ++i)
|
|
||||||
{
|
|
||||||
if (_IsVkIntegerFormat(m_renderPassObj->GetColorFormat(i)))
|
|
||||||
break;
|
|
||||||
if (i == Latte::GPU_LIMITS::NUM_COLOR_ATTACHMENTS - 1)
|
|
||||||
pipelineInfo.pColorBlendState = &colorBlending;
|
|
||||||
}
|
|
||||||
#else
|
|
||||||
pipelineInfo.pColorBlendState = &colorBlending;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
VkPipelineCreationFeedbackCreateInfoEXT creationFeedbackInfo;
|
VkPipelineCreationFeedbackCreateInfoEXT creationFeedbackInfo;
|
||||||
VkPipelineCreationFeedbackEXT creationFeedback;
|
VkPipelineCreationFeedbackEXT creationFeedback;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue