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:
parent
11a7c99764
commit
e1da7df207
10 changed files with 199 additions and 78 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue