Verify the D3D12 mapping fence before publishing new memory #200

Closed
opened 2026-11-27 09:09:28 +00:00 by github-bot · 2 comments
Owner

@⁠NotADonky43 on GitHub · 2026-11-27 09:05 UTC · original

Mapping residency can report success without a completed fence

In host::mapped, the reusable copy queue marks a newly resident allocation ready for use. In 4ee1a47b, GetCompletedValue() == UINT64_MAX passes the completion check even though it means the D3D12 device was removed. The event branch also ignores the Win32 wait status and does not confirm the fence after waking. The old branch can therefore reach its success return without evidence of a usable mapping. This is separate from #196, which leaves residency ordering unchanged, and from normal frame or relay retirement.

The patch only changes the existing mapping queue: return the removal reason (or DXGI_ERROR_DEVICE_REMOVED), propagate the wait error, and confirm the expected fence value after each wake. If a submission was already issued when confirmation failed, keep the existing queue/list/resources alive, confirm or re-signal the old marker before reuse, then issue a fresh marker for the new call. All signals are on the same serialized queue. It does not batch allocations or disable the mapping wait.

Validation

  • Standalone patch based directly on 4ee1a47b: five focused Windows tests and optimized build passed. Tests cover real WAIT_FAILED on an invalid handle, injected event registration failure and removal sentinel, stale wake, and recovery ordering. Ordinary native mappings also pass on an RTX 5070 Ti with the debug and GPU-validation options enabled. Removal and recovery failure paths are fault-injected; this was not a reproduced device-loss crash in the title.
  • Separately, the full workspace suite passed with this fix and the #196 lock-scope change together. The combined build booted with precompiled shaders and reached a heavy-rendering interval, then closed cleanly. No claim of FPS, memory footprint improvement, or title-wide fence coverage.
$env:VICTORY_D3D12_DEBUG='1'; $env:VICTORY_D3D12_GBV='1'
cargo test --locked --profile diag -p victory-gpu --features diagnostics --lib host::mapping_fence::tests -- --test-threads=1

Standalone source diff (checked by replay onto 4ee1a47b):

diff --git a/crates/victory-gpu/src/host.rs b/crates/victory-gpu/src/host.rs
index d559e1af..62936e9d 100644
--- a/crates/victory-gpu/src/host.rs
+++ b/crates/victory-gpu/src/host.rs
@@ -249,7 +249,7 @@ struct Aside {
     list: ID3D12CommandList,
     fence: ID3D12Fence,
     event: windows::Win32::Foundation::HANDLE,
-    value: u64,
+    progress: mapping_fence::Progress,
     _keep: (ID3D12CommandAllocator, [ID3D12Resource; 2]),
 }
 // SAFETY: D3D12 objects are free-threaded, the event is waited on by one
@@ -308,18 +308,15 @@ pub(crate) fn mapped(device: &ID3D12Device) -> windows::core::Result<()> {
                 list: list.cast()?,
                 fence: device.CreateFence(0, D3D12_FENCE_FLAG_NONE)?,
                 event: CreateEventW(None, false, false, None)?,
-                value: 0,
+                progress: Default::default(),
                 _keep: (allocator, [from, to]),
             });
         }
         let Some(a) = aside.as_mut() else { return Ok(()) };
-        a.queue.ExecuteCommandLists(&[Some(a.list.clone())]);
-        a.value += 1;
-        a.queue.Signal(&a.fence, a.value)?;
-        if a.fence.GetCompletedValue() < a.value {
-            a.fence.SetEventOnCompletion(a.value, a.event)?;
-            WaitForSingleObject(a.event, INFINITE);
-        }
+        a.progress.run(
+            || a.queue.ExecuteCommandLists(&[Some(a.list.clone())]),
+            |value, recovering| mapping_fence::confirm(device, &a.queue, &a.fence, a.event, value, recovering),
+        )?;
     }
     let us = started.elapsed().as_micros() as u64;
     MAPPED[0].fetch_add(1, Ordering::Relaxed);
