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

@ -125,6 +125,7 @@ namespace Ryujinx.Graphics.Shader.CodeGen.Msl.Instructions
Instruction.Add => "PreciseFAdd",
Instruction.Subtract => "PreciseFSub",
Instruction.Multiply => "PreciseFMul",
_ => throw new NotImplementedException()
};
return $"{func}({expr[0]}, {expr[1]})";