fix(shader): index a pointer-loaded V#'s T# array by a word read from the same buffer #9969
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/9969"
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 boykopovar/AnyPS5. Originally posted by EagleBearerYS on 2026-10-23T00:58:43Z.
What
With #9790, Marvel's Spider-Man 2 (PPSA03016) gets past
ReadConstBuffer@pc=0x8fa0. It then stops at 135 s, later in the same compute shader (hugodearaujo's run, RX 9070 XT, RADV):The shape (his IR, block $398):
(word >> 16) * 32is thes_buffer_load_dwordx8offset at 0x9a50.Two refusals, one per commit, both on #9790's head:
fix(shader): index a pointer-loaded V#'s T# array by a word read from the same buffer.TryMakeTableColumn's nested branch,DescriptorWordReads).stride * key + addend, withkeyone of(word >> s) & m,(word & m) >> s,word >> s,word & morword.sandmare constants, and the stride is a constant multiple of 4.num_recordsas the hardware load returns, and maps only that record and key 0. If the word's page is unmapped or has a pending write, it maps the whole child, as other key domains do.min(num_records / stride, maxKey + 1)records, so at most 65,536 for a 16-bit field, within #7223's caps.num_recordsreads a null T#, as the load does.fix(shader): take a T#'s words as an uncaptured arm of a pointer-loaded V#'s record pointer. This is the game's own text.TryMakeIndirectColumn/PointerRecordReads).PointerRecordPairs, the edge-paired walk that pointer-keyed T#s already use. Its new arm kind skips a T# or S# word like a constant.Not claimed: hugodearaujo's dump predates #9907, so it prints every scalar load's immediate as
0x0. The real offsets of the key word and the S# aren't known, and the tests use nonzero ones.Cost:
min(num_records / 32, 65536)T#s.FormatVersionto 99:KeyDomaingains three fields.fix(shader): count an image-table snapshot's read ranges in the resolution memo footprint(d01f290417):resolutionFootprintnow adds 4 words per read range (readRanges) of each table and nested table, asColumnRecords::Footprint()does, so a resolution whose read ranges exceed the memo budget isn't memoized.main'sresolutionFootprintleaves out the same term.Tested
agc_driver_pointer_vsharp_child_key_table(new,tests/execution/ImageTable.cpp), commit 1's shape: a record pointer merged by a Phi, a key word at 0x14, the T# at(word >> 16) * 32, an S# at 0x20, then a sample.agc_driver_pointer_vsharp_child_key_arm_table(new), commit 2's shape: it samples the +0x4c0 T#, moves its dwords 0/1 into the record pointer under a condition, reloads the V#, then reads the key word, the T# and the S#.APS5_SKIP_TIMING_TESTS=1.agc_driver_pointer_vsharp_shared_table,…_shared_reuse_tableandagc_driver_nested_image_table.VUID-VkDeviceCreateInfo-pNext-pNext, so the change adds noVUID-message.ctest -R 'image_table|pointer|nested|table|sampler'passes 47/47, including #9790's, #9457's and #7223's nested-table tests and #9790's "data read through a third handle" control.GALLIUM_OVERRIDE_CPU_CAPS=avx.d01f290417(run):agc_shader_disk_cacheresolves a materialized fixture snapshot twice, then with 2^21 read ranges on a table and on a nested table, exactly the memo's 8M-word budget: memoized without them, not shared with them.7588a5359a, on both runners: "resolution memo read ranges: a table's read ranges past the memo budget were not counted".agc_shader_disk_cacheand_large_file) pass 10 runs in a row; on Windows, 4 of 4 (with_host_stderrand_long_paths); none skipped or failed. The libc and libkernel suites pass on both, run withAPS5_SKIP_TIMING_TESTS=1, which relaxesprecise_wait's median bounds on GitHub's hosted runners.7588a5359amerged intomain938812df14(clean), Windows 11 Pro, WinLibs GCC 15.2.0, Release,ANYPS5_NO_SHADER_CACHE=1, with the Khronos validation layer (1.4.363) loaded. The 1,260 teststools/select_tests.pypicks for the PR's files, compared test by test with a full run of thatmainon the same GPU:main(theagc_driver_sample_ordertrio, #9056). The stack's 20 new nested and pointer tests pass. No newVUID-message.maintoo (#10126, #8604 and #10199's intermittent one). The other two are #7395's sampler tests,agc_driver_nested_sampler_tableandagc_driver_pointer_phi_sampler_table, with the lines they fail with on Intel's Linux driver, where the cause is Gfx12 EU fusion (Mesa issue 16622, fixed in Mesa 25.3). @BKlaasWerkman's rerun on the same Intel Arc, of this head (d01f290417) merged intomain938812df14(comment), and #7395 alone merged into the samemain(comment): both tests fail 3 of 3 by default and pass 3 of 3 withAPS5_SPANNED_WAVE=1, which spans the program over two full 32-lane subgroups. That switch made both pass on ANV too (comment), so this points to the same cause as there. Xe-LPG is Gfx12 as well. Mesa 25.3's fix doesn't reach Intel's Windows driver (101.9150). No newVUID-message.50f4f71c72, which carries #16812, this PR'sce65f496e6and #9790's8527df3287, merged intomain294db26eaf. Of the 2,529 teststools/select_tests.pypicks, 2,516 pass, 12 skip and 1 fails,agc_driver_quad_pixel_mask(#14237), which fails on thatmaintoo, so 0 are new. WithVK_LAYER_KHRONOS_validation, no test logs an ID thatmaindoesn't log for it.agc_driver_pointer_vsharp_child_key_arm_tablefails on two Intel iGPUs on Windows; the cause isn't traced.ce65f496e6(review), and on an Intel UHD Graphics (8086:9a60, driver 101.7085) in @mrfelek's runs (comment). It passes on the NVIDIA RTX A2000 in the same machine, on an AMD Radeon 780M with RADV (comment) and on llvmpipe.agc_driver_pointer_vsharp_child_key_table, spills on its two-lane pipeline too (384 bytes) and passes 3 of 3 on the same GPU and build, so spilling alone doesn't explain the failure (comment). With synchronization validation, and separately GPU-assisted validation, mrfelek's runs log no message on the Intel UHD or the RTX A2000 (comment).APS5_SINGLE_LANE=all, which our first reply cited as ruling out the spanned-wave lowering, never reaches the arm dispatch, so it doesn't bear on this test (comment).check_conventions.py: passes. No comment lines are added.test/sm2-9790-child-key(ac5f6f8278) carries this PR's two commits unchanged on his test branch. With it, Marvel's Spider-Man 2 gets pastReadConstBuffer@pc=0x9a50and runs to 133 s. It then stops on an S# read at 0x9a9c through the V# loaded at 0x9a20, the load that also gives the key word:compute shader 0x11e2b31800: GetSamplerResource dword 0 is not a valid runtime value. This PR doesn't plan that shape; it's for a later change. The branch builds on GitHub's Linux and Windows runners, and its tests pass on Linux (run).main3a0a54bbd8with #7256, #16935 and #10049, and this PR at239ae90b7b.0x120aea1900to0x120aef8b00) are all refused without this PR. With it, 28 of the 29 prepare offline inagc_shader_replay;0x120aed7f00is still refused, on theLoadAddressU32chain at pc0x19f8.0x120aea4f00, which runs every frame, hangs the GPU (NVIDIA Xid 109). Whether this PR is behind the hang isn't known.0x120aec1a00and0x120aef8b00then stop on the call table limit (#13538).923a4fc916, a merge of #9790'sab388afb74, which brings inmainc9b2660d56. Two conflicts:ShaderDiskCache.hpp'sFormatVersionline:mainis at 48, and this PR takes 58 (see Overlap).ResourceTracker.cpp, wheremain's #7880 resolves table column pointers through Phi nodes: it counts a pointer as merged only whenUnwrapTableReadcan't resolve it, reads a merged buffer column's low words withPointerRecordReads, and its high word throughUnwrapTableRead. This PR reads both words of every merged pointer withPointerRecordPairsand requires a buffer column's arms to read equivalent low and high words. The merge keeps #7880's test for a merged pointer and itsUnwrapTableReadfor the others, and this PR's pairs and arm check for merged ones. The high-word line takes a pointer-keyed record's word directly, a merged buffer column's from the pairs, and any other pointer's throughUnwrapTableRead.^agc_driver_pointer_,^agc_driver_nested_,^agc_driver_image_table,^agc_shader_) pass 10 runs in a row on Linux: 60 run, 60 pass, 0 skip, 0 fail. On Windows: 67 run, 40 pass, 27 skip (no Vulkan device), 0 fail. The libc and libkernel suites pass on both (123 and 204 tests on Linux, 150 and 217 on Windows), run withAPS5_SKIP_TIMING_TESTS=1, which relaxesprecise_wait's median bounds on GitHub's hosted runners.^agcsweep (run): Linux 996 run, 932 pass, 64 skip, 0 fail. Windows 1,020 run, 282 pass, 734 skip, 4 fail:agc_submit_progress,agc_submit_progress_no_timeline,agc_driver_pipelined_metadata_passandagc_driver_pipelined_metadata_pass_draw_pipeline, which also fail onmainc9b2660d56(run).34edfd45ff, a merge of #9790's6779c1495a, which carries #7395's merge of #7223'sf1cc524085(yabanana's merge ofmainc8d34aa8f4). Clean:FormatVersionstays at 53, and this PR's own diff is unchanged: the merge brings in exactly what #9790's merge did (249 files). On GitHub's runners, 10 runs (run) of the pointer, nested, image-table and disk-cache sets (agc_shader_bindless,agc_shader_memory,^agc_driver_pointer_,^agc_driver_nested_,^agc_driver_image_table,^agc_shader_disk_cache): Linux: 44 run, 44 pass, 0 skip, 0 fail. Windows: 46 run, 20 pass, 26 skip (no Vulkan device), 0 fail. The libc and libkernel suites pass on both (143 and 206 tests on Linux, 170 and 222 on Windows), run withAPS5_SKIP_TIMING_TESTS=1, which relaxesprecise_wait's median bounds on GitHub's hosted runners.7588a5359a, a merge of #9790's809d8804c1, which mergesmain0db47b263d. The only conflict wasShaderDiskCache.hpp'sFormatVersionline:mainmoved to 45 (#7831), and this branch keeps its 50. On GitHub's runners (run), the pointer, nested, image-table and disk-cache sets (29 tests) pass 10 runs in a row on Linux. On Windows the set has 31, with two Windows-only disk-cache tests: they build, 5 pass 10 runs in a row, and the other 26, which need a Vulkan device, skip. The libc and libkernel suites pass on both, run withAPS5_SKIP_TIMING_TESTS=1, which relaxesprecise_wait's median bounds on GitHub's hosted runners. An earlier run linked here didn't run this set, so it's replaced.A limit found on the way, not fixed here: on llvmpipe, a read through a V# whose words come from an unmapped record pointer crashes instead of reporting the fault. llvmpipe does this for any scalar BDA load that misses, and the files that emit those loads are
main's, unchanged by #9790 and by this PR. #9790's limits describe it, with its unmapped-pointer probe faulting through the image table on an NVIDIA GPU instead.Overlap:
FormatVersion:mainis at 88 since Pipodi's #18455. Ours take one number each: #7642 62 (a draft, held; it takes a free number at its refresh), #7395 93, #8939 94, #9457 95, #9633 96, #9749 97, #9790 98 and #9969 99. The other open PRs changing it hold 89 (#14871, #19852, #21199 and #21240), 90 (#6416, and #16812 and #16814, both stacked on #9969), 91 (#10351) and 92 (#14853), and the rest hold numbers at or belowmain's, from a check of every open PR's head on 11-16. This PR moved from 73 to 89 at the merge of #9790'sa8ad90a6cc(see Tested). Whichever lands second on a number takes the next free one.possibleU32Bitsdepth-limited (possibleU32BitsDepth), and the merge of #9790'sf031b24892has this PR'sShiftRightLogical32case recurse through it withdepth - 1u, as its siblings do (see Tested).ResourceTracker.cpp,ShaderDiskCache.cpp,FormatVersionand the image-table test lists. Whichever of #9633 and this PR merges first, the other takes the resolution on test/d10195-9633-15555-18107 (fecb7dd9b0, #9633'sae857ccc9bwith #18107, which carries this PR):PointerRecordPairswith #9633'schasesandchaseDeptharguments, keeps this PR's same-read check, and refuses a buffer record reached through a chase, which neither PR covers;DescriptorSourceandTableColumnand this PR'sKeyDomain;FormatVersion(each has its own number, see above) and the test lists keep both.On that branch every #9633 and #9969 test passes 3 of 3 on Linux; on Windows the GPU tests skip (no Vulkan device on the runner) and nothing fails (run). The run's one red is #18107's
agc_driver_pointer_vsharp_sampler_pair_spill_table, which fails the same way on #18107 without #9633 (run).pc=0xb9f8T#. It sits on #9749, the stack's other branch, and a merge-tree of this head and itscebac8da3bonmain8eaf82f315conflicts inResourceTracker.cpp,ShaderDiskCache.cpp,ShaderDiskCache.hpp'sFormatVersion(75 there, 73 here),tests/cmake/agc_driver_image_table_tests.cmakeanddocs/dev/debt/shader.md. Whichever lands second keeps both sides.ResourceTracker.cpp, its child-key helpers also sit aboveTryMakeTableColumn, and its!plan.keyDomain->childcondition goes after #20519'sKeepBindlessWordscall. The encoder'sKeyDomainchecks sit next toTableColumn's and keep both. Its own test options keep both, and itsFormatVersionconflict keeps this PR's number, above #20519's 89. Merge order: this stack first, as proposed in #20519's thread (comment). If #20519 lands first, a merge ofmainresolves it here.main: clean.34edfd45ffon currentmain, by @hugodearaujo (comment): this head merged intomainf95acfc948(clean), Linux 7.2.11, RX 9070 XT, RADV Mesa 26.2.5, Release, a fresh shader cache, X pressed every 30 s, 480 s limit, one run. No recompile error; the run ends at 223 s when his VRAM guard stops the game (free VRAM 8.5 GB to 0.6 GB within 7 s), as #9790's head does on the samemain.agc_shader_replayon this tree refuses the four.prepare.reqfiles from the earlier stops atReadConstBuffer@pc=0x9a9c(GetSamplerResource dword 0 is not a valid runtime value), where #9790's head alone refuses them at 0x9a50, so this PR still takes them past 0x9a50 on currentmain. In his dump run of #9790's head, the title's own first dispatch of that shader, at 206 s, prepares without error.802d4a7a89:5591194208, a merge of #9790's4125a67e6e, the format commitca21aa897b, the test-only commit72a5e43b8f, and802d4a7a89, a merge of #9790's merge ofmain0cd07dc4ab(run).5591194208takes #9790's merge of #9457 (with #7223's153400ba2band the test-only commits of #7395, #8939 and #9790) and #9790's format commit. Clean, and this PR's own diff is unchanged.ca21aa897bgives this PR its own disk-cache format, 58. The open bumps take one number each: #7223 49 (as do #9508, #9748 and other open PRs), #7395 50, #8939 51, #10000 52, #9457 53, #10489 54, #9633 55, #9749 56, #9790 57, #9969 58, #10846 59.72a5e43b8fdrops the child-keyrefusedhelper and its four cases, the assertions @oneandonlydean listed for this PR; the cases that check a real answer stay.ImageTable.cpponly (1 line in, 27 out).802d4a7a89merges #9790's merge ofmain0cd07dc4ab, which carries #9457's resolution of mrfelek's #10228. Clean here, and this PR's changed lines are the same.tests/execution,agc_driver_pipelined_metadata_passfails atvkCreateInstance(-9) on GitHub's device-less runner, before this PR's code;mainfails it the same way there (run), and upstream's Windows job builds it as a skipped stub.exec_arguments,guest_timed_join_import_libkernel_sysandguest_timed_join_import_libkernel_webfail at their setup in the verify's Windows build (FileNotFoundErrorstarting the title, or copying the libraries they load), and pass inmain's own Windows job at1829def9bf(job). The suites ran withAPS5_SKIP_TIMING_TESTS=1, which relaxesprecise_wait's median bounds on GitHub's hosted runners.d9e9b2f495, a merge of #9790's5aa0ca45e7, which carries #7395's test-only commitca14648806(the nested-sampler test no longer asserts that an S# with another consumer is refused) (run). Clean, and this PR's changed lines are the same. The child-key, shared, nested, pointer-Phi sampler and sample-order tests with the pipelined metadata test and the disk-cache, bindless and shader-memory tests. Linux ran them 10 times with no failure: 29 run, 29 pass, 0 skip, 0 fail. Windows: 31 run, 23 pass, 7 skip (the Vulkan device tests), 1 fail: on our verify's Windows build, which compilestests/execution,agc_driver_pipelined_metadata_passfails atvkCreateInstance(-9) on GitHub's device-less runner, before this PR's code;mainfails it the same way there (run), and upstream's Windows job builds it as a skipped stub. Suites: libc and libkernel pass on Linux (166 and 264). On Windows libc passes (194), and libkernel passes 283 of 286:exec_arguments,guest_timed_join_import_libkernel_sysandguest_timed_join_import_libkernel_webfail at their setup in the verify's Windows build (FileNotFoundErrorstarting the title, or copying the libraries they load), and pass inmain's own Windows job at1829def9bf(job). The suites ran withAPS5_SKIP_TIMING_TESTS=1, which relaxesprecise_wait's median bounds on GitHub's hosted runners.ba29729c03:af11e43425, a merge of #9790'se3196d5721, which carriesmain38ccd50f83and with it #11507'sFormatVersion49, and a format-only commit (run). The merge is clean, and this PR's diff over #9790 is the same.ba29729c03movesFormatVersionfrom 58 to 60: 58 is also held by #10193 (Celegans12), which carries our #7642's commits, so if #10193 landed first, this PR's identical 58 would merge cleanly over it and the number wouldn't move. No open PR uses 60. An earlier reply here named only #7642 at 58. The child-key, shared, nested, pointer-Phi sampler, sample-order and pipelined metadata tests with the disk-cache, bindless and shader-memory tests and #11507'sagc_driver_image_sample_short_cube. Linux ran them 10 times with no failure: 30 run, 30 pass, 0 skip, 0 fail. Windows: 32 run, 23 pass, 8 skip (the Vulkan device tests), 1 fail: on our verify's Windows build, which compilestests/execution,agc_driver_pipelined_metadata_passfails atvkCreateInstance(-9) on GitHub's device-less runner, before this PR's code;mainfails it the same way there (run), and upstream's Windows job builds it as a skipped stub. Suites: libc and libkernel pass on Linux (166 and 265). On Windows libc passes (194), and libkernel passes 284 of 287:exec_arguments,guest_timed_join_import_libkernel_sysandguest_timed_join_import_libkernel_webfail at their setup in the verify's Windows build (FileNotFoundErrorstarting the title, or copying the libraries they load), withmain's code too, and pass inmain's own Windows job at1829def9bf(job). The suites ran withAPS5_SKIP_TIMING_TESTS=1, which relaxesprecise_wait's median bounds on GitHub's hosted runners.c7b702d4a2, a merge of #9790's4e6a2bfce0(run). It takes #7395's test-only commitd908758281, which dropsagc_driver_nested_image_table's two checks that a valid shader is refused (a V# with another buffer consumer and a T# with another consumer), #7395's merge of #7223's0dbf5478b2(yabanana's merge ofmainf7e84c4cf1) and the format commits below this PR. The one conflict wasFormatVersion, which stays 60, one above #9790's 59. Apart from that line's old value, this PR's diff over #9790 is unchanged.agc_shader_bindless,agc_shader_memoryand 17 otheragc_shader_tests (table snapshots, selected records, memo budgets and pair layouts) ran 10 times with no failure. Linux: 48 run, 48 pass, 0 skip, 0 fail. Windows: 50 run, 25 pass, 25 skip (the Vulkan device tests; the Windows runner has no Vulkan device), 0 fail. The libc and libkernel suites run 191 and 291 tests on Linux and 220 and 314 on Windows, with 0 failed. They ran withAPS5_SKIP_TIMING_TESTS=1, which relaxesprecise_wait's median bounds on GitHub's hosted runners.ef707575db, for XairRrR's review, on a merge of #9790'seddf966ddb(run).1011f51296merges #9790's head, which carries #7395's4769d5a745, which drops "and refusals" from two nested-table test summary lines, and brings only that change.ef707575dbrewrites the V#-relative child key entry indocs/dev/debt/shader.mdto lead with what stays refused and the key that faults, and says the snapshot maps the selected entry and the entry at key 0 (Narrowstarts its key list at 0). The image-table, nested, pointer, disk-cache, bindless and shader-memory tests ran 10 times with no failure. Linux: 48 run, 48 pass, 0 skip, 0 fail. Windows: 50 run, 25 pass, 25 skip, 0 fail; the 25 skip because the runner has no Vulkan device. The libc and libkernel suites run 191 and 291 tests on Linux and 220 and 314 on Windows, with 0 failed. The suites ran withAPS5_SKIP_TIMING_TESTS=1, which relaxesprecise_wait's median bounds on GitHub's hosted runners.c7b39f3d16, a merge of #9790's heada5efbc3ec5, which merges oneandonlydean's merge ofmainb08c539c50into #9457 (run).CMakeLists.txt, from #12862's split, resolved withtools/agc_test_split.py resolve. It moves this PR's registrations intotests/cmake/agc_driver_image_table_tests.cmake, next to the stack's (+4 −2 againsta5efbc3ec5).FormatVersionmerged cleanly and stays this PR's own. Apart from the move, this PR's diff is unchanged.-DBUILD_TESTING=ON,ctest -Ngives 3100 tests:mainb08c539c50's 3081 plus the stack's 19 tests (#9457's 15, #9790's 2 and this PR's 2), each listed once.APS5_SKIP_TIMING_TESTS=1, which relaxesprecise_wait's median bounds on GitHub's hosted runners.VK_LAYER_KHRONOS_validationon GitHub's Linux runner (run),mainb08c539c50against this merge, for the same tests. The loader inserted the layer 2 times on main and 21 with this merge. The only VUID in either arm isVUID-VkDeviceCreateInfo-pNext-pNext, so this merge adds none.agc_driver_image_tablefails in that mode in both arms, because the mode treats thatmainmessage as a failure.c7b39f3d16, from TechLevelZero's NVIDIA bot (report): driver 595.99.02, Ubuntu 26.04.1, this head merged ontomaindc9dc7e, 2,540 of 3,119 tests selected.main, and 2 are unstable onmain.VK_LAYER_KHRONOS_validation, over 949 tests on the GPU, there are no new validation IDs againstmain. 19 of the stack's nested and pointer table tests ran with the layer but aren't inmain's baseline, so they weren't compared.01eed4966c:291f696521, a merge of #9790's172dd67c21, and the format commit01eed4966c(run). The one conflict wasFormatVersion, which the format commit moves from 60 to 73, above #9790's 71 and #9749's 72. This PR'sKeyDomainchange (24 bytes, 7 fields) merges cleanly with #7694'sDescriptorSourcechange. This PR's own diff is otherwise unchanged. The image-table, disk-cache, BDA anchor-read, shader-memory, nested and pointer tests, with #7694'sagc_shader_descriptor_phis, pass 10 runs in a row. Linux: 34 run, 34 pass, 0 skip, 0 fail. Windows: 36 run, 10 pass, 26 skip, 0 fail. Suites: libc and libkernel pass on Linux (210 and 310) and on Windows (237 and 331). The suites ran withAPS5_SKIP_TIMING_TESTS=1, which relaxesprecise_wait's median bounds on GitHub's hosted runners. TechLevelZero's NVIDIA bot ran this head merged ontomain88e804bon an RTX 2000 Ada (report): 2,572 passed, 5 failed, none new (3 also fail onmain, 2 unstable onmain), 45 skipped, with no new validation IDs (992 tests on the GPU).da1e1cccf5, a merge of #9790'sa12bac51d6, which carries #7395's merge ofmain4f64f81ef7(run). The one conflict was the footprint line inResourceMaterializer.cpp: this PR'stable.readRanges.size() * 4uterm is kept on the first line of #12246's loop, after #7395's pointer term.FormatVersionstays 73, and this PR's own diff is otherwise unchanged. TheResourceMaterializer.cppresolution, with #12246's view loop moved back intoSnapshot, comes from #7395's merge (see #7395). The image-table, disk-cache, BDA anchor-read, shader-memory, nested and pointer tests, with #7694'sagc_shader_descriptor_phis, pass 10 runs in a row. Linux: 34 run, 34 pass, 0 skip, 0 fail. Windows: 36 run, 10 pass, 26 skip (no Vulkan device), 0 fail. Suites: libc and libkernel pass on Linux (217 and 318) and on Windows (244 and 339). The suites ran withAPS5_SKIP_TIMING_TESTS=1, which relaxesprecise_wait's median bounds on GitHub's hosted runners.agctest, once (run): Linux: 1,261 run, 1,182 pass, 78 skip, 1 fail. Windows: 1,297 run, 390 pass, 907 skip (no Vulkan device), 0 fail. The one failure isagc_driver_pipeline_journal's 120-second timeout, whichmain88e804b0a7's own run of every test hits too (run).9e7ac69470, a merge ofmain4f41f4c375(×10, the PR's own tests ×10).ShaderDiskCache.hpp'sFormatVersion, wheremainis now at 52 (#10000) and this PR keeps its 73; anddocs/dev/debt/shader.md, where this PR's entries andmain's new entries are adjacent and both stay. This PR's own lines are unchanged apart from theFormatVersionline's old value.agc_driver_image_table,agc_driver_many_direct_samplersand every test matching^agc_shader_memory,^agc_shader_disk_cache,^agc_shader_sampler_limits,^agc_shader_nestedor^agc_shader_table. Linux: 11 run, 11 pass, 0 skip, 0 fail. Windows: 13 run, 11 pass, 2 skip (no Vulkan device), 0 fail. The libc and libkernel suites run 300 and 322 tests on Linux and 327 and 342 on Windows, with 0 failed. The suites ran withAPS5_SKIP_TIMING_TESTS=1, which relaxesprecise_wait's median bounds on GitHub's hosted runners.^agc_driver_pointer_and^agc_driver_nested_test, the image-table tests in this PR's diff overmain, which the first run's names left out. Linux: 19 run, 19 pass, 0 skip, 0 fail. Windows: 19 run, 0 pass, 19 skip (no Vulkan device), 0 fail.c147aa8647, a merge of #9790'sebaa9b1565, which carriesmainc2eafe4461with yabanana's #7223 through #9457, #8939 and #7395 (×10).ShaderDiskCache.hpp'sFormatVersion, which stays 73 (mainis at 56 since #7223), anddocs/dev/debt/shader.md, which keeps this PR's three entries, with #9790's "Nested image table children" entry after "Nested image tables". This PR's own lines are unchanged apart from theFormatVersionline's old value.agc_driver_many_direct_samplersand every test matching^agc_driver_pointer_,^agc_driver_nested_,^agc_shader_nested_,^agc_driver_image_table,^agc_shader_memory,^agc_shader_disk_cacheor^agc_shader_sampler_limits, which takes in every test in this PR's diff overmain. Linux: 34 run, 34 pass, 0 skip, 0 fail. Windows: 36 run, 10 pass, 26 skip (no Vulkan device), 0 fail. The libc and libkernel suites run 301 and 325 tests on Linux and 331 and 343 on Windows, with 0 failed. The suites ran withAPS5_SKIP_TIMING_TESTS=1, which relaxesprecise_wait's median bounds on GitHub's hosted runners.mainb8efa62, driver 595.99.02, Ubuntu 26.04.1, 2,911 of 3,878 tests selected. 2,854 passed, 7 failed and 50 skipped. None of the failures is new: 3 also fail onmain, and 4 are unstable onmain. WithVK_LAYER_KHRONOS_validation, there are no new validation IDs againstmain, over 989 tests on the GPU.agc_shader_nested_sampler_snapshot_retryran with the layer but isn't inmain's baseline, so it wasn't compared.c147aa8647: RTX 3080 Ti, NVIDIA 615.71.09, Linux, title 01.001.005.APS5_DUMP_SHADERS), throughagc_shader_replay. Thepc=0xb600GetSamplerResourcestop is gone; #9457, below this PR, plans that S# at a fixed offset of its V#. The same request then stops at a T# atpc=0xb9f8(GetImageResource dword 0), whose pointer is a Phi of the record's pointer and a pointer read from the record's data.pc=0xb600and stops 148 s in at thepc=0xb9f8T#. With #9633 and #9749 also merged on, the replay stops at the same place.pc=0xb9f8(see Overlap); the stops after it are in #7395's description.-lvl underwater_aerial_garden, no input, headless, default settings, a warm shader cache; RTX 3080 Ti 12 GB, NVIDIA 615.71.09, Linux, Ryzen 9 5950X. The builds aremain4c03784113andmainwith this PR'sc147aa8647(a clean merge, 228475a4a5); onlylibSceAgcDriver.prxdiffers.snapshot did not stabilize.main0.165, this PR 0.650, this PR 0.635,main0.404. They put the gain at 1.6–3.9 times, sincemainvaries between its runs, and haven't found which of the stack's changes saves the time. Clocks weren't reported, and they didn't compare the picture.5a8c3cc229, a merge of #9790's32a8525931, which carriesmain8eaf82f315through #9457, #8939 and #7395 (×10).docs/dev/debt/shader.md, where JJenkx's #15305's "runtime resource snapshot" entry, which comes withmain, sits right above "Nested image tables", which this PR rewrites. Both stay, #15305's entry first. This PR's own lines are unchanged.agc_driver_many_direct_samplersand every test matching^agc_driver_pointer_,^agc_driver_nested_,^agc_shader_nested_,^agc_driver_image_table,^agc_shader_memory,^agc_shader_disk_cacheor^agc_shader_sampler_limits, which takes in every test in this PR's diff overmain. Linux: 35 run, 35 pass, 0 skip, 0 fail. Windows: 37 run, 10 pass, 27 skip (no Vulkan device), 0 fail. The libc and libkernel suites run 327 and 344 tests on Linux and 358 and 371 on Windows, with 0 failed. The suites ran withAPS5_SKIP_TIMING_TESTS=1, which relaxesprecise_wait's median bounds on GitHub's hosted runners.ce65f496e6, a merge of #9790's8527df3287, which carriesmain006d11fca5through #9457, #8939 and #7395 (×10).main, frankea's #9020'sFormatVersion57, andFormatVersionstays 73 here. This PR's own lines are unchanged apart from theFormatVersionline's old value.agc_driver_many_direct_samplersand every test matching^agc_driver_pointer_,^agc_driver_nested_,^agc_shader_nested_,^agc_driver_image_table,^agc_shader_memory,^agc_shader_disk_cacheor^agc_shader_sampler_limits, which takes in every test in this PR's diff overmain. Linux: 35 run, 35 pass, 0 skip, 0 fail. Windows: 37 run, 10 pass, 27 skip (no Vulkan device), 0 fail. The libc and libkernel suites run 327 and 344 tests on Linux and 358 and 371 on Windows, with 0 failed. The suites ran withAPS5_SKIP_TIMING_TESTS=1, which relaxesprecise_wait's median bounds on GitHub's hosted runners.0ef70b4bcb, a merge of #9790's1b139e755b, oneandonlydean's merge ofmain0bae53facdinto #9790 (×10).docs/dev/debt/shader.md, where this PR's wording of the pointer-keyed image-table entry sits next to #10489's rewording of the image-table entry (the image limit is now 128). Both are kept.FormatVersionstays 73, and this PR's own lines are unchanged apart from theFormatVersionline's old value.agc_driver_many_direct_samplersand every test matching^agc_driver_pointer_,^agc_driver_nested_,^agc_shader_nested_,^agc_driver_image_table,^agc_shader_memory,^agc_shader_disk_cacheor^agc_shader_sampler_limits, which takes in every test in this PR's diff overmain. Linux: 49 run, 49 pass, 0 skip, 0 fail. Windows: 51 run, 10 pass, 41 skip (no Vulkan device), 0 fail. The libc and libkernel suites run 344 and 346 tests on Linux, with 0 failed, and 375 and 373 on Windows, whereguest_standard_streamsfails:main0bae53facdhas #12920, whose Windows abort is I#17423 (oneandonlydean's revert is #17531). The suites ran withAPS5_SKIP_TIMING_TESTS=1, which relaxesprecise_wait's median bounds on GitHub's hosted runners.5f70ec884e, a merge of #9790'sa7234e908f, oneandonlydean's merge ofmain3eb7a74e1cinto #9790 (×10, everyagctest).main, #14636'sFormatVersion68, and keeps #9790's 71.FormatVersionstays 73 here, and this PR's own lines are unchanged.mainwithout #9457's last three commits, so #9790'sFormatVersion71 sits below #9457's new 81. It is re-picked when #9457 lands.agc_driver_many_direct_samplersand every test matching^agc_driver_pointer_,^agc_driver_nested_,^agc_shader_nested_,^agc_driver_image_table,^agc_shader_memory,^agc_shader_disk_cacheor^agc_shader_sampler_limits, which takes in every test in this PR's diff overmain. Linux: 49 run, 49 pass, 0 skip, 0 fail. Windows: 51 run, 10 pass, 41 skip (no Vulkan device), 0 fail. The libc and libkernel suites run 350 and 348 tests on Linux with 0 failed, and 380 and 375 on Windows. On Windows, libkernel'sguest_kernel_resident_fmem_exportandguest_kernel_resident_fmem_export_patchedfail: the same harness fails them onmain7259cce111alone (run), andmain's own Windows job passes them, so they come from the verify harness, not this PR. The suites ran withAPS5_SKIP_TIMING_TESTS=1, which relaxesprecise_wait's median bounds on GitHub's hosted runners.agctest, once, since #14636 is itself a recompiler change. The first attempt had two failures that the rerun of both jobs cleared: on Linux,agc_driver_frame_replay_rewind_copy(1 of 1,547), which #17921 reports failing once onmaintoo; and on Windows, the build stopped whenguest_np_web_api_initialize_testscopied the unpatchedlibSceNpWebApi.prxbefore it was built. The rerun: Linux 1,547 run, 1,452 pass, 95 skip, 0 fail; Windows 1,590 run, 482 pass, 1,108 skip (no Vulkan device), 0 fail.2a082ea647:d4ac9fceaf, a merge of #9790'sa8ad90a6cc, and the format commit2a082ea647(×10), for oneandonlydean's ask on #9457 (comment).ShaderDiskCache.hpp'sFormatVersionline. The format commit gives this PR 89, above #9790's new 88 (see Overlap). This PR's own lines are unchanged apart from that line.5f70ec884eis closed.agc_driver_many_direct_samplersand every test matching^agc_driver_pointer_,^agc_driver_nested_,^agc_shader_nested_,^agc_driver_image_table,^agc_shader_memory,^agc_shader_disk_cacheor^agc_shader_sampler_limits, which takes in every test in this PR's diff overmain. Linux: 49 run, 49 pass, 0 skip, 0 fail. Windows: 51 run, 10 pass, 41 skip (no Vulkan device), 0 fail. The libc and libkernel suites run 350 and 348 tests on Linux with 0 failed, and 380 and 375 on Windows. On Windows, libkernel'sguest_kernel_resident_fmem_exportandguest_kernel_resident_fmem_export_patchedfail: the same harness fails them onmain7259cce111alone (run), andmain's own Windows job passes them, so they come from the verify harness, not this PR. The suites ran withAPS5_SKIP_TIMING_TESTS=1, which relaxesprecise_wait's median bounds on GitHub's hosted runners.239ae90b7b, a merge of #9790's5e4ba4e635, without conflicts, which carriesmaine22c5fb941through #9790, #9457, #8939 and #7395 (×10).agc_driver_many_direct_samplersand every test matching^agc_driver_pointer_,^agc_driver_nested_,^agc_shader_nested_,^agc_driver_image_table,^agc_shader_memory,^agc_shader_disk_cacheor^agc_shader_sampler_limits, which takes in every test in this PR's diff overmainandmain's newagc_shader_memory_coherent_atomic_loads. Linux: 50 run, 50 pass, 0 skip, 0 fail. Windows: 52 run, 11 pass, 41 skip (no Vulkan device), 0 fail. The libc and libkernel suites run 379 and 372 tests on Linux and 406 and 400 on Windows, with 0 failed. The suites ran withAPS5_SKIP_TIMING_TESTS=1, which relaxesprecise_wait's median bounds on GitHub's hosted runners.239ae90b7b:maine22c5fb941against this head, withVK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation,ANYPS5_NO_SHADER_CACHE=1andANYPS5_REQUIRE_VULKAN=1underctest -V, over the focused tests above:mainpasses its 32 tests and the head its 49, 3 of 3 runs each, with noVUID-line in either arm. No run printed "was not found but was requested", and every test that creates a Vulkan instance loggedInsert instance layer "VK_LAYER_KHRONOS_validation".mainand 43 on the head. The only VUID in either log isVUID-VkDeviceCreateInfo-pNext-pNext, which that layer logs atvkCreateDeviceonmaintoo, for a structure newer than its 1.3.275 header (VkStructureType1000574000), so the head adds none. That message fails the same 14 tests in both arms,agc_driver_image_tableand its 13_packedvariants, because the run's failure regex matches anyVUID-; the other tests pass, 19 onmainand 36 on the head. The run counts 14 "was not found but was requested" matches per arm, and each is ctest printing that failure regex for one of the 14; no loader line in either log says the layer was missing.9f507b8b25, a merge of #9790'sf031b24892, which carriesmainbd278f3654through #9790, #9457, #8939 and #7395 (×10, everyagctest).possibleU32Bitsdepth-limited (possibleU32BitsDepth); this PR'sShiftRightLogical32case now recurses through it withdepth - 1u, as its siblings do. Without that line the merge doesn't build, sincepossibleU32Bitsis now defined afterpossibleU32BitsDepth. This PR's other changed lines are unchanged.FormatVersion:main's 69, this PR's 89. #7395's merge takes #19530's move ofmainfrom 68 to 69.239ae90b7b. Linux, in the rerun of the Linux job (attempt 2): 50 run, 50 pass, 0 skip, 0 fail. Windows: 52 run, 11 pass, 41 skip (no Vulkan device), 0 fail. The libc and libkernel suites run 380 and 376 tests on Linux and 410 and 404 on Windows, with 0 failed. The suites ran withAPS5_SKIP_TIMING_TESTS=1, which relaxes onlyprecise_wait's median bounds on GitHub's hosted runners.agc_driver_image_tablein the first attempt (attempt 1): it timed out at 30.05 s in its first repetition, againstmain'sTIMEOUT 30, and the set's other 49 tests passed 10 of 10. In the rerun it took 24.70 s in its first repetition and 6.64 to 7.03 s after that. On GitHub's Linux runner the first repetition, from a cold start, is the slow one across the stack: 27.44 s on #7395'se9ddd12bd2, 28.05 s on this PR's previous head239ae90b7b, 23.84 s on #9749, 18.29 s on #9633 and 14.10 s on #9790, with 4 to 7 s after that.mainbd278f3654alone on the same runner (run) takes 16.01 s in its first repetition and 3.30 and 3.33 s after that, with only that test running; the ×10 runs share the runner with the set's other tests.agctest, once: Linux: 1,708 run, 1,600 pass, 106 skip, 2 fail. Windows: 1,747 run, 506 pass, 1,241 skip (no Vulkan device), 0 fail. The two Linux failures aremain's:agc_driver_global_atomic_csub: "AGC graphics: global atomic csub without glc: wave64 byte 644 is 146, expected 0";agc_driver_coherent_atomic_loads_enabled: a 60-second timeout.main's own Linux job fails both, with the same message and the same timeout, atd2949cd806(job) and at67ec0f7d8c(job), covered by #19332._putenv_stest fix (#19899) on top, becausemain's Windows test build breaks without it ("'setenv' was not declared" inUploadCacheReadOnlyFlush.cpp, from #18037); it isn't on this branch.20b045a8de, a merge of #9790'saadbb73413, which carriesmain328cbf673ethrough #9790, #9457, #8939 and #7395 (×10, with #21255's test change).FormatVersion, where #9790 now takes 98, above this PR's 89. The merge moves this PR to 99. This PR's own lines are unchanged apart from theFormatVersionline.9f507b8b25. Linux, in the rerun of the Linux job (attempt 2), since the first attempt stopped in checkout when cloning the sqlite submodule returned HTTP 503 (attempt 1): 57 run, 56 pass, 0 skip, 1 fail. Windows: 59 run, 11 pass, 48 skip (no Vulkan device), 0 fail. The libc and libkernel suites run 391 and 390 tests on Linux and 421 and 417 on Windows, with 0 failed. The suites ran withAPS5_SKIP_TIMING_TESTS=1, which relaxes onlyprecise_wait's median bounds on GitHub's hosted runners.agc_driver_image_table_packed_guards, fails as onmain: three identical "stage 4 pc 0x68" records, then "unrecoverable packed table format was not poisoned", the same lines as inmain's own Linux job ate249fc47b5(job). fernandomcrsilva's open #21255 changes that test. With #21255's test change on top of this head (run),agc_driver_image_table_packed_guardspasses 10 of 10, and so do the same tests on that tree: Linux 57 run, 57 pass, 0 skip, 0 fail; Windows 59 run, 11 pass, 48 skip (no Vulkan device), 0 fail.guest_thermal_sensorsin that run: libkernel'sguest_thermal_sensorsreached its 20 s timeout in the Linux suite. It times out in every run I have on GitHub's Intel Xeon 6975P-C runners,main0694c4cbd6alone included (run), and passes in this PR's own ×10 above and inmain's own job. This PR changes no libkernel file._putenv_stest fix (#19899) on top, becausemain's Windows test build breaks without it ("'setenv' was not declared" inUploadCacheReadOnlyFlush.cpp, from #18037); it isn't on this branch.ANYPS5_REQUIRE_VULKAN=1andANYPS5_NO_SHADER_CACHE=1. This head20b045a8demerged ontomaine4caa07950(their merge 83e91ce933, clean), againstmaine4caa07950alone,ctest -R 'pointer|image_table|nested|agc_shader_disk_cache|agc_shader_memory|bda_anchor'.main: 78 of 78 pass. This PR: 95 of 95 pass, including the 17 testsmaindoesn't have: this PR's two (agc_driver_pointer_vsharp_child_key_tableand_child_key_arm_table) and the 15 of #9790, #9457, #8939 and #7395.agc_driver_pointer_vsharp_child_key_arm_table, which fails on two Intel iGPUs on Windows (above), passes here. No test skips on either side. The layer was inserted 43 times onmainand 59 times with this PR; the tests without an insert are CPU-only. NoVUID-line on either side, and every test that creates a device selected the RTX 4090.fff420ad1bof #9790's new head (test only,tests/execution/ImageTable.cpp), for #8939'sagc_driver_pointer_phi_lane_and_tableandagc_driver_pointer_phi_lane_not_table. @frankea's Windows 11 RTX 4090 run (comment) failed them here too, at20b045a8de, withselected the descriptor at 0x0: unmapped. The cause, the fix and a verify-only Linux run with the records mapped at 1 GiB, red before the fix and green after, are in #8939's Tested: the records sat below 4 GiB, so an arm whose low word is 0 selected a null pointer. old..new touches onlyImageTable.cpp.^agc_driver_pointer_and^agc_driver_nested_tests pass, none skipped._putenv_sfix (#19899) merged for the run only: the build passes, the libc and libkernel suites run 421 and 417 tests with 0 failed, and the 19 tests skip (no Vulkan device). The Windows GPU case itself can only be re-run by a tester.main33876d3742with #9020, #7256 andmain's0cbbcfd05c, plus each PR's diff against328cbf673e. On that base and with #9457 (d896ff422b), #9790 (aadbb73413) and #9969 (20b045a8de), every run (2 of 2 each) stops at compute shader0x120aed7f00, 127 to 166 s after the press, withGetImageResource dword 0 is not a valid runtime value, chainLoadAddressU32@pc=0x19a0←LoadAddressU32@pc=0x198c←ReadConstBuffer@pc=0xac8. An offline replay of the dumped request refuses the same way onmain328cbf673eand on each head. That matches @freneza's offline result above, where0x120aed7f00is still refused.630bbb0a2e, a merge of #9790's3b2426ac0a, which carriesmaind89f26516cthrough #9790, without conflicts (×10, with #21255's test change).FormatVersionstays 99, and its own lines are unchanged.agc_driver_many_direct_samplersand every test matching^agc_driver_pointer_,^agc_driver_nested_,^agc_shader_nested_,^agc_driver_image_table,^agc_shader_memory,^agc_shader_disk_cacheor^agc_shader_sampler_limits, which takes in every test in this PR's diff overmain. Linux: 57 run, 56 pass, 0 skip, 1 fail. Windows: 59 run, 11 pass, 48 skip (no Vulkan device), 0 fail. The libc and libkernel suites run 410 and 411 tests on Linux and 439 and 432 on Windows, with 0 failed apart fromguest_thermal_sensors(below). The suites ran withAPS5_SKIP_TIMING_TESTS=1, which relaxes onlyprecise_wait's median bounds on GitHub's hosted runners.agc_driver_image_table_packed_guards, also fails onmaind89f26516calone in the same harness on GitHub's runners (run: the^agc_driver_image_tabletests ×10, 29 run, only this one fails).main's own Linux job, on the project's self-hosted runner, passes it at244b338dd0(job). fernandomcrsilva's open #21255 changes that test. With #21255's test change on top of #9969's630bbb0a2e, this PR's own head (run),agc_driver_image_table_packed_guardspasses 10 of 10, and so do the same tests on that tree: Linux 57 run, 57 pass, 0 skip, 0 fail; Windows 59 run, 11 pass, 48 skip (no Vulkan device), 0 fail.guest_thermal_sensors: libkernel'sguest_thermal_sensorsreached its 20 s timeout in the Linux suite, on one of GitHub's Intel Xeon 6975P-C runners. It times out in every run I have on those runners,main0694c4cbd6alone included (run), and passed in this refresh's runs on AMD EPYC runners. This PR changes no libkernel file._putenv_stest fix (#19899) on top, becausemain's Windows test build breaks without it ("'setenv' was not declared" inUploadCacheReadOnlyFlush.cpp, from #18037); it isn't on this branch.BUILD_TESTING=ON, validation layer 1.4.363, withANYPS5_REQUIRE_VULKAN=1andANYPS5_NO_SHADER_CACHE=1,ctest -V -R '^agc_driver_pointer_|^agc_driver_nested_|^agc_shader_nested_|^agc_driver_image_table|^agc_shader_memory|^agc_shader_disk_cache|^agc_shader_sampler_limits', 3 runs per arm. This head630bbb0a2emerged ontomaine1ab104e0a(their merge 2c9689c0c3, clean), againstmaine1ab104e0aalone.main: 39 tests, 38 pass, 1 skip in each run. This PR: 56 tests, 55 pass, 1 skip in each run; the counts include the tests of #7395, #8939, #9457 and #9790, which this head carries. The one skip is the same in every arm,main's included:agc_driver_image_table_vouched_lookups(the device reports host-imported pages written after a GPU read).agc_driver_pointer_vsharp_child_key_arm_table, the test that fails on the two Intel iGPUs above, passes 3 of 3. The layer was inserted 32 times onmainand 48 times in each arm, and never reported missing. NoVUID-line in any arm, and every Vulkan test selected the RX 9070 XT.dc97c68c75, a merge of #9790's5821a3e2fa, which carriesmaind50640e264through #9790, without conflicts (×10, with #21255's test change).FormatVersionstays 99, and its own lines are unchanged.agc_driver_many_direct_samplersand every test matching^agc_driver_pointer_,^agc_driver_nested_,^agc_shader_nested_,^agc_driver_image_table,^agc_shader_memory,^agc_shader_disk_cacheor^agc_shader_sampler_limits, which takes in every test in this PR's diff overmain. Linux: 57 run, 56 pass, 0 skip, 1 fail. Windows: 59 run, 11 pass, 48 skip (no Vulkan device), 0 fail. The libc and libkernel suites run 410 and 417 tests on Linux and 439 and 438 on Windows, with 0 failed. The suites ran withAPS5_SKIP_TIMING_TESTS=1, which relaxes onlyprecise_wait's median bounds on GitHub's hosted runners. The Windows job ran in a second attempt, because the first reached the job time limit while building on an AMD EPYC 7763 runner, before any test ran.agc_driver_image_table_packed_guards, also fails onmaind89f26516calone in the same harness on GitHub's runners (run: the^agc_driver_image_tabletests ×10, 29 run, only this one fails).main's own Linux job, on the project's self-hosted runner, passes it at244b338dd0(job). fernandomcrsilva's open #21255 changes that test. With #21255's test change on top of #9969'sdc97c68c75, this PR's own head (run),agc_driver_image_table_packed_guardspasses 10 of 10, and so do the same tests on that tree: Linux 57 run, 57 pass, 0 skip, 0 fail; Windows 59 run, 11 pass, 48 skip (no Vulkan device), 0 fail.guest_thread_cpu_clockin the run with #21255's test change: libkernel'sguest_thread_cpu_clockaborted once in that run's Windows suite, on an Intel Xeon 6973P-C runner. ShootanoJumper's #23756 reports this test failing intermittently on Windows onmained1def4dd4under load and changes it. It merged aftermaind50640e264, so these runs don't have it. This PR changes no libkernel file._putenv_stest fix (#19899) on top, becausemain's Windows test build breaks without it ("'setenv' was not declared" inUploadCacheReadOnlyFlush.cpp, from #18037); it isn't on this branch.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)ReadConstBuffer@pc=0x9a50after #9790, as hugodearaujo's run shows; its next stop is an S# at 0x9a9c (see Tested)5eb49d1893, see Tested; not re-run since); AMD Radeon RX 9070 XT (RADV, Mesa 26.2.7, Arch Linux, with the validation layer), by @hugodearaujoImported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-23T04:55:25Z.
Review: CHANGES_REQUESTED
I found a cache-budget accounting gap in the new nested snapshot path.
NestedColumncopies the parent descriptorreadRangesand appends a range for each distinct child buffer; the indirect-buffer path also records a descriptor range per captured pointer.CopyRecordsretains those ranges inImageTableColumnSnapshot, andResolutionMemoEntrystores the table snapshots. However,resolutionFootprint()counts map words, codes, descriptor words, and pointer words, but nottable.readRanges.These are 16-byte pairs, so omitting them undercounts by four 32-bit words per range. With up to 524,288 parent keys and up to 524,288 child buffers, the retained ranges can add roughly 16 MiB to an entry beyond the
ResolutionMemoWordsestimate. The LRU can therefore retain more than its declared 8M-word budget, especially across its four variants per shader. Please either include retained read-range storage in the footprint (and add a boundary regression) or avoid retaining ranges in resolution memo entries if they are not part of the cache key/result. This is a memory-bound issue introduced by the new nested-table path, not a queue-size concern.I also checked pointer-map construction/search ordering, nested-key limits, decode validation, snapshot hashing, cache serialization and the SPIR-V lower-bound lookup; I found no additional confirmed issue. Current-main diff and conventions checks pass. Hosted eligibility, intake, conventions, labels and report pass, while native product jobs are skipped. I could not run the image-table runtime tests locally because this workspace has no matching build/test executable; the PR's reported Linux/Windows and validation-layer results remain author-reported.
Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-24T02:48:34Z.
Review: CHANGES_REQUESTED
Not mergeable as is, and nothing in this PR is blocking by itself:
main, and so does the root of the stack it sits on (#7223,ResourceTracker.cpp/TryMakeIndirectColumnafter #7880; see oneandonlydean's comment there). The resolution of the two dword reads inTryMakeIndirectColumnis a logic call that has to be settled on #7223 first.mainonce #7223 is resolved, as you said on #7395, and re-request review; the two fix commits and theresolutionFootprintread-range term (d01f290417, answers MarcZX10's review) look consistent from the diff.FormatVersionabovemainand #10000's, as planned.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-29T01:42:57Z.
Review: CHANGES_REQUESTED
Re-checked — #9969 —
ba29729c032d9c3718d28ca8d0fbf1083f8cd613The read-range term is present in the updated
resolutionFootprintcalculation, but the stacked branch is still based on38ccd50f8337a6a1ca674f64596d94a391472e92(692 commits behind currentmain) and the focused image-table assertions could not execute on the available Vulkan device.What I ran
agc_shader_disk_cache_testsandagc_driver_image_table_testsagc_shader_disk_cacheandagc_shader_disk_cache_large_filegit diff --checkand current-main merge previewRaw output
Negative control
Not run; the three relevant image-table assertions could not reach their test body with this host CPU/Vulkan feature set.
Findings
Blocking
mainafter its prerequisites are ready, then rerun the affected focused tests and supported build matrix. The current branch is 692 commits behind, and the merge preview only establishes that Git can construct a tree; it does not validate this older shader/recompiler stack against current changes.Non-blocking
resolutionFootprintnow addsreadRangesalongside the other table ranges, and the PR includes the associated boundary regression. The cache tests passed locally.Sources
ba29729c032d9c3718d28ca8d0fbf1083f8cd6133a2b91981651569163768854a1fcdc7193b6667bNot verified
mainabsent from this stack.To get this to a good state
Once the declared prerequisites are merged, rebase the stack onto current
main, confirm the dependency list/order, rerun the focused image-table tests on a device exposing the required Vulkan features, and refresh CI.Imported from boykopovar/AnyPS5. Originally posted by XairRrR on 2026-10-29T13:15:53Z.
Review: COMMENTED
Reviewed — comments
This PR's own commits on top of #9790 merge cleanly into current
main, build, and pass the focused image-table, nested, pointer and disk-cache tests on an NVIDIA GPU with the validation layer, and the new tests fail without the PR's code; I am leaving a comment rather than an approval because merging this PR also merges the seven open PRs below it, which I did not review here.What I ran
c7b702d4a27f6f8a1b61436bbe2472b27766f840main:157b02c4f1803e9d2cd757677b9a805961203fc44e6a2bfce0149f4914075916ec7cd1bd3172b050Results
main157b02c4f1CMakeLists.txt,ShaderMemory.cpp,ResourceMaterializer.cpp,ShaderDiskCache.cpp,debt/shader.md)git diff --checkcheck_conventions.py --base origin/mainAll conventions checks passed.main, validation layermain)VUID-linesmainwas not found but was requested by env var VK_INSTANCE_LAYERSInsert instance layer "VK_LAYER_KHRONOS_validation"28 times (merged tree) and 9 times (main)FormatVersionmainMerged tree, new tests
Negative control
I reversed only this PR's hunks over #9790's head in the five production files (
ControlFlowInfo.hpp,ResourceMaterializer.cpp,ResourceTracker.cpp,ShaderDiskCache.cpp,ShaderDiskCache.hpp), kept the tests, and rebuilt. I did not restore these files frommain: that would also remove the code of the six PRs below #9790, and #9790's own copy ofShaderDiskCache.cppno longer compiles against currentmain(static_assert(sizeof(IrValue) == 128)fails, since it is now 136). All three tests fail, each with the message the PR description predicts:Output with the PR's production hunks reverted
The tests passed again after I restored the merged files.
Findings
Blocking
None in this PR's own commits.
On the earlier reviews: the conflict with
mainthat adriadam10 reported is gone, because the head now merges cleanly intomain157b02c4f1. MarcZX10'sreadRangesfootprint gap is fixed by thetable.readRanges.size() * 4uterm inresolutionFootprint, and the negative control above shows thatagc_shader_disk_cachefails without that term. MarcZX10's latest re-check could not run the image-table assertions on their device; they run and pass here on an NVIDIA RTX 4070 Ti SUPER.Non-blocking
docs/dev/debt/shader.md:54says so, whileNarrowstarts its key list withvalues{0u}and adds the child word's key to it (ResourceMaterializer.cpp:834-855). The PR description is right ("maps only that record and key 0"). The entry also starts with the supported behaviour instead of the gap, which CONTRIBUTING's Documentation section asks for. Suggested fix: lead with the gaps (a key the dispatch reads differently from the snapshot faults outside the key domain; keys from two words, from a runtime-offset word, other data reads and stores through the V# stay refused), and say "the selected entry and key 0".main's merge base, GitHub shows 18 files, +2377/−107 for this PR, with the code of #7223, #7395, #8939, #9457, #9633, #9749 and #9790, all still open. This PR's own change over #9790's head is 9 files, +364/−39. The checklist declares the chain under Depends on, as CONTRIBUTING asks. This PR should merge only after #9790 and the PRs below it, or with their review completed.Not verified
4e6a2bfce0, which is why this is a comment and not an approval.To get this to a good state
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-29T23:41:00Z.
Review: COMMENTED
Re-checked — new head, comments
I rechecked head
ef707575db40ea95c3377fdb166f921a6114f675; the read-range fix remains present, the current-main preview is clean, and the reported Linux/Windows test run covers the same source tree.What I ran
ef707575db40ea95c3377fdb166f921a6114f675.upstream/main:1189ec3003672bb364dd9f3119ead7b3976e3c83.git merge-tree --write-tree upstream/main ef707575db40ea95c3377fdb166f921a6114f675produced tree8477b2a9550042be252abf69188d97cc5e72b265without conflicts.Results
8477b2a9550042be252abf69188d97cc5e72b265084bef73b29102fda3c377605518d727d6d36060; the child adds workflow files and does not change PR sourceLocal command output
Not verified
I did not run a local build or tests. The Linux/Windows and NVIDIA results above are from the author's linked reports: repeat verify run and NVIDIA validation report.
Findings
Blocking
None found in this re-check of the current head.
Non-blocking
The PR declares a stack through #9790, and those dependency PRs remain open. I am leaving a comment rather than approving this stacked diff; this is not a request for another rebase, since the current-main preview is clean.
To get this to a good state
No additional change is needed on this head based on this re-check. Revisit approval after the declared dependency stack is resolved and the resulting integration can be reviewed.
Imported from boykopovar/AnyPS5. Originally posted by XairRrR on 2026-11-03T08:26:30Z.
Review: CHANGES_REQUESTED
Reviewed — changes requested
This pull request does not merge cleanly into
main(4f41f4c375): headda1e1cccf5conflicts incore/shader/recompiler/ShaderDiskCache.hppdocs/dev/debt/shader.mdPlease rebase it onto current
main. I will review the change once it merges cleanly.Imported from boykopovar/AnyPS5. Originally posted by XairRrR on 2026-11-03T14:02:18Z.
Review: COMMENTED
Re-checked — comments
Since my last review,
ef707575dbrewrote the V#-relative child-key debt entry the way I suggested. The rest is merges ofmainand of the stack (#7223 and #7395 brought7f36e41c45and967f0dbebb) and aFormatVersionbump to 73. The checks, the 33 focused tests under the validation layer and the negative control all pass. This is still a comment rather than an approval because merging this PR also merges the open PRs below it, which I have not reviewed.What changed since my last review
I last reviewed
c7b702d4a2.ef707575dbrewrites the child-key entry indocs/dev/debt/shader.md:4769d5a745,6d8f907c5aand11366202db: test wording and refusal checks dropped.7f36e41c45(#7223): resets the nested key budgets on each snapshot retry. It also setshasIndirectfor nested image columns.967f0dbebb(#7395): applies the samehasIndirecttest to nested sampler columns.5fdf20fc3d: Windows PATH change for the retry tests.FormatVersionis now 73.main4f41f4c375is at 52.mainmerged in, most recently4f41f4c375in9e7ac694(the author's merge, with no conflict markers recorded).a12bac51d6(git diff a12bac51d6 da1e1cccf5) is still 9 files, +364/−39. Apart from the debt line and the format number, it covers the same code I reviewed before.ef707575dbagain. MarcZX10's latest re-check (COMMENTED) also leaves approval until the stack is resolved.What I ran
9e7ac694706cc144b983b3825f8c1a3589b2a168main:4f41f4c375f5abb487dbd184fbc150f31994d7625c13f75f893082cee59b2ac2ca08a12290319b0bgit diff --checkcheck_conventions.pyAll conventions checks passed.main.VUID-agc_driver_image_table)git status --porcelainis emptyPrevious findings
The debt entry said only the selected entry is mapped, and it led with the supported behaviour. Resolved.
docs/dev/debt/shader.md:62now:That matches
Narrow'sstd::vector<std::uint32_t> values{0u};atResourceMaterializer.cpp:881.Merging this PR merges the whole stack. Still open.
main4f41f4c375the PR diff is 19 files, +2522/−113.mainstill has neitherNestedColumnnornestedKeysRemaininginResourceMaterializer.cpp, and its debt file has no "Nested image tables" entry.Negative control
I reversed only this PR's own production hunks over #9790's head in five files,
ControlFlowInfo.hpp,ResourceMaterializer.cpp,ResourceTracker.cpp,ShaderDiskCache.cppandShaderDiskCache.hpp, and kept the tests. The hunks aregit diff a12bac51d6 da1e1cccf5, whereda1e1cccf5is the merge of #9790'sa12bac51d6into this branch.I did not restore the files from
main: that would also remove the stack's code, which these tests need.All three tests fail, each in the way the description predicts:
Output with the PR's own production hunks reverted (chains shortened)
After I restored the five files from the merged tree and rebuilt, the three tests passed again, and the worktree matched the merged tree.
New findings
Blocking
None.
Non-blocking
None. The commits new since my last review that are not this PR's own come from #7223 (
7f36e41c45) and #7395 (967f0dbebb,5fdf20fc3d). They passed here in the focused set, includingagc_shader_nested_snapshot_retryandagc_shader_nested_sampler_snapshot_retry. Their review belongs on those PRs.Not verified
a12bac51d6.To get this to a good state
FormatVersionabovemain's.Imported from boykopovar/AnyPS5. Originally posted by gabichuuuuu on 2026-11-07T21:03:21Z.
Review: COMMENTED
agc_driver_pointer_vsharp_child_key_arm_tablefails every run on an Intel iGPU on Windows and passes on the NVIDIA laptop GPU in the same machine. I found it testing #16814, which inherits the test, and it reproduces with this PR alone.Setup: head
ce65f496e6merged ontomain6b733c4ef2(clean). Windows 11 x64, WinLibs GCC 15.2.0 r7, Release,ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1.ctest -R '^agc_driver_pointer_vsharp_child_key_arm_table$'APS5_NO_SPANNED_WAVE=1The rest of
^(agc_driver_(image_table|nested|pointer)|agc_shader_(disk_cache|memory|nested_sampler))passes on both GPUs (agc_driver_image_table_vouched_lookupsskips on Intel).What differs. The description says a group that takes the arm faults with "outside the snapshot". That's what the NVIDIA run logs, with a pointer that is clearly not an address:
On the Intel iGPU, the same lane's pointer lands inside the snapshot, on a poison entry, and the test fails:
One of the five Intel runs failed differently instead:
... group 0 lane 16 is 0x00000000, expected 0xc27e0000 (palette 1, key 5).Both GPUs take the spanned-wave fallback for this shader (
falls back to two lanes per invocation: an OpControlBarrier in block %77 ...), and turning spanned waves off doesn't change the Intel result, so that's not it.My guess, which I haven't verified: the arm forms its pointer from the T#'s dwords 0 and 1, so where it points depends on where the T#'s data was placed. Here it happened to fall inside the captured range, so the lookup finds a poison entry rather than missing the snapshot. If so, the test depends on the address layout rather than the GPU, and the driver arguably should refuse an uncaptured arm's pointer the same way wherever it lands. Validation layer not available on this machine.
AI-assisted: yes.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-14T09:11:20Z.
Review: COMMENTED
Reviewed — no blocking findings
The reviewed changes have no verified blocking defect, but the new arm-table test has a reported unresolved failure on two Intel Windows GPUs.
What I ran
239ae90b7b9b57559225c3888cd9f0d263fbd58dusing the prepared diff and the pinnedrepo_read.pyreader.Results
Findings
Blocking
None verified.
Non-blocking
agc_driver_pointer_vsharp_child_key_arm_tableis reported failing on two Intel Windows GPUs, including incorrect descriptor selection, while passing on other reported devices. The cause remains unresolved, so the supported behavior is not yet established across those GPUs. Please investigate and add a regression test or document the supported limitation. Changed test:core/libs/prx/libSceAgcDriver/tests/execution/ImageTable.cpp:1847.Not verified
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cppwere excluded because the file was too large for the review folder; its changed sections were not read through the reader.review/description.md,review/commits.md,review/manifest.json,review/diff.patch; changed files read through the prepared folder or targeted reader includedShaderDiskCache.cpp,tests/cmake/agc_driver_image_table_tests.cmake,tests/cmake/agc_shader_memory_tests.cmake,tests/execution/BdaAnchorReads.cpp,tests/execution/ImageTable.cpp,ImageTableAbi.hpp,ControlFlowInfo.hpp,ResourcePlan.hpp,ResourceMaterializer.cpp,ResourceTracker.cpp,Recompiler.cpp,ShaderDiskCache.cpp,ShaderDiskCache.hpp,SpirvEmitterState.hpp,SpirvBdaRead.cpp,SpirvImageEmitter.cpp,SpirvMemoryInstructions.cpp, anddocs/dev/debt/shader.md.ShaderMemory.cppwas excluded as noted above.To get this to a good state
Nothing is required. Optional: investigate the Intel arm-table failure and add a regression test or document the supported limitation.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-16T12:25:45Z.
Review: COMMENTED
Reviewed — comments
The review covers head
20b045a8de854edfb48a079993827807bc9bf66b; no checks were run locally, and the reported Intel GPU failures remain unexplained.What I ran
I read the prepared description, commit list, manifest and diff, then used the pinned reader to inspect targeted sections of
ResourceTracker.cpp,ResourceMaterializer.cppandSpirvBdaRead.cpp. I did not run builds or tests. The full text ofShaderMemory.cppwas excluded from the review bundle because it was too large; I inspected only targeted reader results for its changed functions.Results
ShaderMemory.cppwas excluded from the bundleNegative control
Not run; no local test execution was available in this review.
Findings
Blocking
None verified.
Non-blocking
The description reports that
agc_driver_pointer_vsharp_child_key_arm_tablefails on two Intel iGPUs, including runs with faults and incorrect output, while passing on other tested devices. The cause is unresolved, so I could not verify whether the failure is in this change or the driver. Please investigate and document the outcome before treating this path as validated.Sources
Behavior claims about child-key planning and pointer-pair capture were checked against the changed code in
ResourceTracker.cppandResourceMaterializer.cpp. The Intel failure report and other platform test results come from the PR description and were not independently reproduced.Not verified
I did not read the full text of excluded
ShaderMemory.cpp, run tests, build the change, or verify console behavior. The PR description reports CI results, GPU runs and the unexplained Intel failures; those reports were not independently confirmed. The remaining changed files were present in the review bundle, but I did not inspect every changed line or full file.To get this to a good state
Nothing is required. Optional: investigate and document the reported Intel GPU failures.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-18T03:48:02Z.
Review: COMMENTED
Reviewed — comments
The review covers head
fff420ad1b40298d0c5865263a208f1cf872bdbf; a reported failure of a new pointer-arm test on two Intel Windows GPUs remains unexplained, so a formal approval is not justified.What I ran
No commands or tests were run. I read the prepared description, commits, manifest, and selected portions of the diff. The pinned repository reader was not used for source files.
ShaderMemory.cppwas excluded from the review folder; other included changed files were not all read in full.Results
Findings
Blocking
None verified from the inspected code.
Non-blocking
agc_driver_pointer_vsharp_child_key_arm_tablefailing on two Intel Windows GPUs, including wrong output or faults, with the cause untraced. Since this change adds pointer-arm pairing inResourceTracker.cpp:2201, please resolve the reported failure or document a confirmed driver limitation and the affected scope before treating the new shape as supported.Not verified
I did not read
ShaderMemory.cpp, all of the other changed files, or all hunks in the diff; behavior outside the inspected portions is not verified. No tests, CI jobs, or GPU runs were performed by this review. Reported CI and hardware results in the description were not independently checked.To get this to a good state
Nothing is required. Optional: investigate and report the Intel pointer-arm test failures before relying on this shape.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-19T06:09:59Z.
Review: COMMENTED
Reviewed — no blocking findings
The reviewed head is
630bbb0a2e23753ba60372e597bf65d10eddcd9e; I found no verified blocking defect, but the documented Intel failure makes approval unjustified. Nothing blocks this; the points below are optional.What I ran
No commands or tests were run. I inspected the prepared diff and targeted code at the pinned head.
Results
Findings
Blocking
None.
Non-blocking
agc_driver_pointer_vsharp_child_key_arm_tablefailing on two Intel iGPUs, including a wrong texel or faults, with no confirmed cause. This is a known unresolved behavior in a new execution test. Consider diagnosing the Intel-specific failure or documenting the supported scope and follow-up before merge. Changed test registration:core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_table_tests.cmake:259.ResourceTracker.cppand author-reported synthetic coverage support the intended constraints, but runtime behavior beyond those reports remains unverified.Not verified
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cppwas excluded from the review bundle for size; only its changed retry helper region was read through the repository reader. Other files with included full text were not exhaustively read; targeted code only was inspected.To get this to a good state
Nothing is required. Optional: investigate and resolve or track the Intel arm-table test failure described above.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-20T05:22:58Z.
Review: COMMENTED
Reviewed — comments
The change adds nested and pointer keyed image and sampler tables, but the reported Intel failures in the new pointer arm test remain unexplained and I did not run the checks.
What I ran
Inspected the prepared review bundle and targeted source ranges at head
dc97c68c759dd1000680dd2f54af1d594aeeae48usingrepo_read.py. No tests or builds were run.Results
Negative control
Not run; no tests were executed.
Findings
Blocking
None verified.
Non-blocking
agc_driver_pointer_vsharp_child_key_arm_tablefails on two Intel iGPUs, including a wrong texel in one run, and says the cause is untraced. The change adds this pointer keyed path atcore/shader/recompiler/Optimization/src/ResourceTracker.cpp:1364. Please investigate and document the Intel behavior before relying on this path across supported GPUs. I could not reproduce or attribute the failures from the source ranges inspected.Sources
ResourceTracker.cpp,ResourceMaterializer.cpp, andShaderMemory.cpp.Not verified
I did not read every changed file or every changed hunk. In particular,
ShaderMemory.cppwas too large for the review folder and only targeted ranges were read. Other included changed files were not read.description.md,commits.md,manifest.json, anddiff.patchwere inspected;files.jsonwas not available through the reader. Tests, builds, CI results, and GPU behavior were not independently verified; the reported Intel failures remain unconfirmed by this review.To get this to a good state
Nothing is required. The optional point above is to investigate the reported Intel pointer arm test failures.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-23T05:51:43Z.
Review: COMMENTED
Reviewed — comments
The review covers selected planning, materialization, cache, and BDA changes at head
78bdc144929af9d39849673216b1bdfa4845cbbe; a formal approval is not justified because several changed files were not reviewed and a new test is reported to fail on Intel iGPUs.What I ran
Read the prepared PR description, commit list, selected diff hunks, and targeted repository ranges through
repo_read.py. No tests or build commands were run. The stated base ismain; no merged-preview check was run.Results
Findings
Blocking
None verified.
Non-blocking
agc_driver_pointer_vsharp_child_key_arm_tabletest fails on two Intel Windows iGPUs, while passing on other tested GPUs, and that the cause is unresolved. Please investigate and resolve or clearly isolate this platform failure before treating the hardware coverage as green. The test is registered atcore/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_table_tests.cmake:22.Not verified
review/description.md,review/commits.md, selected ranges ofreview/diff.patch,review/manifest.json,core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp,core/shader/recompiler/Optimization/src/ResourceTracker.cpp,core/shader/recompiler/SpirvBackend/src/SpirvBdaRead.cpp, andcore/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvMemoryInstructions.cpp.core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cppas excluded fromfiles/; only its prepared diff hunk was inspected.To get this to a good state
Nothing is required. Optional: investigate the reported Intel test failure and complete review of the remaining changed files before making a formal approval decision.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-26T11:31:40Z.
Review: COMMENTED
Reviewed — comments
Material platform uncertainty remains because the new arm-table test fails on two Intel Windows iGPUs, and the cause is untraced.
What I ran
Reviewed head
cc3592067ad9b9bf1ea9fc7a8c780f5e9039684eagainst the prepared description, commit list, manifest, diff, and targeted source ranges usingrepo_read.py. No tests or build commands were run.Results
Findings
Blocking
None verified.
Non-blocking
core/libs/prx/libSceAgcDriver/tests/execution/ImageTable.cpp:2840— The arm-table test is reported to fail on two Intel Windows iGPUs, including a wrong-texel result in one run, while passing on NVIDIA, AMD RADV, and llvmpipe. The report does not establish whether this is a driver/compiler issue or a defect in the new pointer-pairing path. Please isolate the failing path and add a reproducer or document the confirmed cause before relying on this test as coverage for that behavior.Not verified
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cppfull text was excluded as too large; its changed hunks were present in the prepared diff.ShaderMemory.cpp; targeted review covered the coreResourceTracker.cpp,ResourceMaterializer.cpp, andImageTable.cppranges relevant to the findings and changes described above, not every included file in full.To get this to a good state
Nothing is required. Please share the cause or an isolated reproducer for the Intel Windows arm-table failure as an optional follow-up.
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.