None of the supported sample types (UnfilterableFloat) of [Texture] match the expected sample types (Float).
- While validating entries[0] as a Texture.
Expected entry layout: { binding: 0, visibility: ShaderStage::Fragment, texture: { sampleType: TextureSampleType::Float, viewDimension: TextureViewDimension::e2D, multisampled: 0 } }
- While validating [BindGroupDescriptor] against [BindGroupLayout]
- While calling [Device].CreateBindGroup([BindGroupDescriptor]).
https://www.w3.org/TR/webgpu/#float32-filterable https://developer.chrome.com/blog/new-in-webgpu-119#filterable_32-bit_float_textures
未开启该特性的情况下,使用 F32_R 会报错: