Shaders: infer double extensions from emitted instructions #1544
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!1544
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1544"
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?
@Roroca-1 on GitHub · 2026-11-24 17:28 UTC · original
Roroca-1:dxil-opt-1-prep→main· +23 −2 · 2 files · 1 commits · draftPart of #1269. After the optimizer removes an unreachable block, its instructions still exist in the arena. A discarded int-to-double conversion could therefore set DoubleExtensions in the shader flags. Based on main after #1426.
What is in it
module.rs. Exercise the production optimizer on an unreachable conversion. Bump the direct translator cache version to 5 inkernel.rs.Tested
593c65b.TARGET_CFLAGS=/FIstring.h cargo xwin build --tests -p xcl --target x86_64-pc-windows-msvcsucceeded.wine xcl-67594ede252ac8b9.exe unreachable_conversion_does_not_require_double_extensions --nocaptureran 1 passed, 0 failed, 0 ignored, 0 skipped. With the test alone onc160d86, the post-optimization assertion failed.Regression run
Pending paired clean main/head retail-title runs.
Not tested
Native Windows GPU workspace suite, DXIL validation, retail title.
AI use
T3 Code (Codex, gpt-6.2-astra) rebuilt the original scan fix against main, wrote the regression test and ran it under Wine. The initial fix was prepared with T3 Code (Antigravity, gemini-pro-orchestrator-neon).
@DavidM1911 on GitHub · 2026-11-24 19:12 UTC · original
Verification on RTX 3060 Ti (Windows 11): merge conflict with current
mainincrates/xcl/src/gpu/recomp/tests.rs— needs a rebase before it can be tested.@Toons29 on GitHub · 2026-11-25 03:33 UTC · original
Regression run of
593c65bfon 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.@DavidM1911 on GitHub · 2026-11-26 00:26 UTC · original
Re-verification on RTX 3060 Ti (Windows 11): still a merge conflict with current
mainon the new head — needs another rebase before it can be tested.View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.