1
1
mirror of https://github.com/ryujinx-mirror/ryujinx.git synced 2025-08-28 12:56:26 -05:00

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
This commit is contained in:
riperiperi
2020-11-02 19:53:23 +00:00
committed by GitHub
parent 11a7c99764
commit e1da7df207
10 changed files with 199 additions and 78 deletions

View File

@@ -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)
{