Skip to content

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

Merged
ivall merged 1 commit into
xcl-dev:mainfrom
ryosen0:dstorage-refusal-warn
Nov 23, 2026
Merged

ivall merged 1 commit into
xcl-dev:mainfrom
ryosen0:dstorage-refusal-warn

Conversation

@ryosen0

@ryosen0 ryosen0 commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

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.
@ivall

ivall commented Nov 23, 2026

Copy link
Copy Markdown
Collaborator

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants