diff --git a/wgpu-core/src/device/global.rs b/wgpu-core/src/device/global.rs index e09c81e443d..533bb0133e9 100644 --- a/wgpu-core/src/device/global.rs +++ b/wgpu-core/src/device/global.rs @@ -574,6 +574,8 @@ impl Global { return (id, None); }; + log::error!("Device::create_texture error {error:?}"); + let id = fid.assign_error(desc.label.borrow_or_default()); (id, Some(error)) } @@ -646,6 +648,8 @@ impl Global { return (id, None); }; + log::error!("Device::create_texture error {error:?}"); + let id = fid.assign_error(desc.label.borrow_or_default()); (id, Some(error)) } @@ -698,6 +702,8 @@ impl Global { return (id, None); }; + log::error!("Device::create_buffer error {error:?}"); + let id = fid.assign_error(desc.label.borrow_or_default()); (id, Some(error)) } @@ -2314,6 +2320,7 @@ impl Global { if let Some(callback) = operation.callback.take() { callback.call(Err(err.clone())); } + log::error!("Buffer::map_async error {err:?}"); return Err(err); }