diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2021-07-09 00:09:07 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-09 00:09:07 -0300 |
| commit | 59900d7f00b14681acfc7ef5e8d1e18d53664e1c (patch) | |
| tree | 7823b6bb6615ab21d194ba74de4f25181640a537 /Ryujinx.Graphics.Shader/Instructions | |
| parent | b02719cf4173c0ca26e6d562424eba68965ce59c (diff) | |
Unscale textureSize when resolution scaling is used (#2441)
* Unscale textureSize when resolution scaling is used
* Fix textureSize on compute
* Flag texture size as needing res scale values too
Diffstat (limited to 'Ryujinx.Graphics.Shader/Instructions')
| -rw-r--r-- | Ryujinx.Graphics.Shader/Instructions/InstEmitTexture.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Shader/Instructions/InstEmitTexture.cs b/Ryujinx.Graphics.Shader/Instructions/InstEmitTexture.cs index b59f0d31..f1ae89d5 100644 --- a/Ryujinx.Graphics.Shader/Instructions/InstEmitTexture.cs +++ b/Ryujinx.Graphics.Shader/Instructions/InstEmitTexture.cs @@ -1056,6 +1056,8 @@ namespace Ryujinx.Graphics.Shader.Instructions return; } + context.Config.SetUsedFeature(FeatureFlags.IntegerSampling); + TextureProperty property = (TextureProperty)op.RawOpCode.Extract(22, 6); // TODO: Validate and use property. |
