DirectStorage: name a refused factory IID in the log (#161) #164
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/167"
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?
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.
upstream-sync referenced this pull request2026-11-24 06:58:21 +00:00
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 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).