mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-05 14:31:17 +12:00
implement triangle fan reindexing
This commit is contained in:
parent
ac651eba77
commit
d7e9aff230
6 changed files with 141 additions and 79 deletions
|
@ -106,7 +106,7 @@ MTL::RenderPipelineState* MetalPipelineCache::GetPipelineState(const LatteFetchS
|
|||
uint32 renderTargetMask = LatteGPUState.contextNew.CB_TARGET_MASK.get_MASK();
|
||||
|
||||
bool blendEnabled = ((blendEnableMask & (1 << i))) != 0;
|
||||
if (blendEnabled)
|
||||
if (blendEnabled && GetMtlPixelFormatInfo(texture->format, false).blendable)
|
||||
{
|
||||
colorAttachment->setBlendingEnabled(true);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue