The crash report names direct mesh dispatches; buffers and groups stay inside what there is
- The lists' notes for a lost device hold direct mesh dispatches too (pipeline, groups, user data): run n06c stopped among them. - A mesh dispatch of more than 65,535 groups is cut to that (more is undefined on the host; said once). Vertex and index buffer views end with the copy they show. - indirect::tests::loads_far_outside_views (a measurement): raw, typed, constant buffer and texture loads at the ends of 32 bits, uniform and per lane, samples at coordinates, levels and gradients that are no numbers: all 198 ways end inside their views on the RX 7900 XTX. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
67471988dc
commit
ef556e4218
4 files changed
+217
-14
No files matched your search
@@ -8505,15 +8505,18 @@ fn indirects_around(history: &[D3D12_AUTO_BREADCRUMB_OP], done: usize, all: &ind
|
||||
let all = all.lock().unwrap_or_else(|e| e.into_inner());
|
||||
let mut text = String::new();
|
||||
let mut shown = 0;
|
||||
let mesh = |op: &D3D12_AUTO_BREADCRUMB_OP| *op == D3D12_AUTO_BREADCRUMB_OP_DISPATCHMESH;
|
||||
for (at, op) in history.iter().enumerate().skip(done.saturating_sub(1)) {
|
||||
if shown == 4 || (at > done && *op == D3D12_AUTO_BREADCRUMB_OP_RESOURCEBARRIER) {
|
||||
break;
|
||||
}
|
||||
if !indirect(op) {
|
||||
if !indirect(op) && !mesh(op) {
|
||||
continue;
|
||||
}
|
||||
shown += 1;
|
||||
let Some((what, words)) = all.nth(indirects::before(history, at, indirect)) else {
|
||||
let direct = mesh(op);
|
||||
let nth = if direct { indirects::before(history, at, mesh) } else { indirects::before(history, at, indirect) };
|
||||
let Some((what, words)) = all.nth(nth, direct) else {
|
||||
continue;
|
||||
};
|
||||
text.push_str(&format!("; command {at} ran {what}"));
|
||||
|
||||
Reference in new issue
Block a user