XGameRuntime: stub XSpeechToTextSetPositionHint to return S_OK #1527
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1537"
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 Ayoub-devv on 2026-11-24T17:22:25Z.
What is in it
crates/xcl/src/hle/xgameruntime/api.rs: stubXSpeechToTextSetPositionHintto returnS_OKinstead ofE_NOTIMPL. This is a non-critical accessibility API (speech-to-text cursor positioning); returning success is a safe no-op that prevents titles from erroring on an unimplemented path.S_OKreturn value.Tested
cargo test -p xcl --lib xgameruntime: 73 passed, 0 failed, 0 ignored.Regression run
xcl-smoke v1
commit:
4178e888c0gpu: AMD Radeon RX 9070
title: game.exe
seconds: 60
exit: 0x0
frames shown: 1618 (PresentX 1618)
presents per 2 s (last 3): 61 60 60
device removals: 0
crashes: 0
peak commit: 14831 MB
xcl-smoke v1
commit:
cb18875423gpu: AMD Radeon RX 9070
title: game.exe
seconds: 60
exit: 0x0
frames shown: 1631 (PresentX 1632)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14813 MB
Not tested
AI use
Imported from ivall/xcl. Originally posted by copilot-pull-request-reviewer[bot] on 2026-11-24T17:22:34Z.
Review: COMMENTED
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
Imported from ivall/xcl. Originally posted by copilot-pull-request-reviewer[bot] on 2026-11-24T17:23:56Z.
Review: COMMENTED
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
Imported from ivall/xcl. Originally posted by copilot-pull-request-reviewer[bot] on 2026-11-24T17:24:56Z.
Review: COMMENTED
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
Imported from ivall/xcl. Originally posted by futurepro62 on 2026-11-24T18:32:39Z.
Full-suite run, since this PR has no test report yet. Tested exact head
cb18875(on its baseb7aa9f3).Tested
cargo build --workspace, thenXCL_REQUIRE_GPU=mesh cargo test --workspace -- --test-threads=4: 770 passed, 0 failed, 41 ignored. SKIPPED (no wave64):gpu_geometry_wave32_prefix_count_over_a_mask,gpu_wave32_program_in_wave64_hardware.#[test]functions in the diff.XCL_ADAPTER=radeon),cargo test --workspace -- --test-threads=4: 770 passed, 0 failed, 41 ignored, no skips.Not tested
AI use
Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-24T19:12:54Z.
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~21 ignored. (Intermittent single-test flake under parallel scheduling; clean on single-threaded rerun — same flake seen on unmodifiedmain.)Thanks!
Imported from ivall/xcl. Originally posted by Toons29 on 2026-11-24T21:43:09Z.
Regression run of
cb188754on the retail title, for this PR's Regression run section. Both blocks are fromscripts/smoke.ps1as printed, not edited:mainon4178e888, this PR on its head commit with no uncommitted changes, same title and time.Against the limits in CONTRIBUTING.md: 101 % of
main's frames, 100 % of its peak commit, no crash, no device removal.AMD Radeon RX 9070 (RDNA4, driver 32.0.32029.2010), Ryzen 7 7800X3D, 32 GB, Windows 11 build 26300, Rust 1.100.0,
cargo build --release -p xcl, 60 s,XCL_NETWORK=0. This is a regression check only: it does not show whether the run reaches the code this PR changes.AI use: Claude Code (Claude Opus 5.5) built both trees and ran
scripts/smoke.ps1; I checked the blocks before posting.Imported from ivall/xcl. Originally posted by JJAutoCompare on 2026-11-25T05:14:59Z.
Empirical test report (
cb188754)Hardware / environment
Windows 11 Enterprise Evaluation x64 build 26200.9974 on an AMD Ryzen 7 3800X. Intel Arc A770 16 GiB, driver 32.0.101.9175, unused by this CPU-only run. Commit
cb188754235430f77d3ada8078b27d5edebb1d1f.rustc 1.100.0 (0ef1bc386 2026-11-09)fromrustc --version.dxcompiler.dll: 1.9(5512-01b62ad4)(1.9.2609.5) - 1.9.2609.5 (01b62ad47)from& "$env:XCL_DXC_DIR\dxc.exe" --version.Commands and results
cargo test --workspace --no-runfinished with exit code 0. It compiled the workspace test binaries and ran zero tests. Cargo reported a deprecation warning forAtomicU32::fetch_update.XCL_ADAPTER=NONE_CPU_ONLYandRUST_TEST_NOCAPTURE=1,cargo test -p xcl --lib hle::xgameruntime::api::tests::xcl_xaccessibility_fallback_vtable_covers_captions_and_high_contrast -- --exact --nocapturefinished with exit code 0. The captured log reported 1 passed / 0 failed / 0 ignored / 0 skipped, with 742 tests filtered out. Both commands ran outsideInvoke-ArcTest.ps1without acquiring the Arc GPU mutex.Observed behavior
The built-in XAccessibility vtable returned
S_OKfrom slot 6 forXSpeechToTextSetPositionHint(0). The same test passed its caption enable and disable checks, high-contrast mode check, andQueryApiImplassertion. The runtime log showed that the query selected XCL's fallback.Not tested
Coverage was limited to workspace test compilation and the PR's focused CPU test. The full GPU workspace suite and game smoke runs were omitted.
AI use
Verified with T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high). Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified counts against
pr1537-focused.logand published.Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-11-28T20:18:09Z.
Nothing has happened on this PR for 3 days, so it is marked
staleand will be closed in 4 days. A push or a comment takes the mark off: rebase it ontomainif it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T06:01:34Z.
Triage (#1607) – head
cb18875No open or merged PR makes the same change; main's fallback XAccessibility object (
xcl_xaccessibility_object, api.rs) still leaves slot 6 at E_NOTIMPL. Small nit: the newspeech_to_text_set_position_hintis inserted between the doc comment ofxcl_xaccessibility_objectand that function, so the doc comment now documents the stub. The PR conflicts with main (that doc comment changed to mentionXCL_MUTE_TTS).Recommendation: keep open.
AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.