mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-10-10 06:18:52 +02:00
Remove Half Conversion (#4106)
* Remove HalfConversion * Update `CodeGenVersion`
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user