Repository navigation
fix(shader): trace whole-quad masks through descriptor phis - #14830
Conversation
MarcZX10
left a comment
There was a problem hiding this comment.
Reviewed — no blocking findings
The WqmU64 provenance change is supported by the exact-head GPU evidence in the attached artifact; required hosted build jobs are still pending, so this is a comment rather than an approval.
What I ran
Reviewed head c39c4178055b0fb60c7193b0947f624f0366c98a against base f2d874c1fdccf781c0fa5d86619bb5dd8894b958; the merge preview is clean. Environment: Debian GNU/Linux 12, Python 3.11.2, Git 2.39.5. I did not build or run the GPU tests locally.
git diff --check f2d874c1fdccf781c0fa5d86619bb5dd8894b958...c39c4178055b0fb60c7193b0947f624f0366c98a
python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 14830
curl -fsSL <artifact URL> -o /tmp/descriptor-web-wqm-linux-20261101.tar.gz
sha256sum /tmp/descriptor-web-wqm-linux-20261101.tar.gz
sha256sum -c SHA256SUMSResults
| Check | Result | Note |
|---|---|---|
| Diff and conventions | passed | No whitespace errors; conventions passed |
| Source and test review | passed | WQM follows control-mask provenance; user-data-only WQM remains rejected |
| Author GPU artifact | passed | Digest and source hashes match; baseline 0/2, PR 2/2 |
| Hosted checks | pending | Windows and relinker jobs are still running or queued |
| Local build and GPU run | not run | Not run independently here |
| Precheck helper coverage | not run | ABI and test-quality helpers are absent from the isolated PR snapshot |
Commands and raw results
git diff --check ...: no output; exit status 0. The precheck reported All conventions checks passed. It also reported the ABI and test-quality helpers missing from its isolated PR snapshot; these are local review helpers and their absence is not a PR defect. Its stack report said PR #14830: clean against current base and No declared PR dependencies were found.
The downloaded artifact SHA-256 was:
87600cf263e570eeba3c893a57980ef742ee5595e89db42de9a8f8ad8ed1949a /tmp/descriptor-web-wqm-linux-20261101.tar.gz
sha256sum -c SHA256SUMS reported OK for every included file. Its gate records say:
main: head=f2d874c1fdccf781c0fa5d86619bb5dd8894b958; exit=8; summary=0% tests passed, 2 tests failed out of 2; Khronos instance/device inserted=True/True; VUID count=0
change: head=c39c4178055b0fb60c7193b0947f624f0366c98a; exit=0; summary=100% tests passed out of 2; Khronos instance/device inserted=True/True; VUID count=0
The artifact's SHA-256 values for ResourceTracker.cpp, ShaderMemory.cpp and DescriptorWebFaults.cpp matched the blobs at this exact head. These GPU results are author-supplied evidence; I inspected the included gate records and logs but did not reproduce the build or run.
Hosted checks at the final refresh: conventions pass, intake pass, labels pass, library-portability pass, relinker-asan pass; Windows and three relinker jobs pending; Linux, register-context and write-watch skipped.
Negative control
The author-supplied baseline run used the pre-change source with the new fixtures: both focused tests failed (0 skipped). The exact-head run passed both. I did not independently mutate the PR source or rerun either case.
Findings
Blocking
None found in the reviewed three-file diff.
Non-blocking
The remaining Windows and relinker hosted jobs must finish before approval; their results may change the review outcome.
Sources
- ResourceTracker change at the reviewed head
- Planner regression cases at the reviewed head
- GPU regression cases at the reviewed head
- Author-provided test artifact, SHA-256
87600cf263e570eeba3c893a57980ef742ee5595e89db42de9a8f8ad8ed1949a
Not verified
I did not independently build or run the GPU tests, verify on another GPU/driver, test a console or title, or run complete Windows/macOS builds. The full-stack combinations of the 32 older conflicting branches identified by the author's overlap scan are not qualified by this review.
To get this to a good state
No code change is requested. Once the pending hosted jobs finish, I will re-check their results on this head; if the head changes, I will rerun the relevant checks against the new SHA.
Correction — reproducible artifact commandsThe review’s command block used a placeholder URL; these are the exact download and checksum commands I ran. curl -fsSL 'https://github.com/JJenkx/AnyPS5/releases/download/linux-validation-20261023/descriptor-web-wqm-linux-20261101.tar.gz' -o /tmp/descriptor-web-wqm-linux-20261101.tar.gz
sha256sum /tmp/descriptor-web-wqm-linux-20261101.tar.gz
mkdir -p /tmp/descriptor-web-wqm-artifact && tar -xzf /tmp/descriptor-web-wqm-linux-20261101.tar.gz -C /tmp/descriptor-web-wqm-artifact && cd /tmp/descriptor-web-wqm-artifact/descriptor-web-wqm-linux-20261101 && sha256sum -c SHA256SUMS |
|
Thanks for the focused fix: letting Please drop or replace the new exception assertion at Reviewed at |
|
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
|
✅ NVIDIA GPU test: passedPR head
Unstable on main (4, these also failed in recent main runs on this machine; not counted against this PR)Failing on main too (4, not counted against this PR)Validation IDs already present on main (5 IDs in 484 tests)Skipped (46)ReproduceAutomated build and test on a contributor's NVIDIA machine; it does not replace upstream CI. A new comment is posted for each new push. Full logs. |
MarcZX10
left a comment
There was a problem hiding this comment.
Re-checked — same head, changes requested
I missed a new planner test that asserts an internal failure caused by the still-unsupported WqmU64 rematerializer instead of directly checking the intended provenance property.
What I ran
Re-checked head c39c4178055b0fb60c7193b0947f624f0366c98a against base f2d874c1fdccf781c0fa5d86619bb5dd8894b958. Linux x86_64; read the exact test, planner path, runtime-op predicate, review thread and hosted check state. No build or tests were run in this corrective pass.
gh api repos/boykopovar/AnyPS5/pulls/14830 --jq '[.state,.head.sha,.base.sha] | @tsv'
gh pr checks 14830 --repo boykopovar/AnyPS5
git show refs/review/inspect/14830-20261101T2001Z:core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
git show refs/review/inspect/14830-20261101T2001Z:core/shader/recompiler/Optimization/src/ResourceTracker.cppResults
| Check | Result | Note |
|---|---|---|
| Exact head | passed | Unchanged |
| New planner assertion | failed | It pins an incidental unsupported-op error |
| Hosted Windows and Linux relinker | passed | These are not the focused GPU tests |
| Hosted macOS relinker | not run | Two jobs remain pending |
| Local build and GPU tests | not run | No compilation in this pass |
Unedited hosted-check output
linux skipping 0 https://github.com/boykopovar/AnyPS5/actions/runs/41340263551/job/124948597195
register-context skipping 0 https://github.com/boykopovar/AnyPS5/actions/runs/41340263551/job/124948597788
relinker (macos-latest, clang++) pending 0 https://github.com/boykopovar/AnyPS5/actions/runs/41340263551/job/124948596308
relinker (ubuntu-latest, g++) pass 4m20s https://github.com/boykopovar/AnyPS5/actions/runs/41340263551/job/124948596323
windows pass 4m16s https://github.com/boykopovar/AnyPS5/actions/runs/41340263551/job/124948596255
write-watch skipping 0 https://github.com/boykopovar/AnyPS5/actions/runs/41340263551/job/124948597680
relinker (windows-latest, g++) pass 9m29s https://github.com/boykopovar/AnyPS5/actions/runs/41340263551/job/124948596267
library-portability pass 1m45s https://github.com/boykopovar/AnyPS5/actions/runs/41340263663/job/124948563092
relinker-asan pass 2m30s https://github.com/boykopovar/AnyPS5/actions/runs/41340263551/job/124948596227
eligibility pass 5s https://github.com/boykopovar/AnyPS5/actions/runs/41340263551/job/124948563115
report pass 1m28s https://github.com/boykopovar/AnyPS5/actions/runs/41340263574/job/124948562940
labels pass 7s https://github.com/boykopovar/AnyPS5/actions/runs/41340263596/job/124948564286
intake pass 4s https://github.com/boykopovar/AnyPS5/actions/runs/41340263780/job/124948565087
conventions pass 17s https://github.com/boykopovar/AnyPS5/actions/runs/41340263726/job/124948564457
relinker (macos-latest, clang++, x86_64) pending 0 https://github.com/boykopovar/AnyPS5/actions/runs/41340263551/job/124948596359
open c39c4178055b0fb60c7193b0947f624f0366c98a f2d874c1fdccf781c0fa5d86619bb5dd8894b958
Negative control
Not run. The assertion is in a C++ test that requires a build; no test binary was available in this pass.
Findings
Blocking
ShaderMemory.cpp expects GetResourcePlan to fail with “not a valid runtime value” for a descriptor containing WqmU64 derived from user data. At this head, WqmU64 is specially traversed only by HoldsControlValue; the runtime-op predicate and Rematerialize still reject it, so planning fails before this assertion demonstrates that user data was not treated as control provenance. This locks an incidental unsupported-operation error into the test and can fail when runtime rematerialization is correctly extended. Please replace it with a direct provenance assertion or another test that distinguishes user-data origin without depending on this planner error.
Non-blocking
None.
Sources
- New planner failure assertion at this head
- The new
WqmU64provenance traversal at this head Rematerializestill rejects operations outside the runtime-uniform set- Planner reports that rejection as an invalid runtime value
- Runtime-uniform opcode predicate at this head
Not verified
No local build or GPU run was performed. The PR description reports matched main/change validation-layer tests on an AMD RX 6650 XT; I did not independently reproduce those captures. The two macOS relinker checks remain queued.
To get this to a good state
Replace the planner-error assertion with a direct test of the provenance distinction, then rerun the same build and focused tests on the updated head.
c39c417 to
e236db5
Compare
|
Removed the three-line Rebased onto current main |
MarcZX10
left a comment
There was a problem hiding this comment.
Reviewed — no blocking findings
The new head removes the planner assertion that pinned an internal error, and the descriptor-phi folding cases now cover the whole-quad mask. One negative property is no longer tested, which is recorded as non-blocking. Approval waits for the macOS relinker jobs, which were queued at review time.
What I ran
- Head
e236db5e701e21f554298fb92306be8e8c655db1; basee0caf13600. 3 files, +14/-2 against the base:ResourceTracker.cpp(1/1),ShaderMemory.cpp(2/1 net),DescriptorWebFaults.cpp(11/0). Two commits since the previously reviewed headc39c417805:21d01bbc26(the tracker change and the new tests) ande236db5e70(removes one planner assertion). I read the whole diff. - The tracker change (
ResourceTracker.cpplines 1384-1398) letsWqmU64pass through the control-value walk, the same wayCompositeExtractU32x4and the runtime-uniform ops already do, so a whole-quad mask derived from a control mask can be recognised as a control value. - The previously requested change (from another reviewer, on
c39c417805) was that the planner test pinned an internal failure of the unsupportedWqmU64rematerialiser.e236db5e70removes theexpectFailurefor the whole-quad case that used "GetImageResource dword 0 is not a valid runtime value". - Non-blocking: that same removal also removes the only assertion that a whole-quad expansion without a control-mask origin is not planned. The new folding cases check that the masked loop folds and faults, but not that an uncontrolled mask is rejected. A replacement that checks the provenance rule directly, rather than an internal error, would restore that coverage.
- Hosted, queried at this head before writing this table: conventions, eligibility, labels, library portability, report, windows, and the relinker jobs on ubuntu (g++ and asan) and windows (g++) passed; linux, register-context and write-watch skipped; the two macOS relinker jobs queued.
- Precheck report at this exact head (head and base unchanged at completion). Its ABI and test-quality rows failed because their helpers are not in the head tree; the PR changes no export.
Results
| Check | Result | Note |
|---|---|---|
| Diff check | passed | |
| Conventions and PR template | passed | precheck and hosted conventions passed |
| Mergeability and dependencies | passed | depends on none |
| Tracker change | passed | WqmU64 is traced the same way as the other pass-through ops |
| Removed internal-error assertion | passed | the pinned internal error is gone |
| Negative provenance coverage | not run | the uncontrolled whole-quad rejection is no longer asserted (non-blocking) |
GPU execution test (DescriptorWebFaults.cpp) |
not run | needs a GPU; the author's GPU runs are not verified here |
| Build and runtime tests | not run | no build |
| Negative controls | not run | no build |
| Hosted CI | not run | windows and the ubuntu and windows relinker jobs passed; the two macOS relinker jobs queued |
Commands and unedited precheck output
Commands:
- Precheck:
python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 14830 --output-dir <scratch>/precheck/14830(report.md in that directory). - Delta since the previous review:
git diff c39c4178055b0fb60c7193b0947f624f0366c98a e236db5e701e21f554298fb92306be8e8c655db1. - Hosted checks:
gh api repos/boykopovar/AnyPS5/commits/e236db5e701e21f554298fb92306be8e8c655db1/check-runs.
Precheck table (unedited):
| Check | Status | Command / reason |
|---|---|---|
| build_and_compile | not_applicable | The precheck deliberately does not configure, build, or compile AnyPS5. |
| diff_check | passed | git diff --check e0caf1360035286bd22b9f2a3030e97b880ffb28...e236db5e701e21f554298fb92306be8e8c655db1 |
| conventions_and_pr_template | passed | /marc/Conlyse-VIEJO/.venv/bin/python3 tools/check_conventions.py --base e0caf1360035286bd22b9f2a3030e97b880ffb28 --head e236db5e701e21f554298fb92306be8e8c655db1 --title fix(shader): trace whole-quad masks through descriptor phis --body /dev/shm/reviewer-run/precheck/14830/pr-body.md |
| changed_export_abi_audit | failed | /marc/Conlyse-VIEJO/.venv/bin/python3 tools/pr_abi_audit.py --base e0caf1360035286bd22b9f2a3030e97b880ffb28 --head e236db5e701e21f554298fb92306be8e8c655db1 --json |
| python_syntax | not_applicable | No changed Python implementation files. |
| related_python_unit_tests | not_applicable | No changed tools/ module has an existing sibling tools/tests/test_<module>.py suite. |
| python_test_registration | not_applicable | No changed test_*.py files. |
| live_dependency_and_mergeability_check | passed | /marc/Conlyse-VIEJO/.venv/bin/python3 /marc/AnyPS5/tools/pr_stack_check.py 14830 --repo boykopovar/AnyPS5 --output-dir /dev/shm/reviewer-run/precheck/14830/stack |
| build_dependent_cpp_tests | not_applicable | Not run: C++ tests need exact-head binaries, which require a build; the precheck does not build. |
| test_quality_heuristics | failed | /marc/Conlyse-VIEJO/.venv/bin/python3 /dev/shm/reviewer-run/precheck/14830/head-e236db5e701e-1de54405/tools/pr_test_quality.py --root /dev/shm/reviewer-run/precheck/14830/head-e236db5e701e-1de54405 --json core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp core/libs/prx/libSceAgcDriver/tests/execution/DescriptorWebFaults.cpp core/shader/recompiler/Optimization/src/ResourceTracker.cpp |
| negative_controls | not_applicable | No changed Python test module in tools/ can be run as a no-build base-source control. |
Negative control
Not run here. The planner test and the GPU test need a build and a GPU.
Findings
Blocking
None.
Non-blocking
- After
e236db5e70, no test asserts that a whole-quad expansion without a control-mask origin is rejected. Please add that check back in a form that tests provenance (the planner should refuse the uncontrolled mask for that reason), rather than an internal error.
Sources
- Tracker change:
AnyPS5/core/shader/recompiler/Optimization/src/ResourceTracker.cpp
Lines 1384 to 1398 in e236db5
- Planner tests:
AnyPS5/core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
Lines 5482 to 5503 in e236db5
- GPU test:
AnyPS5/core/libs/prx/libSceAgcDriver/tests/execution/DescriptorWebFaults.cpp
Lines 232 to 245 in e236db5
Not verified
- No build or test run here, and the GPU test was not run.
- Whether the planner rejects the uncontrolled whole-quad case for the intended reason at this head was not traced.
- The macOS relinker jobs had not finished at review time.
To get this to a good state
- Add back a provenance assertion for the uncontrolled whole-quad mask (non-blocking). Approval waits for the macOS relinker jobs on this head.
|
Windows GPU check of head
|
|
Addressed the nonblocking direct-provenance coverage request in review5729999743. New exact head: The existing bounded The direct IR assertions check Qualification, Release/SPIRV-Tools ON, AMD Radeon RX 6650 XT / RADV Mesa 26.2.6 / Linux 7.2.11-arch1-1:
Evidence: frozen source, raw paired logs, mutation failures and restored hashes (SHA-256 |
✅ NVIDIA GPU test: passedPR head
Unstable on main (3, these also failed in recent main runs on this machine; not counted against this PR)Failing on main too (3, not counted against this PR)Validation IDs already present on main (5 IDs in 484 tests)Skipped (45)ReproduceAutomated build and test on a contributor's NVIDIA machine; it does not replace upstream CI. A new comment is posted for each new push. Full logs. |
MarcZX10
left a comment
There was a problem hiding this comment.
Reviewed — no blocking findings; the shader and SRT tests passed on Windows, and the descriptor web-fault checks did not run
This PR moves HoldsControlValue out of ResourceTracker into a shared predicate in SrtInstructionPredicates.cpp, and adds WqmU64 to the opcodes it traces through. The move is mechanical. The new opcode changes which whole-quad masks count as control values. I read the production change in full. The Windows run passed agc_shader_memory and agc_shader_srt_read_patching, but the new whole-quad checks are in an execution test that Windows does not run.
What I ran
- Head
6c10eaa9585ebe01e2b0656f1cd0f415d4f83370; basee0caf1360035286bd22b9f2a3030e97b880ffb28. 5 files, +72/-39:SrtWalker/SrtInstructionPredicates.cpp(+41),Optimization/src/ResourceTracker.cpp(-39),SrtInstructionPredicates.hpp(+1),libSceAgcDriver/tests/ShaderMemory.cpp(+19) andtests/execution/DescriptorWebFaults.cpp(+11). - Read the production change in full: the removed static member and its recursive helper, the free function in
Detail, the one new opcode case (value->Opcode() != IrOpcode::WqmU64), and the changed call site. - Test changes: read the three added
Requirechecks inDescriptorWebFaults.cppby their messages.ShaderMemory.cpp(+19) was not read. DescriptorWebFaults.cppis one of thetests/execution/*.cppfiles that the build globs (CMakeLists.txtline 556). Windows builds it as a skip stub unless it is listed inANYPS5_AGC_EXECUTION_TESTS, and the Windows list isF16ToF32Unpack;F64FmaSubnormals;RegistrationPrepareShutdown.- Hosted, Windows CTest: 21 of 21 passed.
agc_shader_memory(Test #1918) andagc_shader_srt_read_patching(Test #1902) passed. No case forDescriptorWebFaultsappears in the run. - Read-only checks from the trusted main checkout: diff check and conventions passed. ABI audit not applicable. Stack check: clean, no declared dependencies, no errors.
- No MarcZX10 review at this head.
Results
| Check | Result | Note |
|---|---|---|
| Diff check | passed | |
| Conventions and PR template | passed | conventions check from the main checkout |
| Mergeability and dependencies | passed | stack check: clean; no declared dependencies |
| ABI audit | not applicable | no export changed |
agc_shader_memory (hosted, Windows) |
passed | Test #1918 |
agc_shader_srt_read_patching (hosted, Windows) |
passed | Test #1902 |
Moved HoldsControlValue and the WqmU64 case (read) |
passed by reading | the move is mechanical; no blocking defect found in the read |
Whole-quad checks in DescriptorWebFaults.cpp (hosted, Windows) |
not verified | an execution stub on Windows; no case in the run |
ShaderMemory.cpp additions |
not verified | not read |
| Relinkers, relinker-asan and library-portability (hosted) | passed | all succeeded |
| Negative controls | not run | no local build |
Read-only check output
Precheck was not run: no PR-head code is run here. Diff check: passed. Conventions: passed. ABI audit: not applicable. Stack check: clean, no declared dependencies, no errors. Hosted: gh api repos/boykopovar/AnyPS5/commits/6c10eaa9585ebe01e2b0656f1cd0f415d4f83370/check-runs, and the Windows job log (21 of 21).
Negative control
Not run here. A negative control needs a local build and run of the shader tests, and code from this head is not run here.
Findings
Blocking
None from the code read.
Non-blocking
WqmU64now counts as a control value that the walk traces through. The walk treats only runtime-uniform values this way, so the change assumes a whole-quad mask is uniform for every use that reaches it. That assumption is not verified here. The new checks inDescriptorWebFaults.cppare the stated evidence, and they did not run on Windows.
Sources
- Shared predicate: https://github.com/boykopovar/AnyPS5/blob/6c10eaa9585ebe01e2b0656f1cd0f415d4f83370/core/shader/recompiler/Optimization/src/SrtWalker/SrtInstructionPredicates.cpp
- Call site: https://github.com/boykopovar/AnyPS5/blob/6c10eaa9585ebe01e2b0656f1cd0f415d4f83370/core/shader/recompiler/Optimization/src/ResourceTracker.cpp
- Execution test: https://github.com/boykopovar/AnyPS5/blob/6c10eaa9585ebe01e2b0656f1cd0f415d4f83370/core/libs/prx/libSceAgcDriver/tests/execution/DescriptorWebFaults.cpp
- Windows job log: check-run
windowson 6c10eaa
Not verified
- The whole-quad checks in
DescriptorWebFaults.cpp(execution stub on Windows, no case in the run). - The
ShaderMemory.cppadditions. - That a whole-quad mask is uniform for every use the walk reaches.
To get this to a good state
- Run
DescriptorWebFaultsat this head on a host that builds the execution tests, or add it to the Windows execution list. Nothing else blocking.
|
@MarcZX10 The exact-head Linux execution evidence already covers the requested compiled-host alternative: qualification for This is Linux evidence; the hosted Windows execution-list limitation remains as you described. No additional source change or run is claimed. This also supplies the execution qualification for your earlier change request on this head; please re-review when available. AI-assisted: yes (Codex). |
# Conflicts: # core/shader/recompiler/Optimization/src/ResourceTracker.cpp
|
Merged current What the conflict was: #12132 (merged on Resolution: the shared predicate is now Tested on the merge head (Release, AMD Radeon RX 6650 XT, RADV Mesa 26.2.6, Linux 7.2.11):
AI-assisted: yes. |
✅ NVIDIA GPU test: passedPR head
Unstable on main (2, these also failed in recent main runs on this machine; not counted against this PR)Failing on main too (2, not counted against this PR)Validation IDs already present on main (4 IDs in 517 tests)Skipped (48)ReproduceAutomated build and test on a contributor's NVIDIA machine; it does not replace upstream CI. A new comment is posted for each new push. Full logs. |
|
Checked the |
What
The descriptor-merge analysis recognizes program-counter, EXEC and ballot values in an arm that is not a reconstructible texture descriptor. It traces those origins through uniform operations, but stopped at
WqmU64. A whole-quad expansion of an EXEC/lane mask therefore blocked the complete descriptor merge during preparation, including its valid texture arms.Traverse
WqmU64when checking control-mask provenance. The original input must still trace to a recognized control value; this does not classify every whole-quad expression as a mask. The existing behavior remains: selecting a valid arm reads its texture, selecting the mask arm raises a descriptor fault at the read, and disabled lanes neither fault nor write.Evergate PPSA01886's private request after #14822 exposed this omission. An offline trial gets past the whole-quad-mask rebuild refusal and reaches a separate buffer-read rematerialization refusal. No additional native launch or title-level gain is claimed for this change.
Tested
Earlier qualification of committed head
e236db5e701e21f554298fb92306be8e8c655db1, rebased directly on maine0caf1360035286bd22b9f2a3030e97b880ffb28; independent of #14822 and #14636.AMD Radeon RX 6650 XT, RADV Mesa 26.2.6, Arch Linux 7.2.11, Khronos validation 1.4.363. Same focused CTest selection on main production plus the new fixtures and on this commit:
ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation ctest --test-dir build -R '^agc_(shader_memory|driver_descriptor_web_faults)$' -VBuild/test logs, exact-head receipt and source diff, SHA-256
f4d4104b7d6bf59e1293b3d724afc55fe9546a6d220211b13be3d17ecbe080be. Synthetic source and tests only; no proprietary game assets, requests or saves.Direct provenance follow-up (2026-11-01)
Addressed the nonblocking direct-provenance coverage request in review5729999743. New exact head:
6c10eaa9585ebe01e2b0656f1cd0f415d4f83370, a focused follow-up toe236db5e701e21f554298fb92306be8e8c655db1.The existing bounded
HoldsControlValuetraversal now lives in the existing internalShaderRecompiler::Detailinstruction-predicate module, and the descriptor tracker calls that same production predicate with its unchanged depth 8 bound. Its traversal is unchanged after whitespace/name normalization. No public or test-onlyResourceTrackerAPI was added.The direct IR assertions check
WqmU64(GetExec)has a control origin andWqmU64of user-data-only words does not. They neither call the rematerializer nor expect a planner exception, so future WQM rematerialization can be implemented without changing their contract. Existing planner and GPU output/fault/disabled-lane cases remain.Qualification, Release/SPIRV-Tools ON, AMD Radeon RX 6650 XT / RADV Mesa 26.2.6 / Linux 7.2.11-arch1-1:
agc_shader_memoryandagc_driver_descriptor_web_faultsselection on current main93dbd0f82aea684e95f15f06e7d42c0064af18cfand the exact change: main 2/2, change 2/2, 0 VUIDs, 0 skips, no missing-layer message. The physical descriptor execution case actually inserts Khronos; the shader-memory group is CPU. This current-main control is unmodified main; the earlier main-plus-new-fixtures negative remains separately pinned historical evidence.Evidence: frozen source, raw paired logs, mutation failures and restored hashes (SHA-256
5639dd666ace9cf200e3ecedfe26156cdf104fa0a2a716efbf06ffced283d5aa, downloaded bytes and internal manifest verified).AI-assisted: yes.
Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)