mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-05 22:41:18 +12:00
latte: rename metal specific options
This commit is contained in:
parent
feba1aa7ba
commit
4311a41f34
11 changed files with 57 additions and 53 deletions
|
@ -559,6 +559,7 @@ namespace LatteDecompiler
|
|||
{
|
||||
decompilerContext->hasUniformVarBlock = true; // uf_verticesPerInstance and uf_streamoutBufferBase*
|
||||
}
|
||||
#if ENABLE_METAL
|
||||
if (g_renderer->GetType() == RendererAPI::Metal)
|
||||
{
|
||||
bool usesGeometryShader = UseGeometryShader(*decompilerContext->contextRegistersNew, decompilerContext->options->usesGeometryShader);
|
||||
|
@ -566,6 +567,7 @@ namespace LatteDecompiler
|
|||
if (decompilerContext->shaderType == LatteConst::ShaderType::Vertex && usesGeometryShader)
|
||||
decompilerContext->hasUniformVarBlock = true; // uf_verticesPerInstance
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
void _initUniformBindingPoints(LatteDecompilerShaderContext* decompilerContext)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue