aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Shader/Instructions
diff options
context:
space:
mode:
authorriperiperi <rhy3756547@hotmail.com>2020-11-02 19:53:23 +0000
committerGitHub <noreply@github.com>2020-11-02 16:53:23 -0300
commite1da7df2075f45ac3d19538f7781115978282100 (patch)
treed46ae3ffedd2886adba64f1044b699f99b13f795 /Ryujinx.Graphics.Shader/Instructions
parent11a7c99764ed4e6c575c877c69ca627645702a42 (diff)
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
Diffstat (limited to 'Ryujinx.Graphics.Shader/Instructions')
-rw-r--r--Ryujinx.Graphics.Shader/Instructions/InstEmitTexture.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Shader/Instructions/InstEmitTexture.cs b/Ryujinx.Graphics.Shader/Instructions/InstEmitTexture.cs
index 49e6cf5d..6b439901 100644
--- a/Ryujinx.Graphics.Shader/Instructions/InstEmitTexture.cs
+++ b/Ryujinx.Graphics.Shader/Instructions/InstEmitTexture.cs
@@ -15,6 +15,8 @@ namespace Ryujinx.Graphics.Shader.Instructions
public static void Suld(EmitterContext context)
{
+ context.Config.SetUsedFeature(FeatureFlags.IntegerSampling);
+
OpCodeImage op = (OpCodeImage)context.CurrOp;
SamplerType type = ConvertSamplerType(op.Dimensions);