mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-12 09:48:30 +12:00
implement depth stencil cache & fix: textureSize
This commit is contained in:
parent
d7411e27f7
commit
406a85672d
9 changed files with 183 additions and 98 deletions
|
@ -18,13 +18,13 @@ RendererShaderMtl::RendererShaderMtl(MetalRenderer* mtlRenderer, ShaderType type
|
|||
desc->setName(NS::String::string("main0", NS::ASCIIStringEncoding));
|
||||
error = nullptr;
|
||||
m_function = library->newFunction(desc, &error);
|
||||
library->release();
|
||||
if (error)
|
||||
{
|
||||
printf("failed to create function (error: %s)\n", error->localizedDescription()->utf8String());
|
||||
error->release();
|
||||
return;
|
||||
}
|
||||
library->release();
|
||||
}
|
||||
|
||||
RendererShaderMtl::~RendererShaderMtl()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue