From 29a825b43b8455159ea31ca570a1fe6e6195997f Mon Sep 17 00:00:00 2001 From: gdkchan Date: Mon, 6 Jan 2020 19:27:50 -0300 Subject: Address PR feedback Removes a useless null check Aligns some values to improve readability --- Ryujinx.Graphics.Shader/Translation/Optimizations/GlobalToStorage.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Ryujinx.Graphics.Shader/Translation/Optimizations') diff --git a/Ryujinx.Graphics.Shader/Translation/Optimizations/GlobalToStorage.cs b/Ryujinx.Graphics.Shader/Translation/Optimizations/GlobalToStorage.cs index 59261fbf..8efd2c52 100644 --- a/Ryujinx.Graphics.Shader/Translation/Optimizations/GlobalToStorage.cs +++ b/Ryujinx.Graphics.Shader/Translation/Optimizations/GlobalToStorage.cs @@ -48,7 +48,7 @@ namespace Ryujinx.Graphics.Shader.Translation.Optimizations { Operand addrLow = operation.GetSource(0); - Operand baseAddrLow = Cbuf(0, GetStorageCbOffset(config.Stage, storageIndex)); + Operand baseAddrLow = Cbuf(0, GetStorageCbOffset(config.Stage, storageIndex)); Operand baseAddrTrunc = Local(); -- cgit v1.2.3