Repository navigation
fix(agc): poison only the pointer-table records a dispatch writes - #22690
milescoviello wants to merge 11 commits into
Conversation
MarcZX10
left a comment
There was a problem hiding this comment.
Reviewed — looks good
The inspected changes implement per-record poisoning for eligible pointer tables and add focused tests; I found no verified blocking defect.
What I ran
Reviewed head 746802dc775456e2612ece8fc99bbbab4f8c425f using the prepared diff and repo_read.py for targeted source reads. No tests or build commands were run; test results in the PR description are author-reported.
Results
| Check | Result | Note |
|---|---|---|
| Diff and changed code | passed | Targeted source review completed |
| Build and tests | not run | PR reports passing tests |
| Negative control | not run | PR reports a failing negative control |
Findings
Blocking
None verified.
Non-blocking
None.
Not verified
Full text read for 9 of 10 changed files; ShaderResources.cpp was excluded from the prepared folder because of its size, so I read the relevant implementation range through repo_read.py. In total, all 10 changed files were read at least around their changed hunks; unrelated portions of large files were not read. Build, test, hardware, and console behavior were not independently verified.
To get this to a good state
Nothing is required.
|
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.
|
|
Ran the description's image table and disk-cache pattern with the Khronos validation layer on NVIDIA's proprietary Linux driver, since the description's Linux run has no layer. Setup: Arch Linux (kernel 7.3.4), GCC 16.2.1, Release, NVIDIA GeForce RTX 4090 (vendor
Main runs its own Negative control, as in the description: this PR's build with No new AI-assisted: yes (Claude Code) |
|
Thanks @domx4q for the validation-layer run on the 4090 and for repeating the negative control. I've added it to the Tested section, linked to your comment. |
746802d to
8b93371
Compare
boykopovar#22690 poisons only the records a dispatch's writes overlap for tables read through a 64-bit pointer. A table read through a buffer V# still took the whole-table fault, so a dispatch that writes elsewhere in the same V# faulted on every entry. A direct buffer column reads record k at base + ((addend + k * stride + immediate) & ~3). With a 4-byte-aligned stride, addend and immediate, no indirection, carried offsets or selected record, and no 32-bit wrap over the captured keys, that is start + k * stride, so the materializer records the same layout for it and finishImageTables poisons just the overlapping records. The shader takes a buffer table's map code only for a record below the key count, as for a pointer table. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
MarcZX10
left a comment
There was a problem hiding this comment.
Reviewed — no blocking findings
The diff and targeted source context at head 8b933712e66722046de813aa5c5697885c498640 support the per-record poisoning change; this review environment did not provide a way to run checks.
What I ran
Read the prepared description, commits, manifest, diff, and changed-file source ranges using the pinned reader. No tests or build commands were run.
Results
| Check | Result | Note |
|---|---|---|
| Diff and source review | passed | Changed behavior and cache wiring inspected |
| Build and tests | not run | No execution performed |
Findings
Blocking
None.
Non-blocking
None.
Not verified
The changed ShaderResources.cpp implementation and all other changed files listed as reviewed in the manifest were read at relevant ranges. The full contents of files marked included were not read; the code paths relevant to the diff were inspected. No build, automated tests, hardware behavior, or author-reported runs were independently verified. files.json was not available as a review document; the manifest and review-folder listing were used to identify exclusions. ShaderResources.cpp was excluded from the prepared full-text files because it was too large, and was read through the pinned reader around the changed function.
To get this to a good state
Nothing is required.
|
Head No new failures and no new validation messages on either GPU.
Layer runs used AI-assisted: yes |
|
Rebased onto
Thanks @Colewiz7 for the RADV run of this head on the RX 7900 XT and the 7800X3D iGPU: no new failures in the full suite and no |
|
Windows + AMD run on the AMD proprietary driver; the AMD run already in the comments is Linux + Mesa RADV. Head Setup: Windows 11 25H2 (build 26200), AMD Radeon 760M integrated graphics (
AI-assisted: yes (build and runs scripted with an AI assistant, on the hardware above). |
|
Thanks @rafaconvaitis for the Windows + AMD-driver run with the validation layer and the negative control. I've added it to the Tested section, linked to your comment, and the GPU to the GPUs tested line. |
8b93371 to
742d417
Compare
boykopovar#22690 poisons only the records a dispatch's writes overlap for tables read through a 64-bit pointer. A table read through a buffer V# still took the whole-table fault, so a dispatch that writes elsewhere in the same V# faulted on every entry. A direct buffer column reads record k at base + ((addend + k * stride + immediate) & ~3). With a 4-byte-aligned stride, addend and immediate, no indirection, carried offsets or selected record, and no 32-bit wrap over the captured keys, that is start + k * stride, so the materializer records the same layout for it and finishImageTables poisons just the overlapping records. The shader takes a buffer table's map code only for a record below the key count, as for a pointer table. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Rebased onto |
MarcZX10
left a comment
There was a problem hiding this comment.
Reviewed — no blocking findings
Nothing in the code I read shows a verified blocking defect; I could not complete a full review because the repository reader command was unavailable.
What I ran
- Target head:
742d417e294bb1b22a80984671f85585e16934dd. - Read the prepared description, commits, manifest and diff, plus targeted source ranges through the review reader.
- No tests or builds were run. The reader command was not available in this interface, so I could not run
repo_read.pyas requested.
Results
| Check | Result | Note |
|---|---|---|
| Prepared bundle review | passed | Diff and metadata read |
| Targeted source review | not run | Only selected ranges were accessible |
| Tests and build | not run | No commands ran |
Findings
Blocking
None verified in the code read.
Non-blocking
None.
Not verified
ShaderResources.cpp’s changed range, materializer logic, cache serialization, and relevant test ranges were read. The full changed-file set was not reviewed.files.jsonwas unavailable through the provided reader; the manifest identifies one excluded changed file:core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp(full text too large for the review folder). I read only lines 6810–6875 at the pinned head.- No tests, build, conventions check, merged-preview check, negative control, or hardware run was performed in this review. Reported runs in the description are author-supplied and were not independently verified.
To get this to a good state
Nothing is required. The implementation’s selective map poisoning appears consistent with the stated linear record layout for the inspected ranges; review the remaining changed code and run the relevant checks before treating this as a complete approval.
boykopovar#22690 poisons only the records a dispatch's writes overlap for tables read through a 64-bit pointer. A table read through a buffer V# still took the whole-table fault, so a dispatch that writes elsewhere in the same V# faulted on every entry. A direct buffer column reads record k at base + ((addend + k * stride + immediate) & ~3). With a 4-byte-aligned stride, addend and immediate, no indirection, carried offsets or selected record, and no 32-bit wrap over the captured keys, that is start + k * stride, so the materializer records the same layout for it and finishImageTables poisons just the overlapping records. The shader takes a buffer table's map code only for a record below the key count, as for a pointer table. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Pushed |
boykopovar#22690 poisons only the records a dispatch's writes overlap for tables read through a 64-bit pointer. A table read through a buffer V# still took the whole-table fault, so a dispatch that writes elsewhere in the same V# faulted on every entry. A direct buffer column reads record k at base + ((addend + k * stride + immediate) & ~3). With a 4-byte-aligned stride, addend and immediate, no indirection, carried offsets or selected record, and no 32-bit wrap over the captured keys, that is start + k * stride, so the materializer records the same layout for it and finishImageTables poisons just the overlapping records. The shader takes a buffer table's map code only for a record below the key count, as for a pointer table. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
MarcZX10
left a comment
There was a problem hiding this comment.
Reviewed — looks good
The reviewed changes appear sound at head 2e182729d04d674d982e42a4ee2eada1547ba721; no checks were run in this review, and author-reported test results were not independently verified.
What I ran
No commands or tests were run. I read the prepared diff and changed source through the pinned reader at the stated head.
Results
| Check | Result | Note |
|---|---|---|
| Source review | passed | Reviewed all changed lines and relevant source context. |
| Tests | not run | Test results in the description are author-reported. |
Findings
Blocking
None.
Non-blocking
None.
Not verified
- I did not run builds, tests, negative controls, or console and GPU checks.
- Changed files read:
ShaderResources.cpp,ShaderDiskCache.cpp(driver test),ImageTable.cpp,ResourcePlan.hpp,ResourceMaterializer.cpp,Recompiler.cpp,Recompiler.hpp,ShaderDiskCache.cpp(recompiler),ShaderDiskCache.hpp, andfix-agc-image-table-written-keys.md. - Excluded changed files: none.
ShaderResources.cppwas not present in the review folder but was read throughrepo_read.py. The remaining changed files were read from the review folder; their changed lines were reviewed.
To get this to a good state
Nothing is required.
MarcZX10
left a comment
There was a problem hiding this comment.
Reviewed — looks good
Nothing blocks this change; the inspected code supports per-record poisoning for eligible pointer tables and preserves whole-table faults for unsupported layouts.
What I ran
Reviewed head 19f7d4a0ab5839eb72a80a7246cf28dc76dff84a using the prepared diff and pinned reader. No build or tests were run; reported test results below are author-supplied.
Results
| Check | Result | Note |
|---|---|---|
| Code review | passed | Core changed paths inspected |
| Automated tests | not run | No commands run |
| Author-reported tests | passed | Targeted tests and negative controls reported |
Findings
Blocking
None.
Non-blocking
None.
Not verified
No files were excluded by rule. Read changed files: ShaderResources.cpp (changed hunk), ShaderDiskCache.cpp, ShaderDiskCache.hpp, ImageTable.cpp (changed hunks), ResourcePlan.hpp (changed hunk), ResourceMaterializer.cpp (changed hunk), Recompiler.cpp (changed hunk), Recompiler.hpp (changed hunk), ShaderDiskCache.cpp test (changed hunks), and fix-agc-image-table-written-keys.md. Other unchanged context and runtime behavior were not verified. The tests described in the PR body were not run by this review.
To get this to a good state
Nothing is required.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
New head |
MarcZX10
left a comment
There was a problem hiding this comment.
Reviewed — looks good
Nothing blocks approval; the reviewed changes correctly limit poisoning to overlapping pointer-table records where a supported linear layout is available.
What I ran
Reviewed head 0aaaa698c4a5d42a863c285f671aaad9bf391923. Read the prepared description, commit list, manifest, diff, and relevant changed code through repo_read.py; no build or tests were run in this review.
Results
| Check | Result | Note |
|---|---|---|
| Diff and changed-code review | passed | Targeted code paths inspected |
| Automated checks | not run | No commands or tests run |
Findings
Blocking
None.
Non-blocking
None.
Not verified
No tests were run here; author-reported tests and runtime results were not independently verified. Read: description.md, commits.md, manifest.json, diff.patch; changed code in ShaderResources.cpp, ImageTable.cpp, ResourceMaterializer.cpp, ImageTableAbi.hpp, Recompiler.cpp, Recompiler.hpp, ShaderDiskCache.cpp, and ShaderDiskCache.hpp. The full text of ShaderResources.cpp was excluded from the prepared review folder, so only the relevant range was read via repo_read.py. All changed files marked included in the manifest were not read in full.
To get this to a good state
Nothing is required.
|
The failing |
One conflict, FormatVersion: main moved to 99; this change keeps 104, which no other open pull request uses. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…en-buffer-keys Restacks on boykopovar#22690's merge of main; FormatVersion stays 104. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
New head |
MarcZX10
left a comment
There was a problem hiding this comment.
Reviewed — looks good
Nothing blocks this; the points below are optional.
What I ran
Reviewed head ee03b3fa16b922170513b846d22cfdd44cb69f07 using the pinned repo_read.py reader and the prepared diff. No tests or builds were run.
python3 repo_read.py cat <changed-path> <start> <end>
python3 repo_read.py search "imageTableRecords" core
Results
| Check | Result | Note |
|---|---|---|
| Changed source inspection | passed | All 10 reviewed files were read |
| Tests and build | not run | No local execution |
| Prepared review inputs | passed | No files excluded |
Negative control
Not run locally. The description reports prior negative-control runs; I did not independently verify them.
Findings
Blocking
None.
Non-blocking
None.
Sources
The changed code derives a linear record layout only for supported pointer-table columns, carries it through the invocation and disk cache, and poisons only overlapping keys when that layout is available. The overlap helper handles inclusive address-space ends. Implementation at the reviewed head · Record range helper and tests
Files read: core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp, core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp, core/libs/prx/libSceAgcDriver/tests/execution/ImageTable.cpp, core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/ResourcePlan.hpp, core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp, core/shader/recompiler/Recompiler.cpp, core/shader/recompiler/Recompiler.hpp, core/shader/recompiler/ShaderDiskCache.cpp, core/shader/recompiler/ShaderDiskCache.hpp, and docs/dev/debt/changes/fix-agc-image-table-written-keys.md. Excluded files: none.
Not verified
I did not run tests, builds, or hardware checks. Reported test and game runs in the PR description were not independently verified.
To get this to a good state
Nothing is required.
ligmaSec
left a comment
There was a problem hiding this comment.
Both image-table record-reuse CTests passed on main and aborted on the patched tree, including the narrow case. The scalar-buffer and shader-disk-cache controls passed on both trees. I used the same Linux lavapipe device with Vulkan required, shader cache disabled, and validation layer 1.4.369. Both logs show layer insertion and contain no missing-layer diagnostic or VUID- entry. The two aborts appeared without an assertion message in the CTest log.
AI-assisted: yes.
|
@ligmaSec thank you, that is the kind of report I want to see. I have not reproduced it yet. On the #22703 head Two things would help me match your run: was the patched tree this head as is, or merged with other open PRs, and does the test binary print anything to stdout or stderr before it aborts ( |
|
Follow-up on this head itself: I built |
|
Windows tester result at head
|
|
@B-Howell thank you, especially for the control and for running the two |
|
Tested
GPU (software Vulkan): 5 GPU tests (AGC, shader recompiler) passed twice on Mesa lavapipe (Mesa 25.2.8-0ubuntu0.24.04.5 (LLVM 20.1.2)) on a GitHub-hosted Ubuntu 24.04 runner, with the Khronos validation layer on and the shader cache off, alongside main Not covered: GPU hardware. lavapipe runs Vulkan on the CPU, so this says nothing about how real GPU drivers handle the changed paths. AI-assisted: yes (Claude Code); the runs are automated, this summary was written from their reports. |
|
@ycbuzi thank you for the run; it is in the Tested section now. |
# Conflicts: # core/shader/recompiler/ShaderDiskCache.hpp
MarcZX10
left a comment
There was a problem hiding this comment.
Reviewed — looks good
The reviewed changes at head c52fee17494b8b7b9f06987ce2f6305b28858afd consistently track overlapping pointer-table records through dispatch completion and disk-cache serialization; I found no verified defect.
What I ran
Read the prepared diff and manifest, then inspected the changed dispatch logic and its shader lookup context at the pinned head. I did not run tests or builds.
python3 repo_read.py cat core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp 7540 7620
python3 repo_read.py cat core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp 2550 2605
python3 repo_read.py cat core/shader/recompiler/ImageTableAbi.hpp 120 152
Reviewed the hunks for all 10 files listed under files.json → reviewed; files.json lists no excluded files. The full ShaderResources.cpp text was not in the review folder and was read through repo_read.py.
Results
| Check | Result | Note |
|---|---|---|
| Source review | passed | Dispatch poisoning, record lookup, and serialized layout are consistent |
| Tests and build | not run | No executable checks were run |
| Negative control | not run | The description reports author-run controls |
Findings
Blocking
None.
Non-blocking
None.
Sources
finishImageTablesat the reviewed head assigns poison codes to overlapping records when layout data is available and retains whole-table faults otherwise.LookupTableWordat the reviewed head uses the per-record map code only for aligned records below the captured key count.ImageTableRecordLayout::KeysOverlappingat the reviewed head clamps inclusive store ends and computes the affected key range.
Not verified
No tests, builds, hardware runs, or negative controls were performed for this review. Runtime claims and test results in the PR description are author-reported.
To get this to a good state
Nothing is required.
What
A dispatch that writes a buffer or storage image overlapping one of its image tables' read range sets that table's
TableFault, so selecting any entry faults (table written by its dispatch), even an entry whose record the write misses. The debt entry already says so.In Crimson Desert (PPSA25286) this hits pointer tables (a column read through a 64-bit address):
0x2151d4b5a0(the first record), lies 84 KiB before the first image.deferred write-back failed: ... table written by its dispatchlines per run, from up to a dozen shaders.The change:
start + k * stride,ResourceMaterializerrecords that layout (start, stride, record bytes) with the table snapshot. That covers a column with no indirection, pointer hops or carried offsets, a 4-byte-aligned stride and addend, and no 32-bit offset wrap over the captured keys.ShaderInvocationcarries the layouts asimageTableRecords.ShaderResources::finishImageTableswrites theHeapWrittenpoison into the map codes of just the records a written range overlaps, instead of the table'sTableFault. Any other entry still reads its snapshot descriptor. Tables without such a layout (buffer, nested and indirect tables) keep the whole-table fault.ImageTableRecordLayout::KeysOverlapping, which compares inclusive ends (a store's first and last byte against each record's last byte) instead of adding past them, so a store range that reaches the end of the 64-bit address space, or a record that starts at the last address, still poisons the records it overlaps (MarcZX10's reviews of fix(agc): poison only the buffer-table records a dispatch writes #22703).LookupTableWord:inMap = aligned && record < keys; otherwiseOutsideSnapshot). So the records outside the write are the descriptors they held when the dispatch started.FormatVersionmoves to 104 (mainwas at 97 then and is at 98 as of 11-27; every number from 96 to 103, and 108 and 110, is used by an open pull request).Tested
Linux (Ubuntu 26.04.1, kernel 7.0), GCC 15.2, Ninja, Release,
-DBUILD_TESTING=ON, RTX 4070 Ti on NVIDIA 615.71:main859a238b8, one run: 0deferred write-back failed: ... is written by its own dispatchlines in 206 s with 118 frames presented. Onmainthat day, runs that presented 45 frames or more logged 52 to 133 such lines, and runs stuck at 0 to 4 frames logged 2 to 8 (including round 108 on the samemain); details in fix(agc): poison only the buffer-table records a dispatch writes #22703's Tested. The run was killed at the 20 GiB memory cap, so no title progress is claimed.main3ff0401064asee03b3fa16. One conflict,FormatVersion:mainmoved to 99; this change keeps 104, which no other open pull request uses. Of the 36agc_driver_image_table*,agc_shader_memoryandagc_shader_disk_cache*tests, 35 pass in each of 3 runs. Theagc_shader_disk_cache_large_filetest fails in my batch environment, where the temporary directory is a RAM-backed/tmp(tmpfs, 5.96 GB free) inside a 12 GB memory scope and the 2 GiB write does not complete; withTMPDIRon a disk it passes (run on the fix(agc): poison only the buffer-table records a dispatch writes #22703 head, which contains this change).main4c7578e0a4as0aaaa698c4. One conflict,FormatVersion:mainmoved to 98; this change keeps 104. The 34agc_driver_image_table*,agc_shader_memoryandagc_shader_disk_cache*tests pass in each of 3 runs.main80781a0e94as19f7d4a0ab. One conflict, theRecompileResultsize check inShaderDiskCache.cpp: perf(agc): avoid heap allocations and atomic refcounts in draw resource key memo #27273 grew it from 560 to 568 bytes withdrawKeyMemo, which is not serialized, and this change adds 24, so the check is now 592, which the build confirms.FormatVersionstays 104. The 34agc_driver_image_table*,agc_shader_memoryandagc_shader_disk_cache*tests pass in each of 3 runs.mainc64b9d323finto the branch as8920a768b4. One conflict, inFormatVersion:mainmoved to 97 (perf(shader): keep specialized SPIR-V in the shader disk cache #26800) and the branch kept 100. Since fix(shader): sample a single-texel image with any sampler that keeps X and Y addressing inside #22602 and fix(shader): read a chased pointer's high word at its own offset #9749 now also use 100,06fae1ad18moves it to 104, which no open pull request uses. The 34agc_driver_image_table*,agc_shader_memoryandagc_shader_disk_cache*tests pass in each of 3 runs at8920a768b4, andagc_driver_image_tableandagc_shader_disk_cache*pass in each of 3 runs at06fae1ad18.mainef7dc4452das660f02cdd7. One text conflict, in the include list oftests/execution/ImageTable.cpp(mainadded<mutex>, this branch<limits>), kept both;FormatVersionstays 100 (mainis at 96 and no open pull request uses 100). The 33agc_driver_image_table*,agc_shader_memoryandagc_shader_disk_cache*tests pass in each of 3 runs (main33/33 once). Windows 11 VM (GeForce GT 1030, WinLibs GCC 16.2, Ninja, Release): the same set, 35 tests there, passes in each of 3 runs.main70602fcc03as74213a85f6. Two text conflicts withmain's pointer-keyed record tables (pointerKeyedinImageTableColumnSnapshotand inResourceMaterializer) are resolved by keeping both; a pointer-keyed column is always indirect, so it never takes this PR's linear record path.mainhad reached format 96, this branch's value, so the last commit moves it to 100. The 33agc_driver_image_table*,agc_shader_memoryandagc_shader_disk_cache*tests pass in each of 3 runs (main33/33 once). Windows 11 VM (GeForce GT 1030, WinLibs GCC 16.2, Ninja, Release): the same set, 35 tests there, passes in each of 3 runs.8021995a83(the fix above for the wrapping range):agc_driver_image_tablealso checksKeysOverlappingdirectly: a store over records 5 to 7 of 48-byte records gives keys 5 to 7, a store running past the top of the 64-bit address space gives the last record, and a store ending at the top gives all four. Linux (Ubuntu 26.04.1, GCC 15.2, Ninja, Release, RTX 4070 Ti on NVIDIA 615.71,ANYPS5_REQUIRE_VULKAN=1): the 33 tests of^(agc_driver_image_table.*|agc_shader_memory|agc_shader_disk_cache.*)$pass 3 runs. Negative control: with the old formula inKeysOverlapping,agc_driver_image_tablefails withimage table records: a store running past the top of the address space did not select the last record.2e182729d0(test only, MarcZX10's suggestion on fix(agc): poison only the buffer-table records a dispatch writes #22703): the same checks also cover records of zero bytes and a store past the last of 64 records, which both select no keys. The 33 tests pass 3 runs.db70e3dceb(MarcZX10's second review of fix(agc): poison only the buffer-table records a dispatch writes #22703):2e182729d0saturated the first record's exclusive end at the top of the address space, so a record starting at the last address looked empty. The range now uses inclusive ends, and the checks add a record at the last address with a one-byte store there and a store ending there (both select key 0). The 33 tests pass 3 runs. Negative control: with2e182729d0'sKeysOverlapping,agc_driver_image_tablefails withimage table records: a one-byte store at the last address did not select the record that starts there.agc_driver_image_tablegains two pointer-table cases next to the existing palette run (keys 0-2 select records 0-2):is written by its own dispatch.^(agc_driver_image_table.*|agc_shader_memory|agc_shader_disk_cache.*)$(33 tests) passes, 3 runs.agc_shader_disk_cachenow also compares the record layouts after its invocation round trip, and it passes too.main'sShaderResources.cppand the new test,agc_driver_image_tablefails withpointer image table: a store into entries no key of the dispatch selects faulted.Windows 11 (VM, GeForce GT 1030, WinLibs GCC 16.2, Ninja, Release,
ANYPS5_REQUIRE_VULKAN=1):agc_driver_image_tableandagc_shader_disk_cachepass 3 runs on this head746802dc77.Crimson Desert (PPSA25286), Linux, RTX 4070 Ti: offline (
APS5_NET_DISCONNECTED=1), 22G cap. One cold run (420 s) and one warm run (480 s) per arm, with a fresh shader cache per arm.bdd462ac3e(main604828bd44plus fix(shader): give converted image stores the cube-face mode again #22534 and feat(agc): draw into 2_10_10_10 UINT color targets #22609).5586c9c8d3(the same plus this change).table written by its dispatchfailuresThe screen is still the black loading screen with its spinner in every run. Present counts vary too much between Crimson Desert runs of the same build (2 to 19 in earlier warm runs) to read anything into them here, so I'm only claiming the faults are gone.
main1ccc399b17: the 33 image table, shader memory and disk cache tests pass on bothmainand this PR with noVUID-errors, and the negative control withmain'sShaderResources.cppfailsagc_driver_image_tablein 2 of 2 runs.git merge-treeagainstmainis clean.tools/check_conventions.pypasses on the branch and this body, andtools/debt_fold.py --checkreports nothing new for this fragment.maind89f26516cas8b933712e6(it conflicted withmain;FormatVersionis now 91 againstmain's 90). On Linux (Ubuntu 26.04.1, GCC 15.2, Release, RTX 4070 Ti), the 33 tests of^(agc_driver_image_table.*|agc_shader_memory|agc_shader_disk_cache.*)$pass, 3 runs. On the Windows 11 VM (GT 1030, WinLibs GCC 16.2.0, Release), the 35 tests the same pattern selects on Windows pass, 3 runs, on8b933712e6.main0a025bd3c6as742d417e29. It conflicted in the disk cache:mainhad movedFormatVersionto 95 and grownCompiledShaderArtifact(288 to 296 bytes) andRecompileResult(552 to 560). This head setsFormatVersion96 and theRecompileResultassert to 584 (main's 560 plus this change's 24), which the build checks. On Linux (Ubuntu 26.04.1, GCC 15.2, Ninja, Release, RTX 4070 Ti on NVIDIA 615.71,ANYPS5_REQUIRE_VULKAN=1), the 33 tests of^(agc_driver_image_table.*|agc_shader_memory|agc_shader_disk_cache.*)$pass 3 runs.8b933712e6merged ontomaind89f26516casde9fbd7b86(Linux 7.3.4, GCC 16.2.1, Mesa 26.2.6, RX 7900 XT and the 7800X3D iGPU, Khronos validation layer 1.4.363.1): no new failures againstmainin the full suite (6171 tests) or in^agcwith the layer, and noVUID-orSYNC-HAZARDlines.8b933712e6merged ontomain3c07e1d05e(Radeon 760M, AMD Software 26.11.2, WinLibs GCC 15.2.0, Khronos validation layer 1.4.363):agc_driver_image_tableand the threeagc_driver_nested_image_table*tests pass 3/3 on both sides with noVUID-lines, and with this PR's tests onmain's sourcesagc_driver_image_tablefails. On this device (subgroup size 64) its per-wave key cases are skipped.ee03b3fa16merged ontomainde4730493a:agc_driver_image_table_tests,agc_shader_disk_cache_tests, the five otheragc_driver_image_table_*targets andagc_driver_graphics_testswith its neighbours (176 tests, includingagc_driver_image_table_reuse_recordsand_narrow) pass in 3 of 3 runs. Control, this tree with only the per-record branch infinishImageTablesdisabled:agc_driver_image_tablefails with "pointer image table: a store into entries no key of the dispatch selects faulted". With Khronos validation,ANYPS5_REQUIRE_VULKAN=1andANYPS5_NO_SHADER_CACHE=1, noVUID-onmainor this change.ee03b3fa16merged intomain, the whole ctest suite twice per runner: no failures on Server 2025; on Server 2022, 2 and then 3 failures out of 7534, 2 of which also fail onmain(the report does not name the third). 5 GPU tests (AGC, shader recompiler) pass twice on Mesa lavapipe 25.2.8 with Khronos validation and the shader cache off, with no validation message thatmainc1593e4e1ddoes not also produce.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)Summary by CodeRabbit