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

Merged
ryosen0 merged 1 commit from upstream-pr/167 into main 2026-11-23 21:08:36 +00:00
ryosen0 commented 2026-11-23 18:29:59 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by ryosen0 on 2026-11-23T18:29:59Z.


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.

<!-- greyfinch-sync:ivall/xcl:issue:6566125165 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/167). Originally posted by [ryosen0](https://github.com/ryosen0) on 2026-11-23T18:29:59Z. --- 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.
upstream-sync closed this pull request 2026-11-24 06:57:28 +00:00
ivall commented 2026-11-24 07:04:20 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by ivall on 2026-11-23T21:09:08Z.


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

<!-- greyfinch-sync:ivall/xcl:comment:7114074581 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/167#issuecomment-7114074581). Originally posted by [ivall](https://github.com/ivall) on 2026-11-23T21:09:08Z. --- 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 in to join this conversation.
No reviewers
No labels
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.

Reference
xcl-dev/xcl!164
No description provided.