mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-02-06 12:03:20 +00:00
diag: re-word CreateBindGroupError::InvalidTextureSampleType
This commit is contained in:
parent
5fb5719cdc
commit
b5986a9df1
@ -64,9 +64,9 @@ static FLOAT32_FILTERABLE_WITHOUT_FEATURE: GpuTestConfiguration = GpuTestConfigu
|
||||
create_texture_binding(device, wgpu::TextureFormat::R32Float, true);
|
||||
},
|
||||
Some(concat!(
|
||||
"texture binding 0 expects sample type = float { filterable: true }, ",
|
||||
"but given a view with format = r32float ",
|
||||
"(sample type = float { filterable: false })"
|
||||
"texture binding 0 expects sample type float { filterable: true }, ",
|
||||
"but was given a view with format r32float ",
|
||||
"(sample type float { filterable: false })"
|
||||
)),
|
||||
);
|
||||
});
|
||||
|
@ -143,7 +143,7 @@ pub enum CreateBindGroupError {
|
||||
view_samples: u32,
|
||||
},
|
||||
#[error(
|
||||
"Texture binding {} expects sample type = {:?}, but given a view with format = {:?} (sample type = {:?})",
|
||||
"Texture binding {} expects sample type {:?}, but was given a view with format {:?} (sample type {:?})",
|
||||
binding,
|
||||
layout_sample_type,
|
||||
view_format,
|
||||
|
Loading…
Reference in New Issue
Block a user