Make the shader translator more error resilient (part 2)
This commit is contained in:
parent
04102e5c9d
commit
8eb773d81f
5 changed files with 67 additions and 31 deletions
|
@ -56,7 +56,9 @@ namespace Ryujinx.Graphics.Shader.Instructions
|
|||
// TODO.
|
||||
}
|
||||
|
||||
throw new ArgumentException($"Invalid floating point type \"{floatType}\".");
|
||||
// TODO: Warn about invalid floating point type.
|
||||
|
||||
return Const(0);
|
||||
}
|
||||
|
||||
public static Operand GetSrcB(EmitterContext context)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue