diff --git a/wgpu-core/src/instance.rs b/wgpu-core/src/instance.rs index 5f4e6a058..9033797fe 100644 --- a/wgpu-core/src/instance.rs +++ b/wgpu-core/src/instance.rs @@ -234,10 +234,6 @@ impl Adapter { ); let mut flags = wgt::TextureFormatFeatureFlags::empty(); - flags.set( - wgt::TextureFormatFeatureFlags::STORAGE_ATOMICS, - caps.contains(Tfc::STORAGE_ATOMIC), - ); flags.set( wgt::TextureFormatFeatureFlags::STORAGE_READ_WRITE, caps.contains(Tfc::STORAGE_READ_WRITE), diff --git a/wgpu-info/src/main.rs b/wgpu-info/src/main.rs index 6702101a1..4aecfa404 100644 --- a/wgpu-info/src/main.rs +++ b/wgpu-info/src/main.rs @@ -230,7 +230,7 @@ mod inner { } } - println!("\tTexture Format Features: ┌──────────┬──────────┬──────────Allowed┬Usages───────────┬───────────────────┐ ┌────────────┬────────────────┬────────────────┬─────────Feature┬Flags────────────────┬────────────────────┬─────────────────┬───────────┐"); + println!("\tTexture Format Features: ┌──────────┬──────────┬──────────Allowed┬Usages───────────┬───────────────────┐ ┌────────────┬────────────────┬────────────────┬─────────Feature┬Flags────────────┬─────────────────────┬────────────────────┬───────────┐"); for format in TEXTURE_FORMAT_LIST { let features = adapter.get_texture_format_features(format); let format_name = match format { @@ -274,7 +274,7 @@ mod inner { println!(" │"); } - println!("\t └──────────┴──────────┴─────────────────┴─────────────────┴───────────────────┘ └────────────┴────────────────┴────────────────┴────────────────┴─────────────────────┴────────────────────┴─────────────────┴───────────┘"); + println!("\t └──────────┴──────────┴─────────────────┴─────────────────┴───────────────────┘ └────────────┴────────────────┴────────────────┴────────────────┴─────────────────┴─────────────────────┴────────────────────┴───────────┘"); } pub fn main() { diff --git a/wgpu-types/src/lib.rs b/wgpu-types/src/lib.rs index a028b29b2..7541dc54d 100644 --- a/wgpu-types/src/lib.rs +++ b/wgpu-types/src/lib.rs @@ -1744,11 +1744,8 @@ bitflags::bitflags! { /// When used as a STORAGE texture, then a texture with this format can be bound with /// [`StorageTextureAccess::ReadOnly`] or [`StorageTextureAccess::ReadWrite`]. const STORAGE_READ_WRITE = 1 << 6; - /// When used as a STORAGE texture, then a texture with this format can be written to with atomics. - // TODO: No access flag exposed as of writing - const STORAGE_ATOMICS = 1 << 7; /// If not present, the texture can't be blended into the render target. - const BLENDABLE = 1 << 8; + const BLENDABLE = 1 << 7; } }