@@ -4389,6 +4386,7 @@ fn late_line(frames: f64) {
 
 pub(crate) mod aside;
 pub(crate) mod awake;
+mod mapping_fence;
 mod title_stock;
 mod card_steps;
 pub(crate) mod indirects;
diff --git a/crates/victory-gpu/src/host/mapping_fence.rs b/crates/victory-gpu/src/host/mapping_fence.rs
new file mode 100644
index 00000000..86c4b7bf
--- /dev/null
+++ b/crates/victory-gpu/src/host/mapping_fence.rs
@@ -0,0 +1,94 @@
+//! Confirm the queue that marks new memory usable. A device-removed fence
+//! value or a failed Win32 event wait is not a successful mapping.
+
+use super::{ID3D12CommandQueue, ID3D12Device, ID3D12Fence};
+use windows::Win32::Foundation::{E_UNEXPECTED, HANDLE, WAIT_FAILED, WAIT_OBJECT_0};
+use windows::Win32::Graphics::Dxgi::DXGI_ERROR_DEVICE_REMOVED;
+use windows::Win32::System::Threading::{INFINITE, WaitForSingleObject};
+use windows::core::{Error, Result};
+
+#[derive(Default)]
+pub(super) struct Progress {
+    value: u64,
+    pending: bool,
+}
+
+impl Progress {
+    pub(super) fn run(&mut self, submit: impl FnOnce(), mut confirm: impl FnMut(u64, bool) -> Result<()>) -> Result<()> {
+        if self.pending {
+            // An earlier call could not confirm its submission. Do not resubmit
+            // the reusable list while it could still be in flight. Even if the
+            // old fence is complete, this call still needs its own marker.
+            confirm(self.value, true)?;
+        }
+        self.value = self.value.checked_add(1).filter(|v| *v != u64::MAX)
+            .ok_or_else(|| Error::from_hresult(E_UNEXPECTED))?;
+        self.pending = true;
+        submit();
+        confirm(self.value, false)?;
+        self.pending = false;
+        Ok(())
+    }
+}
+
+fn reached(value: u64, completed: u64, removed: impl FnOnce() -> Result<()>) -> Result<bool> {
+    if completed == u64::MAX {
+        removed()?;
+        // The sentinel is not a valid success even if the runtime no longer
+        // has a more specific reason to report.
+        return Err(Error::from_hresult(DXGI_ERROR_DEVICE_REMOVED));
+    }
+    Ok(completed >= value)
+}
+
+fn wait_until_complete(
+    complete: impl Fn() -> Result<bool>,
+    arm: impl FnOnce() -> Result<()>,
+    mut wait: impl FnMut() -> Result<()>,
+) -> Result<()> {
+    if complete()? {
+        return Ok(());
+    }
+    arm()?;
+    loop {
+        wait()?;
+        // A wake might belong to a previous wait, or signal removal.
+        if complete()? {
+            return Ok(());
+        }
+    }
+}
+
+fn wait_event(event: HANDLE) -> Result<()> {
+    // SAFETY: the caller owns the event for the duration of the wait.
+    match unsafe { WaitForSingleObject(event, INFINITE) } {
+        WAIT_OBJECT_0 => Ok(()),
+        WAIT_FAILED => Err(Error::from_thread()),
+        _ => Err(Error::from_hresult(E_UNEXPECTED)),
+    }
+}
+
+pub(super) fn confirm(
+    device: &ID3D12Device,
+    queue: &ID3D12CommandQueue,
+    fence: &ID3D12Fence,
+    event: HANDLE,
+    value: u64,
+    recovering: bool,
+) -> Result<()> {
+    // SAFETY: these objects belong to the serialized mapping queue, whose
+    // caller retains the event, command list, and resources during recovery.
+    unsafe {
+        let complete = || reached(value, fence.GetCompletedValue(), || device.GetDeviceRemovedReason());
+        if recovering && complete()? {
+            return Ok(());
+        }
+        // On recovery, retrying the same marker cannot order ahead of the
+        // earlier submission. Only this path signals this queue's fence.
+        queue.Signal(fence, value)?;
+        wait_until_complete(complete, || fence.SetEventOnCompletion(value, event), || wait_event(event))
+    }
+}
+
+#[cfg(test)]
+mod tests;
\ No newline at end of file
diff --git a/crates/victory-gpu/src/host/mapping_fence/tests.rs b/crates/victory-gpu/src/host/mapping_fence/tests.rs
new file mode 100644
index 00000000..afd5556b
--- /dev/null
+++ b/crates/victory-gpu/src/host/mapping_fence/tests.rs
@@ -0,0 +1,69 @@
+use super::*;
+use std::cell::{Cell, RefCell};
+use windows::Win32::Foundation::{E_FAIL, E_OUTOFMEMORY, ERROR_INVALID_HANDLE};
+use windows::Win32::Graphics::Dxgi::DXGI_ERROR_DEVICE_RESET;
+
+#[test]
+fn removal_sentinel_is_never_a_completed_mapping() {
+    assert!(!reached(4, 3, || panic!("healthy fence")).unwrap());
+    assert!(reached(4, 4, || panic!("healthy fence")).unwrap());
+    assert_eq!(reached(4, u64::MAX, || Err(Error::from_hresult(DXGI_ERROR_DEVICE_RESET))).unwrap_err().code(), DXGI_ERROR_DEVICE_RESET);
+    assert_eq!(reached(4, u64::MAX, || Ok(())).unwrap_err().code(), DXGI_ERROR_DEVICE_REMOVED);
+}
+
+#[test]
+fn event_registration_and_native_failed_wait_are_reported() {
+    let err = wait_until_complete(|| Ok(false), || Err(Error::from_hresult(E_OUTOFMEMORY)), || panic!("no event registered"));
+    assert_eq!(err.unwrap_err().code(), E_OUTOFMEMORY);
+    // This is a real WAIT_FAILED, not a signalled event (and cannot block).
+    let err = wait_until_complete(|| Ok(false), || Ok(()), || wait_event(HANDLE::default()));
+    assert_eq!(err.unwrap_err().code(), windows::core::HRESULT::from_win32(ERROR_INVALID_HANDLE.0));
+}
+
+#[test]
+fn a_stale_wake_cannot_complete_the_next_mapping() {
+    let completed = Cell::new(0);
+    let arms = Cell::new(0);
+    wait_until_complete(
+        || reached(2, completed.get(), || panic!("healthy fence")),
+        || { arms.set(arms.get() + 1); Ok(()) },
+        || { completed.set(completed.get() + 1); Ok(()) },
+    ).unwrap();
+    assert_eq!(completed.get(), 2);
+    assert_eq!(arms.get(), 1);
+    let err = wait_until_complete(
+        || reached(3, completed.get(), || Ok(())),
+        || Ok(()),
+        || { completed.set(u64::MAX); Ok(()) },
+    );
+    assert_eq!(err.unwrap_err().code(), DXGI_ERROR_DEVICE_REMOVED);
+}
+
+#[test]
+fn an_unconfirmed_submission_is_not_reexecuted_and_cannot_cover_new_mappings() {
+    let mut progress = Progress::default();
+    let trace = RefCell::new(Vec::new());
+    let submit = || trace.borrow_mut().push("submit");
+    let failed = |value, recovering| {
+        assert_eq!(value, 1);
+        trace.borrow_mut().push(if recovering { "recover" } else { "check" });
+        Err(Error::from_hresult(E_FAIL))
+    };
+    assert_eq!(progress.run(submit, failed).unwrap_err().code(), E_FAIL);
+    assert_eq!(progress.run(submit, failed).unwrap_err().code(), E_FAIL);
+    progress.run(submit, |value, recovering| {
+        assert_eq!(value, if recovering { 1 } else { 2 });
+        trace.borrow_mut().push(if recovering { "confirmed old" } else { "confirmed new" });
+        Ok(())
+    }).unwrap();
+    assert_eq!(trace.into_inner(), ["submit", "check", "recover", "confirmed old", "submit", "confirmed new"]);
+}
+
+#[test]
+fn native_mapping_markers_complete_on_the_host() {
+    let host = super::super::host().expect("mapping fence test needs a D3D12 adapter");
+    assert!(super::super::wait_resident(), "mapping fence test needs residency enabled");
+    assert!(host.shared_buffer(64 << 10).is_some());
+    assert!(host.shared_buffer(128 << 10).is_some());
+    assert!(host.log_messages().is_none(), "D3D12 reported validation errors");
+}
\ No newline at end of file
**@⁠NotADonky43** on GitHub · 2026-11-27 09:05 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/200) ### Mapping residency can report success without a completed fence In `host::mapped`, the reusable copy queue marks a newly resident allocation ready for use. In `4ee1a47b`, `GetCompletedValue() == UINT64_MAX` passes the completion check even though it means [the D3D12 device was removed](https://learn.microsoft.com/en-us/windows/win32/api/d3d12/nf-d3d12-id3d12fence-getcompletedvalue). The event branch also ignores the [Win32 wait status](https://learn.microsoft.com/en-us/windows/win32/api/synchapi/nf-synchapi-waitforsingleobject) and does not confirm the fence after waking. The old branch can therefore reach its success return without evidence of a usable mapping. This is separate from #196, which leaves residency ordering unchanged, and from normal frame or relay retirement. The patch only changes the existing mapping queue: return the removal reason (or `DXGI_ERROR_DEVICE_REMOVED`), propagate the wait error, and confirm the expected fence value after each wake. If a submission was already issued when confirmation failed, keep the existing queue/list/resources alive, confirm or re-signal the old marker before reuse, then issue a fresh marker for the new call. All signals are on the same serialized queue. It does not batch allocations or disable the mapping wait. ### Validation - Standalone patch based directly on `4ee1a47b`: five focused Windows tests and optimized build passed. Tests cover real `WAIT_FAILED` on an invalid handle, injected event registration failure and removal sentinel, stale wake, and recovery ordering. Ordinary native mappings also pass on an RTX 5070 Ti with the debug and GPU-validation options enabled. Removal and recovery failure paths are fault-injected; this was not a reproduced device-loss crash in the title. - Separately, the full workspace suite passed with this fix and the #196 lock-scope change together. The combined build booted with precompiled shaders and reached a heavy-rendering interval, then closed cleanly. No claim of FPS, memory footprint improvement, or title-wide fence coverage. ```powershell $env:VICTORY_D3D12_DEBUG='1'; $env:VICTORY_D3D12_GBV='1' cargo test --locked --profile diag -p victory-gpu --features diagnostics --lib host::mapping_fence::tests -- --test-threads=1 ``` Standalone source diff (checked by replay onto `4ee1a47b`): ```diff diff --git a/crates/victory-gpu/src/host.rs b/crates/victory-gpu/src/host.rs index d559e1af..62936e9d 100644 --- a/crates/victory-gpu/src/host.rs +++ b/crates/victory-gpu/src/host.rs @@ -249,7 +249,7 @@ struct Aside { list: ID3D12CommandList, fence: ID3D12Fence, event: windows::Win32::Foundation::HANDLE, - value: u64, + progress: mapping_fence::Progress, _keep: (ID3D12CommandAllocator, [ID3D12Resource; 2]), } // SAFETY: D3D12 objects are free-threaded, the event is waited on by one @@ -308,18 +308,15 @@ pub(crate) fn mapped(device: &ID3D12Device) -> windows::core::Result<()> { list: list.cast()?, fence: device.CreateFence(0, D3D12_FENCE_FLAG_NONE)?, event: CreateEventW(None, false, false, None)?, - value: 0, + progress: Default::default(), _keep: (allocator, [from, to]), }); } let Some(a) = aside.as_mut() else { return Ok(()) }; - a.queue.ExecuteCommandLists(&[Some(a.list.clone())]); - a.value += 1; - a.queue.Signal(&a.fence, a.value)?; - if a.fence.GetCompletedValue() < a.value { - a.fence.SetEventOnCompletion(a.value, a.event)?; - WaitForSingleObject(a.event, INFINITE); - } + a.progress.run( + || a.queue.ExecuteCommandLists(&[Some(a.list.clone())]), + |value, recovering| mapping_fence::confirm(device, &a.queue, &a.fence, a.event, value, recovering), + )?; } let us = started.elapsed().as_micros() as u64; MAPPED[0].fetch_add(1, Ordering::Relaxed); @@ -4389,6 +4386,7 @@ fn late_line(frames: f64) { pub(crate) mod aside; pub(crate) mod awake; +mod mapping_fence; mod title_stock; mod card_steps; pub(crate) mod indirects; diff --git a/crates/victory-gpu/src/host/mapping_fence.rs b/crates/victory-gpu/src/host/mapping_fence.rs new file mode 100644 index 00000000..86c4b7bf --- /dev/null +++ b/crates/victory-gpu/src/host/mapping_fence.rs @@ -0,0 +1,94 @@ +//! Confirm the queue that marks new memory usable. A device-removed fence +//! value or a failed Win32 event wait is not a successful mapping. + +use super::{ID3D12CommandQueue, ID3D12Device, ID3D12Fence}; +use windows::Win32::Foundation::{E_UNEXPECTED, HANDLE, WAIT_FAILED, WAIT_OBJECT_0}; +use windows::Win32::Graphics::Dxgi::DXGI_ERROR_DEVICE_REMOVED; +use windows::Win32::System::Threading::{INFINITE, WaitForSingleObject}; +use windows::core::{Error, Result}; + +#[derive(Default)] +pub(super) struct Progress { + value: u64, + pending: bool, +} + +impl Progress { + pub(super) fn run(&mut self, submit: impl FnOnce(), mut confirm: impl FnMut(u64, bool) -> Result<()>) -> Result<()> { + if self.pending { + // An earlier call could not confirm its submission. Do not resubmit + // the reusable list while it could still be in flight. Even if the + // old fence is complete, this call still needs its own marker. + confirm(self.value, true)?; + } + self.value = self.value.checked_add(1).filter(|v| *v != u64::MAX) + .ok_or_else(|| Error::from_hresult(E_UNEXPECTED))?; + self.pending = true; + submit(); + confirm(self.value, false)?; + self.pending = false; + Ok(()) + } +} + +fn reached(value: u64, completed: u64, removed: impl FnOnce() -> Result<()>) -> Result<bool> { + if completed == u64::MAX { + removed()?; + // The sentinel is not a valid success even if the runtime no longer + // has a more specific reason to report. + return Err(Error::from_hresult(DXGI_ERROR_DEVICE_REMOVED)); + } + Ok(completed >= value) +} + +fn wait_until_complete( + complete: impl Fn() -> Result<bool>, + arm: impl FnOnce() -> Result<()>, + mut wait: impl FnMut() -> Result<()>, +) -> Result<()> { + if complete()? { + return Ok(()); + } + arm()?; + loop { + wait()?; + // A wake might belong to a previous wait, or signal removal. + if complete()? { + return Ok(()); + } + } +} + +fn wait_event(event: HANDLE) -> Result<()> { + // SAFETY: the caller owns the event for the duration of the wait. + match unsafe { WaitForSingleObject(event, INFINITE) } { + WAIT_OBJECT_0 => Ok(()), + WAIT_FAILED => Err(Error::from_thread()), + _ => Err(Error::from_hresult(E_UNEXPECTED)), + } +} + +pub(super) fn confirm( + device: &ID3D12Device, + queue: &ID3D12CommandQueue, + fence: &ID3D12Fence, + event: HANDLE, + value: u64, + recovering: bool, +) -> Result<()> { + // SAFETY: these objects belong to the serialized mapping queue, whose + // caller retains the event, command list, and resources during recovery. + unsafe { + let complete = || reached(value, fence.GetCompletedValue(), || device.GetDeviceRemovedReason()); + if recovering && complete()? { + return Ok(()); + } + // On recovery, retrying the same marker cannot order ahead of the + // earlier submission. Only this path signals this queue's fence. + queue.Signal(fence, value)?; + wait_until_complete(complete, || fence.SetEventOnCompletion(value, event), || wait_event(event)) + } +} + +#[cfg(test)] +mod tests; \ No newline at end of file diff --git a/crates/victory-gpu/src/host/mapping_fence/tests.rs b/crates/victory-gpu/src/host/mapping_fence/tests.rs new file mode 100644 index 00000000..afd5556b --- /dev/null +++ b/crates/victory-gpu/src/host/mapping_fence/tests.rs @@ -0,0 +1,69 @@ +use super::*; +use std::cell::{Cell, RefCell}; +use windows::Win32::Foundation::{E_FAIL, E_OUTOFMEMORY, ERROR_INVALID_HANDLE}; +use windows::Win32::Graphics::Dxgi::DXGI_ERROR_DEVICE_RESET; + +#[test] +fn removal_sentinel_is_never_a_completed_mapping() { + assert!(!reached(4, 3, || panic!("healthy fence")).unwrap()); + assert!(reached(4, 4, || panic!("healthy fence")).unwrap()); + assert_eq!(reached(4, u64::MAX, || Err(Error::from_hresult(DXGI_ERROR_DEVICE_RESET))).unwrap_err().code(), DXGI_ERROR_DEVICE_RESET); + assert_eq!(reached(4, u64::MAX, || Ok(())).unwrap_err().code(), DXGI_ERROR_DEVICE_REMOVED); +} + +#[test] +fn event_registration_and_native_failed_wait_are_reported() { + let err = wait_until_complete(|| Ok(false), || Err(Error::from_hresult(E_OUTOFMEMORY)), || panic!("no event registered")); + assert_eq!(err.unwrap_err().code(), E_OUTOFMEMORY); + // This is a real WAIT_FAILED, not a signalled event (and cannot block). + let err = wait_until_complete(|| Ok(false), || Ok(()), || wait_event(HANDLE::default())); + assert_eq!(err.unwrap_err().code(), windows::core::HRESULT::from_win32(ERROR_INVALID_HANDLE.0)); +} + +#[test] +fn a_stale_wake_cannot_complete_the_next_mapping() { + let completed = Cell::new(0); + let arms = Cell::new(0); + wait_until_complete( + || reached(2, completed.get(), || panic!("healthy fence")), + || { arms.set(arms.get() + 1); Ok(()) }, + || { completed.set(completed.get() + 1); Ok(()) }, + ).unwrap(); + assert_eq!(completed.get(), 2); + assert_eq!(arms.get(), 1); + let err = wait_until_complete( + || reached(3, completed.get(), || Ok(())), + || Ok(()), + || { completed.set(u64::MAX); Ok(()) }, + ); + assert_eq!(err.unwrap_err().code(), DXGI_ERROR_DEVICE_REMOVED); +} + +#[test] +fn an_unconfirmed_submission_is_not_reexecuted_and_cannot_cover_new_mappings() { + let mut progress = Progress::default(); + let trace = RefCell::new(Vec::new()); + let submit = || trace.borrow_mut().push("submit"); + let failed = |value, recovering| { + assert_eq!(value, 1); + trace.borrow_mut().push(if recovering { "recover" } else { "check" }); + Err(Error::from_hresult(E_FAIL)) + }; + assert_eq!(progress.run(submit, failed).unwrap_err().code(), E_FAIL); + assert_eq!(progress.run(submit, failed).unwrap_err().code(), E_FAIL); + progress.run(submit, |value, recovering| { + assert_eq!(value, if recovering { 1 } else { 2 }); + trace.borrow_mut().push(if recovering { "confirmed old" } else { "confirmed new" }); + Ok(()) + }).unwrap(); + assert_eq!(trace.into_inner(), ["submit", "check", "recover", "confirmed old", "submit", "confirmed new"]); +} + +#[test] +fn native_mapping_markers_complete_on_the_host() { + let host = super::super::host().expect("mapping fence test needs a D3D12 adapter"); + assert!(super::super::wait_resident(), "mapping fence test needs residency enabled"); + assert!(host.shared_buffer(64 << 10).is_some()); + assert!(host.shared_buffer(128 << 10).is_some()); + assert!(host.log_messages().is_none(), "D3D12 reported validation errors"); +} \ No newline at end of file ```
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 09:09:28 +00:00
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-27 09:12 UTC · original

