Support copy of slices to 3D textures, remove old 3D render target layered render support, do not delete textures with existing views created from them
This commit is contained in:
parent
3bcc395253
commit
d786d8d2b9
9 changed files with 131 additions and 160 deletions
|
@ -29,16 +29,6 @@ namespace Ryujinx.Graphics.OpenGL
|
|||
0);
|
||||
}
|
||||
|
||||
public void AttachColor(int index, TextureView color, int layer)
|
||||
{
|
||||
GL.FramebufferTextureLayer(
|
||||
FramebufferTarget.Framebuffer,
|
||||
FramebufferAttachment.ColorAttachment0 + index,
|
||||
color?.Handle ?? 0,
|
||||
0,
|
||||
layer);
|
||||
}
|
||||
|
||||
public void AttachDepthStencil(TextureView depthStencil)
|
||||
{
|
||||
// Detach the last depth/stencil buffer if there is any.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue