Fix sub-image copies on intel GPUs (#2198)

This commit is contained in:
gdkchan 2021-04-12 22:09:42 -03:00 committed by GitHub
parent b662a26c7e
commit 001005b3d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 47 additions and 19 deletions

View file

@ -4,12 +4,14 @@ using System;
namespace Ryujinx.Graphics.OpenGL.Image
{
class TextureView : TextureBase, ITexture
class TextureView : TextureBase, ITexture, ITextureInfo
{
private readonly Renderer _renderer;
private readonly TextureStorage _parent;
public int StorageHandle => _parent.Handle;
private TextureView _incompatibleFormatView;
public int FirstLayer { get; private set; }