From ae7030be0edff4cda88ece74137e5bcd28ef48fa Mon Sep 17 00:00:00 2001 From: vero Date: Mon, 30 Sep 2024 19:05:25 -0400 Subject: [PATCH] Add ShaderAtomic to MTLTextureUsage (#340) --- src/texture.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/texture.rs b/src/texture.rs index 04368a4..6215931 100644 --- a/src/texture.rs +++ b/src/texture.rs @@ -42,6 +42,7 @@ bitflags::bitflags! { const ShaderWrite = 0x0002; const RenderTarget = 0x0004; const PixelFormatView = 0x0010; + const ShaderAtomic = 0x0020; } }