Some debug improvements

This commit is contained in:
Isaac Marovitz
2024-07-26 13:58:25 +01:00
committed by Evan Husted
parent cb0a1ce48a
commit 5220ee1dc8
3 changed files with 9 additions and 2 deletions

View File

@@ -59,6 +59,9 @@ namespace Ryujinx.Graphics.Shader.CodeGen.Msl
public static void Declare(CodeGenContext context, StructuredProgramInfo info)
{
// TODO: Re-enable this warning
context.AppendLine("#pragma clang diagnostic ignored \"-Wunused-variable\"");
context.AppendLine();
context.AppendLine("#include <metal_stdlib>");
context.AppendLine("#include <simd/simd.h>");
context.AppendLine();