DirectStorage: name a refused factory IID in the log (#161) #167

Manually merged
github merged 1 commit from gh-pr/167/head into gh-pr/167/base 2026-11-26 04:13:24 +00:00
Owner

@⁠ryosen0 on GitHub · 2026-11-23 18:29 UTC · original
ryosen0:dstorage-refusal-warn → main · +32 −1 · 1 files · 1 commits · merged 2026-11-23 21:08 UTC

DStorageGetFactory answers E_NOINTERFACE for an unknown IID with no log line; the title then fails far away with
ax=0x80004002 and unknown_iids empty. #161 (item 1) asked for a WARN naming the refused IID.

Change: actory_qi logs the refused IID once through the existing warn_once, in the same style as the other DirectStorage refusals (EnqueueRequest, SwizzleMode, BCPack). No behavior change on the answered paths.

Test: _refused_factory_iid_returns_e_nointerface_and_clears_out — an unknown IID returns E_NOINTERFACE and clears the out pointer; both known factory IIDs ( b3b54ac…, 62959d11…) still answer S_OK. cargo test -p xcl --lib dstorage: 9 passed.

**@⁠ryosen0** on GitHub · 2026-11-23 18:29 UTC · [original](https://github.com/xcl-dev/xcl/pull/167) `ryosen0:dstorage-refusal-warn` → `main` · +32 −1 · 1 files · 1 commits · merged 2026-11-23 21:08 UTC DStorageGetFactory answers E_NOINTERFACE for an unknown IID with no log line; the title then fails far away with ax=0x80004002 and unknown_iids empty. #161 (item 1) asked for a WARN naming the refused IID. Change: actory_qi logs the refused IID once through the existing warn_once, in the same style as the other DirectStorage refusals (EnqueueRequest, SwizzleMode, BCPack). No behavior change on the answered paths. Test: _refused_factory_iid_returns_e_nointerface_and_clears_out — an unknown IID returns E_NOINTERFACE and clears the out pointer; both known factory IIDs ( b3b54ac…, 62959d11…) still answer S_OK. cargo test -p xcl --lib dstorage: 9 passed.
DStorageGetFactory answered E_NOINTERFACE silently; the title then failed far away with rax=0x80004002 and unknown_iids empty. Log the refused IID once (warn_once), mirroring the other DirectStorage refusals. Test: a refused IID clears the out pointer and returns E_NOINTERFACE; both known factory IIDs still answer.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:13:24 +00:00
github manually merged commit f13bc2e015 into gh-pr/167/base 2026-11-26 04:13:24 +00:00
Author
Owner

@⁠ivall on GitHub · 2026-11-23 21:09 UTC · original

Merged (main 6da33fa). Checked on an RX 9070 (RDNA4) with the 22 PRs merged together on main eaa36b6: cargo build --workspace && cargo test --workspace -- --test-threads=4 - 582 unit tests passed, 0 failed (20 ignored), the integration and e2e tests passed too; and the retail game still reaches its first menu (646 frames in 30 s, no device removal).

**@⁠ivall** on GitHub · 2026-11-23 21:09 UTC · [original](https://github.com/xcl-dev/xcl/pull/167#issuecomment-7114074581) Merged (main 6da33fa). Checked on an RX 9070 (RDNA4) with the 22 PRs merged together on main eaa36b6: `cargo build --workspace && cargo test --workspace -- --test-threads=4` - 582 unit tests passed, 0 failed (20 ignored), the integration and e2e tests passed too; and the retail game still reaches its first menu (646 frames in 30 s, no device removal).
This discussion has been locked. Commenting is limited to contributors.
No description provided.