aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Shader/Translation
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2020-01-05 22:04:37 -0300
committerThog <thog@protonmail.com>2020-01-09 02:13:00 +0100
commit18814d44b2e19f7a93ed48ef4799ced585d071e9 (patch)
tree23270d97f5836e3eb7b07c905259065718504422 /Ryujinx.Graphics.Shader/Translation
parent383452f5cf2a81d50ef1a5e630fba45c6fb97647 (diff)
Address PR feedback
Add TODO comment for GL_EXT_polygon_offset_clamp
Diffstat (limited to 'Ryujinx.Graphics.Shader/Translation')
-rw-r--r--Ryujinx.Graphics.Shader/Translation/GlobalMemory.cs2
-rw-r--r--Ryujinx.Graphics.Shader/Translation/Translator.cs2
2 files changed, 1 insertions, 3 deletions
diff --git a/Ryujinx.Graphics.Shader/Translation/GlobalMemory.cs b/Ryujinx.Graphics.Shader/Translation/GlobalMemory.cs
index 4b5dbccb..a442357d 100644
--- a/Ryujinx.Graphics.Shader/Translation/GlobalMemory.cs
+++ b/Ryujinx.Graphics.Shader/Translation/GlobalMemory.cs
@@ -9,7 +9,7 @@ namespace Ryujinx.Graphics.Shader.Translation
public const int StorageDescSize = 4; // In words.
public const int StorageMaxCount = 16;
- public const int StorageDescsSize = StorageDescSize * StorageMaxCount;
+ public const int StorageDescsSize = StorageDescSize * StorageMaxCount;
public static bool UsesGlobalMemory(Instruction inst)
{
diff --git a/Ryujinx.Graphics.Shader/Translation/Translator.cs b/Ryujinx.Graphics.Shader/Translation/Translator.cs
index bdc6a094..760d616f 100644
--- a/Ryujinx.Graphics.Shader/Translation/Translator.cs
+++ b/Ryujinx.Graphics.Shader/Translation/Translator.cs
@@ -22,8 +22,6 @@ namespace Ryujinx.Graphics.Shader.Translation
if (cfg == null)
{
- // TODO: Error.
-
return code;
}