Stores by raw address declare what their dispatch names, not every copy reached so far
Also: victory replay --images writes the bytes of buffers. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
1161647e1d
commit
fb861f169e
3 files changed
+46
-19
No files matched your search
@@ -340,8 +340,16 @@ impl Player {
|
||||
continue;
|
||||
};
|
||||
let r = &self.frame.resources[at];
|
||||
if r.desc.dimension == D3D12_RESOURCE_DIMENSION_BUFFER.0 || r.desc.samples[0] > 1 {
|
||||
say(format!("{id}: a buffer or multisampled"));
|
||||
if r.desc.dimension == D3D12_RESOURCE_DIMENSION_BUFFER.0 {
|
||||
// A buffer: its bytes.
|
||||
if let Some(all) = self.contents_of(id, 0)? {
|
||||
std::fs::write(images.folder.join(format!("{id:05}.bin")), &all)?;
|
||||
say(format!("{}: {} bytes", self.called(id), all.len()));
|
||||
}
|
||||
continue;
|
||||
}
|
||||
if r.desc.samples[0] > 1 {
|
||||
say(format!("{id}: multisampled"));
|
||||
continue;
|
||||
}
|
||||
let (name, own) = (r.name.clone(), r.desc.format);
|
||||
|
||||
Reference in new issue
Block a user