diff options
author | gdkchan <gab.dark.100@gmail.com> | 2022-09-19 16:12:56 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-19 16:12:56 -0300 |
commit | da75a9a6ea89787c551b20e068a2bed8a8dc4f92 (patch) | |
tree | 812f5d63819c0b4ab2e27d1256c0d7c37ac53813 /Ryujinx.Graphics.OpenGL/OpenGLRenderer.cs | |
parent | 41790aa7434a5e6d132fad2e24844d450378205b (diff) |
OpenGL: Fix blit from non-multisample to multisample texture (#3596)1.1.277
* OpenGL: Fix blit from non-multisample to multisample texture
* New approach for multisample copy using compute shaders
Diffstat (limited to 'Ryujinx.Graphics.OpenGL/OpenGLRenderer.cs')
-rw-r--r-- | Ryujinx.Graphics.OpenGL/OpenGLRenderer.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.OpenGL/OpenGLRenderer.cs b/Ryujinx.Graphics.OpenGL/OpenGLRenderer.cs index 0b9acf10..418976e6 100644 --- a/Ryujinx.Graphics.OpenGL/OpenGLRenderer.cs +++ b/Ryujinx.Graphics.OpenGL/OpenGLRenderer.cs @@ -24,6 +24,7 @@ namespace Ryujinx.Graphics.OpenGL private TextureCopy _textureCopy; private TextureCopy _backgroundTextureCopy; internal TextureCopy TextureCopy => BackgroundContextWorker.InBackground ? _backgroundTextureCopy : _textureCopy; + internal TextureCopyMS TextureCopyMS { get; } private Sync _sync; @@ -48,6 +49,7 @@ namespace Ryujinx.Graphics.OpenGL _window = new Window(this); _textureCopy = new TextureCopy(this); _backgroundTextureCopy = new TextureCopy(this); + TextureCopyMS = new TextureCopyMS(this); _sync = new Sync(); PersistentBuffers = new PersistentBuffers(); ResourcePool = new ResourcePool(); @@ -211,6 +213,7 @@ namespace Ryujinx.Graphics.OpenGL { _textureCopy.Dispose(); _backgroundTextureCopy.Dispose(); + TextureCopyMS.Dispose(); PersistentBuffers.Dispose(); ResourcePool.Dispose(); _pipeline.Dispose(); |