DirectStorage: name a refused factory IID in the log (#161) #167
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!167
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/167/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@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 UTCDStorageGetFactory 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.
@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 maineaa36b6: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).