mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-19 00:52:02 +00:00
Make TypeConversion failure an error
This commit is contained in:
parent
84a8edf675
commit
bdd9ede4fd
1 changed files with 1 additions and 3 deletions
|
@ -78,9 +78,7 @@ namespace Ryujinx.Graphics.Shader.CodeGen.Msl
|
|||
return $"uint({expr})";
|
||||
}
|
||||
|
||||
Logger.Warning?.Print(LogClass.Gpu, $"Invalid reinterpret cast from \"{srcType}\" to \"{dstType}\".");
|
||||
// TODO: Make this an error again
|
||||
return $"INVALID CAST ({expr})";
|
||||
throw new ArgumentException($"Invalid reinterpret cast from \"{srcType}\" to \"{dstType}\".");
|
||||
}
|
||||
|
||||
private static string ReinterpretBoolToInt(string expr, IAstNode node, AggregateType dstType)
|
||||
|
|
Loading…
Reference in a new issue