infra: chore: fix/silence compile warnings

This commit is contained in:
Evan Husted 2024-12-24 01:23:01 -06:00
parent 3cb996bf5c
commit 2f540dc88c
5 changed files with 8 additions and 2 deletions

View file

@ -838,6 +838,7 @@ namespace Ryujinx.Graphics.Gpu.Shader
TargetApi.OpenGL => TargetLanguage.Glsl,
TargetApi.Vulkan => GraphicsConfig.EnableSpirvCompilationOnVulkan ? TargetLanguage.Spirv : TargetLanguage.Glsl,
TargetApi.Metal => TargetLanguage.Msl,
_ => throw new NotImplementedException()
};
return new TranslationOptions(lang, api, flags);