From 06b11590fe719fcb3ce69fcd6955e4ab62f75b5a Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sat, 3 Feb 2024 19:53:35 +1000 Subject: [PATCH] MetalDevice: Textures should be private --- src/util/metal_device.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/metal_device.mm b/src/util/metal_device.mm index ab3e60cc9..be67af89e 100644 --- a/src/util/metal_device.mm +++ b/src/util/metal_device.mm @@ -1079,7 +1079,7 @@ std::unique_ptr MetalDevice::CreateTexture(u32 width, u32 height, u3 mipmapped:(levels > 1)]; desc.mipmapLevelCount = levels; - desc.storageMode = MTLStorageModeShared; + desc.storageMode = MTLStorageModePrivate; if (samples > 1) { desc.textureType = (layers > 1) ? MTLTextureType2DMultisampleArray : MTLTextureType2DMultisample;