From 03711dd7b5d44e20fb45c728803ea6b9599dec87 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Tue, 21 Apr 2020 20:35:28 -0300 Subject: Implement SULD shader instruction (#1117) * Implement SULD shader instruction * Some nits --- Ryujinx.Graphics.Shader/Translation/ShaderConfig.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Ryujinx.Graphics.Shader/Translation') diff --git a/Ryujinx.Graphics.Shader/Translation/ShaderConfig.cs b/Ryujinx.Graphics.Shader/Translation/ShaderConfig.cs index 60660847..3035ebf6 100644 --- a/Ryujinx.Graphics.Shader/Translation/ShaderConfig.cs +++ b/Ryujinx.Graphics.Shader/Translation/ShaderConfig.cs @@ -102,6 +102,8 @@ namespace Ryujinx.Graphics.Shader.Translation return 16; case QueryInfoName.SupportsNonConstantTextureOffset: return Convert.ToInt32(true); + case QueryInfoName.TextureFormat: + return (int)TextureFormat.R8G8B8A8Unorm; } } -- cgit v1.2.3