mirror of
https://github.com/GreemDev/Ryujinx
synced 2024-12-02 14:32:07 +01: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})";
|
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)
|
||||||
|
|
Loading…
Reference in a new issue