diff options
author | gdkchan <gab.dark.100@gmail.com> | 2023-08-14 13:57:39 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-14 13:57:39 -0300 |
commit | 550fd4a7338eded794bf961ef6fd0c38643471c8 (patch) | |
tree | 1ed7aac2471fa887449e21102dea5a8b53e06715 /src/Ryujinx.Graphics.Gpu/Image/TextureManager.cs | |
parent | 33f544fd9248361440afd6013e0ef9d69971d6da (diff) |
Simplify resolution scale updates (#5541)1.1.987
Diffstat (limited to 'src/Ryujinx.Graphics.Gpu/Image/TextureManager.cs')
-rw-r--r-- | src/Ryujinx.Graphics.Gpu/Image/TextureManager.cs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/Ryujinx.Graphics.Gpu/Image/TextureManager.cs b/src/Ryujinx.Graphics.Gpu/Image/TextureManager.cs index 63b9b47c..ed181640 100644 --- a/src/Ryujinx.Graphics.Gpu/Image/TextureManager.cs +++ b/src/Ryujinx.Graphics.Gpu/Image/TextureManager.cs @@ -44,11 +44,8 @@ namespace Ryujinx.Graphics.Gpu.Image TexturePoolCache texturePoolCache = new(context); SamplerPoolCache samplerPoolCache = new(context); - float[] scales = new float[64]; - new Span<float>(scales).Fill(1f); - - _cpBindingsManager = new TextureBindingsManager(context, channel, texturePoolCache, samplerPoolCache, scales, isCompute: true); - _gpBindingsManager = new TextureBindingsManager(context, channel, texturePoolCache, samplerPoolCache, scales, isCompute: false); + _cpBindingsManager = new TextureBindingsManager(context, channel, texturePoolCache, samplerPoolCache, isCompute: true); + _gpBindingsManager = new TextureBindingsManager(context, channel, texturePoolCache, samplerPoolCache, isCompute: false); _texturePoolCache = texturePoolCache; _samplerPoolCache = samplerPoolCache; |