diff options
author | gdkchan <gab.dark.100@gmail.com> | 2023-10-31 19:00:39 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-31 19:00:39 -0300 |
commit | 841dd56f4ce850693aee5980cd750791624e47be (patch) | |
tree | 585a5a581e78c5c6d64244e148097b57788cb9c6 /src/Ryujinx.Graphics.OpenGL/Image/TextureCopy.cs | |
parent | a16d582a105a6f9218e5f50fafd2670c64c1244c (diff) |
Implement copy dependency for depth and color textures (#4365)1.1.1068
* Implement copy dependency for depth and color textures
* Revert changes added because R32 <-> D32 copies were illegal
* Restore depth alias matches
Diffstat (limited to 'src/Ryujinx.Graphics.OpenGL/Image/TextureCopy.cs')
-rw-r--r-- | src/Ryujinx.Graphics.OpenGL/Image/TextureCopy.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Ryujinx.Graphics.OpenGL/Image/TextureCopy.cs b/src/Ryujinx.Graphics.OpenGL/Image/TextureCopy.cs index e33940cb..128f481f 100644 --- a/src/Ryujinx.Graphics.OpenGL/Image/TextureCopy.cs +++ b/src/Ryujinx.Graphics.OpenGL/Image/TextureCopy.cs @@ -367,7 +367,7 @@ namespace Ryujinx.Graphics.OpenGL.Image return to; } - private TextureView PboCopy(TextureView from, TextureView to, int srcLayer, int dstLayer, int srcLevel, int dstLevel, int width, int height) + public void PboCopy(TextureView from, TextureView to, int srcLayer, int dstLayer, int srcLevel, int dstLevel, int width, int height) { int dstWidth = width; int dstHeight = height; @@ -445,8 +445,6 @@ namespace Ryujinx.Graphics.OpenGL.Image } GL.BindBuffer(BufferTarget.PixelUnpackBuffer, 0); - - return to; } private void EnsurePbo(TextureView view) |