You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Intel Mac with Radeon Pro 560, during the aovInputTask texture creation for the depth buffer, the following error is printed and the texture creation crashes.
-[MTLTextureDescriptorInternal validateWithDevice:] failed assertion Texture Descriptor Validation MTLTextureDescriptor: Depth, Stencil, DepthStencil textures cannot be allocated with MTLStorageModeShared or MTLStorageModeManaged on this device.
Description of Issue
On Intel Mac with Radeon Pro 560, during the aovInputTask texture creation for the depth buffer, the following error is printed and the texture creation crashes.
-[MTLTextureDescriptorInternal validateWithDevice:] failed assertion Texture Descriptor Validation MTLTextureDescriptor: Depth, Stencil, DepthStencil textures cannot be allocated with MTLStorageModeShared or MTLStorageModeManaged on this device.
It seems that the issue was introduced with #3215, by this line:
/~https://github.com/PixarAnimationStudios/OpenUSD/blob/release/pxr/imaging/hgiMetal/texture.mm#L27
When the resourceOptions is
MTLResourceStorageModePrivate
it works on that platform.The text was updated successfully, but these errors were encountered: