WIP V2: Experimental: Metal backend #441

Merged
GreemDev merged 369 commits from new-metal into master 2024-12-24 06:55:16 +00:00
Showing only changes of commit b7a0aefa80 - Show all commits

View File

@ -78,9 +78,7 @@ namespace Ryujinx.Graphics.Shader.CodeGen.Msl
return $"uint({expr})"; return $"uint({expr})";
} }
Logger.Warning?.Print(LogClass.Gpu, $"Invalid reinterpret cast from \"{srcType}\" to \"{dstType}\"."); throw new ArgumentException($"Invalid reinterpret cast from \"{srcType}\" to \"{dstType}\".");
// TODO: Make this an error again
return $"INVALID CAST ({expr})";
} }
private static string ReinterpretBoolToInt(string expr, IAstNode node, AggregateType dstType) private static string ReinterpretBoolToInt(string expr, IAstNode node, AggregateType dstType)