Fix shader integer from/to double conversion (#2831)
This commit is contained in:
@ -939,7 +939,7 @@ namespace Ryujinx.Graphics.Shader.Instructions
|
||||
|
||||
tempDest = context.FPMultiply(tempDest, ConstF(256.0f));
|
||||
|
||||
Operand fixedPointValue = context.FPConvertToS32(tempDest);
|
||||
Operand fixedPointValue = context.FP32ConvertToS32(tempDest);
|
||||
|
||||
context.Copy(GetDest(), fixedPointValue);
|
||||
}
|
||||
|
Reference in New Issue
Block a user