diff --git a/wgpu-native/src/device.rs b/wgpu-native/src/device.rs index 7dad53fb9..79a2d7271 100644 --- a/wgpu-native/src/device.rs +++ b/wgpu-native/src/device.rs @@ -1215,7 +1215,7 @@ pub fn device_create_bind_group( .buffers .use_extend(&*buffer_guard, bb.buffer, (), usage) .unwrap(); - assert!(buffer.usage.contains(usage)); + assert!(buffer.usage.contains(usage), "Expected buffer usage {:?}", usage); let end = if bb.size == 0 { None