Shared locks for buffer and window lookups; early pipeline list without a small cap; crash report names what a list binds
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
1f1a433676
commit
ad30f2cb1f
3 files changed
+67
-28
No files matched your search
@@ -610,6 +610,13 @@ fn create() -> windows::core::Result<Host> {
|
||||
dred.SetAutoBreadcrumbsEnablement(D3D12_DRED_ENABLEMENT_FORCED_ON);
|
||||
}
|
||||
dred.SetPageFaultEnablement(D3D12_DRED_ENABLEMENT_FORCED_ON);
|
||||
tracing::info!(
|
||||
breadcrumbs = dred_on() || dred_light(),
|
||||
markers = dred_on(),
|
||||
"crash tracing on (device-removed data)"
|
||||
);
|
||||
} else {
|
||||
tracing::warn!("crash tracing asked for and not there: no device-removed data settings");
|
||||
}
|
||||
}
|
||||
let mut device: Option<ID3D12Device> = None;
|
||||
@@ -5293,7 +5300,12 @@ impl Host {
|
||||
let _ = fault_va;
|
||||
if done > 0 {
|
||||
text.push_str(&in_flight(history, &markers, done as usize));
|
||||
} else if let Some(bound) = bound {
|
||||
}
|
||||
// (Without markers a list that stopped midway says what
|
||||
// it may have been at only by what it binds.)
|
||||
if (done == 0 || markers.is_empty())
|
||||
&& let Some(bound) = bound
|
||||
{
|
||||
let pipelines = bound.lock().unwrap_or_else(|e| e.into_inner());
|
||||
text.push_str(&format!(", its pipelines {pipelines:?}"));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user