mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-06 06:51:18 +12:00
report pipeline compilation count
This commit is contained in:
parent
944cc8be7d
commit
79f5586c6c
3 changed files with 34 additions and 23 deletions
|
@ -48,7 +48,7 @@ MTL::RenderPipelineState* MetalPipelineCache::GetRenderPipelineState(const Latte
|
|||
|
||||
MetalPipelineCompiler compiler(m_mtlr);
|
||||
compiler.InitFromState(fetchShader, vertexShader, geometryShader, pixelShader, lastUsedAttachmentsInfo, activeAttachmentsInfo, lcr);
|
||||
pipeline = compiler.Compile(false, true);
|
||||
pipeline = compiler.Compile(false, true, true);
|
||||
|
||||
AddCurrentStateToCache(hash);
|
||||
|
||||
|
@ -363,7 +363,7 @@ void MetalPipelineCache::LoadPipelineFromCache(std::span<uint8> fileData)
|
|||
// s_spinlockSharedInternal.unlock();
|
||||
// return;
|
||||
//}
|
||||
pipeline = pp.Compile(true, true);
|
||||
pipeline = pp.Compile(true, true, false);
|
||||
// destroy pp early
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue