From e1da7df2075f45ac3d19538f7781115978282100 Mon Sep 17 00:00:00 2001 From: riperiperi Date: Mon, 2 Nov 2020 19:53:23 +0000 Subject: Support res scale on images, correctly blacklist for SUST, move logic out of backend. (#1657) * Support res scale on images, correctly blacklist for SUST, move logic out of backend. * Fix Typo --- Ryujinx.Graphics.Shader/CodeGen/Glsl/Declarations.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Ryujinx.Graphics.Shader/CodeGen/Glsl/Declarations.cs') diff --git a/Ryujinx.Graphics.Shader/CodeGen/Glsl/Declarations.cs b/Ryujinx.Graphics.Shader/CodeGen/Glsl/Declarations.cs index 0250d852..734546a0 100644 --- a/Ryujinx.Graphics.Shader/CodeGen/Glsl/Declarations.cs +++ b/Ryujinx.Graphics.Shader/CodeGen/Glsl/Declarations.cs @@ -509,7 +509,7 @@ namespace Ryujinx.Graphics.Shader.CodeGen.Glsl { string stage = OperandManager.GetShaderStagePrefix(context.Config.Stage); - int scaleElements = context.TextureDescriptors.Count; + int scaleElements = context.TextureDescriptors.Count + context.ImageDescriptors.Count; if (context.Config.Stage == ShaderStage.Fragment) { -- cgit v1.2.3