diff options
author | gdkchan <gab.dark.100@gmail.com> | 2022-11-10 13:38:38 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-10 13:38:38 -0300 |
commit | a6a67a2b7add9a9dc8c4f0bab730957b8ebaf6e8 (patch) | |
tree | 55bf091161239e653d7c5b0eea03d4201835911d /Ryujinx.Graphics.Gpu/Image/Texture.cs | |
parent | c6d05301aae7509ea6a1ec29d39a72bac94d80b0 (diff) |
Minor improvement to Vulkan pipeline state and bindings management (#3829)1.1.340
* Minor improvement to Vulkan pipeline state and bindings management
* Clean up buffer textures too
* Use glBindTextureUnit
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Image/Texture.cs')
-rw-r--r-- | Ryujinx.Graphics.Gpu/Image/Texture.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Ryujinx.Graphics.Gpu/Image/Texture.cs b/Ryujinx.Graphics.Gpu/Image/Texture.cs index 847cfbfe..4203cb00 100644 --- a/Ryujinx.Graphics.Gpu/Image/Texture.cs +++ b/Ryujinx.Graphics.Gpu/Image/Texture.cs @@ -708,11 +708,12 @@ namespace Ryujinx.Graphics.Gpu.Image else { bool dataMatches = _currentData != null && data.SequenceEqual(_currentData); - _currentData = data.ToArray(); if (dataMatches) { return; } + + _currentData = data.ToArray(); } } |