victory replay, larger tests of it
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
59a556e4b0
commit
048201b13c
9 files changed
+938
-52
No files matched your search
@@ -1303,7 +1303,14 @@ fn timing() -> bool {
|
||||
pub(crate) fn name(object: &impl Interface, text: impl FnOnce() -> String) {
|
||||
#[cfg(feature = "diagnostics")]
|
||||
if crate::replay::record::on() {
|
||||
crate::replay::record::name(object, &text());
|
||||
let text = text();
|
||||
crate::replay::record::name(object, &text);
|
||||
if dred_on()
|
||||
&& let Ok(object) = object.cast::<ID3D12Object>()
|
||||
{
|
||||
// SAFETY: a plain call on a live object.
|
||||
let _ = unsafe { object.SetName(&windows::core::HSTRING::from(text)) };
|
||||
}
|
||||
return;
|
||||
}
|
||||
if dred_on()
|
||||
|
||||
Reference in new issue
Block a user