Repository navigation
Shaders: restore cached-only state after panic - #1960
mokkamokacaffe wants to merge 1 commit into
Conversation
|
Full-suite run, since this PR has no test report yet. Tested exact head Tested
Not tested
AI use
|
|
Linux (Wine) test of Setup: Fedora 44 (kernel 7.2.9), Wine 11.21 Staging, vkd3d-proton v3.1-90-g30b0eb9b, RTX 4070 12 GB (driver 615.71.09), Ryzen 9 9950X3D, 62 GB RAM. Release, cross-compiled to Tested
The tree with the change ran first. The steady rate is the same in both, and I read the 75-frame difference in the totals as start-up time (a guess; one run each). The exit code is the same in both; my reading is the kill that ends a run under Wine (137). Read
Not tested: Windows; AMD and Intel; the title past the start screen. AI use: Claude Code (Claude Fable 5.2) read the diff, built the tree, ran the tests and the regression pair, and wrote this comment. Posted without review by a person: the account owner was away and reads replies later. |
PR #1960 — Shaders: restore cached-only state after panicTested detached commit Environment Windows 11 Enterprise Evaluation build 26200.9974, AMD Ryzen 7 3800X, Intel Arc A770 16 GiB, driver 32.0.101.9175. Wave range 8–32, Tested
Not tested Retail-title smoke runs, a AI use T3 Code / Codex ( |
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
|
Tested
Not tested
AI use OpenAI Codex (GPT-6, exact variant not exposed in this session) reviewed the exact diff, ran the focused suite and workspace build, checked the logs, and drafted this report. |
Addresses #1896 item 1 without overlapping the mesh deferral or timeout-worker work.
What is in it
CACHED_ONLYtoggling with an RAII guard that restores thread-local state during normal return and stack unwinding.false, so nested cached-only probes remain inside their outer scope.Tested
git diff --check: passed.The current Linux workspace does not contain Cargo/Rust, so the Rust tests were not run here.
Regression run
Not run: this shader-compilation runtime change needs paired Windows/GPU smoke runs on the exact head and a commit of
main. Please applytest-onlyuntil matchingxcl-smoke v1blocks are available.main:
Pending for
62265d3or a newer commit ofmain.PR:
Pending for
f48d2ff8688604364df799dd76998fd1583367cb.Not tested
AI use
OpenAI Codex refreshed #1269, current
main, open issues and newly opened PRs; isolated the unclaimed panic-safety part of #1896; implemented the RAII restoration and nesting tests; and performed source-level/diff validation. No hardware or generated test results are claimed.