diff --git a/wgpu-core/src/instance.rs b/wgpu-core/src/instance.rs index 19783199c5..0f3e3e4d30 100644 --- a/wgpu-core/src/instance.rs +++ b/wgpu-core/src/instance.rs @@ -281,10 +281,9 @@ impl Adapter { if texture_format_properties.contains(hal::format::ImageFeature::STORAGE_ATOMIC) { flags |= wgt::TextureFormatFeatureFlags::STORAGE_ATOMICS; } - // TODO: Hal update required. This in turn is blocked by https://github.com/zakarumych/gpu-alloc/issues/33 - //if texture_format_properties.contains(hal::format::ImageFeature::STORAGE_READ_WRITE) { - // flags |= wgt::TextureFormatFeatureFlags::STORAGE_READ_WRITE; - //} + if texture_format_properties.contains(hal::format::ImageFeature::STORAGE_READ_WRITE) { + flags |= wgt::TextureFormatFeatureFlags::STORAGE_READ_WRITE; + } wgt::TextureFormatFeatures { allowed_usages,