@⁠NotADonky43 I’ve put the mapping fix and your tests in #203, separate from the lock-scope change. The mapping path now checks the fence after each wake and confirms any outstanding marker before reusing the command list. I kept the native allocation test conditional on an available D3D12 adapter so CI can still run the injected failure cases.

**@⁠TaynanGT** on GitHub · 2026-11-27 09:12 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/200#issuecomment-7214411908) @⁠NotADonky43 I’ve put the mapping fix and your tests in #203, separate from the lock-scope change. The mapping path now checks the fence after each wake and confirms any outstanding marker before reusing the command list. I kept the native allocation test conditional on an available D3D12 adapter so CI can still run the injected failure cases.
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-27 09:40 UTC · original

@⁠NotADonky43 #203 is in main at 99a7f9b. All five focused tests passed here with the RTX 4090 required, including native D3D12 mappings and the injected cases for device removal, wait failure, stale wakes and recovery ordering.

**@⁠TaynanGT** on GitHub · 2026-11-27 09:40 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/200#issuecomment-7214958370) @⁠NotADonky43 #203 is in main at `99a7f9b`. All five focused tests passed here with the RTX 4090 required, including native D3D12 mappings and the injected cases for device removal, wait failure, stale wakes and recovery ordering.
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/TaynanGT--Vice-Tay#200
No description provided.