Properly register TextureBuffer usage + Store Auto ref
This commit is contained in:
committed by
Isaac Marovitz
parent
810b5792a8
commit
e8dda2d5ef
@@ -1133,6 +1133,11 @@ namespace Ryujinx.Graphics.Metal
|
||||
continue;
|
||||
}
|
||||
|
||||
if (storage is TextureBuffer textureBuffer)
|
||||
{
|
||||
textureBuffer.RebuildStorage(false);
|
||||
}
|
||||
|
||||
var mtlTexture = storage.GetHandle();
|
||||
|
||||
MTLRenderStages renderStages = 0;
|
||||
@@ -1345,6 +1350,11 @@ namespace Ryujinx.Graphics.Metal
|
||||
continue;
|
||||
}
|
||||
|
||||
if (storage is TextureBuffer textureBuffer)
|
||||
{
|
||||
textureBuffer.RebuildStorage(false);
|
||||
}
|
||||
|
||||
var mtlTexture = storage.GetHandle();
|
||||
|
||||
if (segment.Stages.HasFlag(ResourceStages.Compute))
|
||||
|
||||
Reference in New Issue
Block a user