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

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