VIctory e29391f, 13185f5 and 4fc9d70, by hand
16-bit interpolations write the half op_sel picks, with omod and clamp; the device says whether it was removed; detiling ends with its staging buffer. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
adb608af1f
commit
38410b88ab
4 files changed
+157
-2
No files matched your search
@@ -399,6 +399,19 @@ extern "system" fn unknown_pipeline<const SLOT: usize>(
|
||||
E_NOTIMPL
|
||||
}
|
||||
|
||||
/// The host device's state: the console's device is removed when the host's is
|
||||
/// (VIctory 13185f5: the default answer, E_NOTIMPL, reads as a lost device).
|
||||
extern "system" fn removed_reason(_: This) -> HRESULT {
|
||||
#[cfg(windows)]
|
||||
if let Some(host) = crate::host::host() {
|
||||
// SAFETY: a plain query.
|
||||
if let Err(e) = unsafe { host.device.GetDeviceRemovedReason() } {
|
||||
return e.code().0;
|
||||
}
|
||||
}
|
||||
S_OK
|
||||
}
|
||||
|
||||
/// IUnknown 3, object methods 4, device methods 76 (0x18-0x290), then the
|
||||
/// methods `ID3D12Device1` to `ID3D12Device8` add, in order: 3, 1, 3, 6, 9,
|
||||
/// 1, 2, 9 (0x298-0x3a0, the console's own among them), then those of
|
||||
@@ -431,6 +444,7 @@ static FUNCTIONS: Table<160> = {
|
||||
f[28] = resource::create_heap as *const (); // 0xe0
|
||||
f[29] = resource::create_placed as *const (); // 0xe8
|
||||
f[36] = fence::create as *const (); // 0x120
|
||||
f[37] = removed_reason as *const (); // 0x128
|
||||
f[38] = resource::copyable_footprints as *const (); // 0x130
|
||||
f[39] = query::create as *const (); // 0x138
|
||||
f[41] = signature::create as *const (); // 0x148
|
||||
|
||||
Reference in new issue
Block a user