Remove Half Conversion (#4106)
* Remove HalfConversion * Update `CodeGenVersion`
This commit is contained in:
parent
0f50de72be
commit
8ac53c66b4
3 changed files with 2 additions and 49 deletions
|
@ -262,7 +262,7 @@ namespace Ryujinx.Graphics.Shader.Translation.Optimizations
|
|||
|
||||
value = (value >> operation.Index * 16) & 0xffff;
|
||||
|
||||
operation.TurnIntoCopy(ConstF(HalfConversion.HalfToSingle(value)));
|
||||
operation.TurnIntoCopy(ConstF((float)BitConverter.UInt16BitsToHalf((ushort)value)));
|
||||
}
|
||||
|
||||
private static void FPNegate(Operation operation)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue