1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-10-01 12:30:00 +02: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) private string GetValue(ShaderIrOperImmf Immf)
{ {
return Immf.Value.ToString(CultureInfo.InvariantCulture) + "f"; return Immf.Value.ToString(CultureInfo.InvariantCulture);
} }
private string GetName(ShaderIrOperPred Pred) private string GetName(ShaderIrOperPred Pred)
@ -691,7 +691,7 @@ namespace Ryujinx.Graphics.Gal.Shader
{ {
float Value = BitConverter.Int32BitsToSingle(Imm.Value); float Value = BitConverter.Int32BitsToSingle(Imm.Value);
return Value.ToString(CultureInfo.InvariantCulture) + "f"; return Value.ToString(CultureInfo.InvariantCulture);
} }
break; break;
} }