mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-12-22 22:36:25 +00:00
[GPU] Do not use the f suffix on float contants on the shader glsl code
This commit is contained in:
parent
237eaeb920
commit
8ab76a7bd4
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user