Merge branch 'metal' into metal-air-cache

This commit is contained in:
Samuliak 2025-01-17 13:49:38 +01:00
commit 41600341a0
No known key found for this signature in database
3 changed files with 29 additions and 22 deletions

View file

@ -339,7 +339,7 @@ void LatteShader_CreateRendererShader(LatteDecompilerShader* shader, bool compil
// check if a custom shader is present
std::string shaderSrc;
const std::string* customShaderSrc = GraphicPack2::FindCustomShaderSource(shader->baseHash, shader->auxHash, gpShaderType, g_renderer->GetType() == RendererAPI::Vulkan);
const std::string* customShaderSrc = GraphicPack2::FindCustomShaderSource(shader->baseHash, shader->auxHash, gpShaderType, g_renderer->GetType() == RendererAPI::Vulkan, g_renderer->GetType() == RendererAPI::Metal);
if (customShaderSrc)
{
shaderSrc.assign(*customShaderSrc);