From ea90aa4362b2f7dbc7e4742c1a494da366dadedd Mon Sep 17 00:00:00 2001 From: Mauro Gentile Date: Sat, 15 Apr 2023 10:16:27 +0200 Subject: [PATCH] Integrating (#3686) --- wgpu-core/src/device/resource.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/wgpu-core/src/device/resource.rs b/wgpu-core/src/device/resource.rs index 99f39e108a..d3cb316644 100644 --- a/wgpu-core/src/device/resource.rs +++ b/wgpu-core/src/device/resource.rs @@ -1456,6 +1456,16 @@ impl Device { Some(wgt::Features::TEXTURE_BINDING_ARRAY), WritableStorage::No, ), + Bt::Texture { + multisampled: true, + sample_type: TextureSampleType::Float { filterable: true }, + .. + } => { + return Err(binding_model::CreateBindGroupLayoutError::Entry { + binding: entry.binding, + error: binding_model::BindGroupLayoutEntryError::SampleTypeFloatFilterableBindingMultisampled, + }); + } Bt::Texture { .. } => ( Some(wgt::Features::TEXTURE_BINDING_ARRAY), WritableStorage::No,