0
0
Fork 0
mirror of https://github.com/GreemDev/Ryujinx.git synced 2024-12-23 02:15:49 +00:00

[GPU] Do not use the f suffix on float contants on the shader glsl code

This commit is contained in:
gdkchan 2018-04-13 15:53:16 -03:00
parent 237eaeb920
commit 8ab76a7bd4

View file

@ -428,7 +428,7 @@ namespace Ryujinx.Graphics.Gal.Shader
private string GetValue(ShaderIrOperImmf Immf)
{
return Immf.Value.ToString(CultureInfo.InvariantCulture) + "f";
return Immf.Value.ToString(CultureInfo.InvariantCulture);
}
private string GetName(ShaderIrOperPred Pred)
@ -691,7 +691,7 @@ namespace Ryujinx.Graphics.Gal.Shader
{
float Value = BitConverter.Int32BitsToSingle(Imm.Value);
return Value.ToString(CultureInfo.InvariantCulture) + "f";
return Value.ToString(CultureInfo.InvariantCulture);
}
break;
}