mirror of
https://github.com/Ryubing/Ryujinx.git
synced 2026-02-12 14:57:17 -05:00
Properly register TextureBuffer usage + Store Auto ref
This commit is contained in:
committed by
Evan Husted
parent
45c99dbfa8
commit
421ba5448a
@@ -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