mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-21 22:33:49 +00:00
use .error_ident()
for log::trace!
in render_pass_end
This commit is contained in:
parent
fc6fe76fce
commit
d26aef554e
@ -1599,7 +1599,6 @@ impl Global {
|
||||
return Err(RenderPassErrorInner::InvalidParentEncoder).map_pass_err(pass_scope);
|
||||
};
|
||||
cmd_buf.unlock_encoder().map_pass_err(pass_scope)?;
|
||||
let cmd_buf_id = cmd_buf.as_info().id();
|
||||
|
||||
let hal_label = hal_label(base.label.as_deref(), self.instance.flags);
|
||||
|
||||
@ -1627,10 +1626,7 @@ impl Global {
|
||||
*status = CommandEncoderStatus::Error;
|
||||
encoder.open_pass(hal_label).map_pass_err(pass_scope)?;
|
||||
|
||||
log::trace!(
|
||||
"Encoding render pass begin in command buffer {:?}",
|
||||
cmd_buf_id
|
||||
);
|
||||
log::trace!("Encoding render pass begin in {}", cmd_buf.error_ident());
|
||||
|
||||
let info = RenderPassInfo::start(
|
||||
device,
|
||||
@ -1935,7 +1931,7 @@ impl Global {
|
||||
}
|
||||
}
|
||||
|
||||
log::trace!("Merging renderpass into cmd_buf {:?}", cmd_buf_id);
|
||||
log::trace!("Merging renderpass into {}", cmd_buf.error_ident());
|
||||
let (trackers, pending_discard_init_fixups) = state
|
||||
.info
|
||||
.finish(state.raw_encoder, state.snatch_guard)
|
||||
|
Loading…
Reference in New Issue
Block a user