Repository navigation
Conversation
TryMakeIndirectColumn refused every pointer hop once the record's pointer words were merged, so a T# read through a pointer loaded from a pointer-keyed record pointer stayed unplanned (Gran Turismo 7's World Map compute shaders, issue boykopovar#6191). Only buffer handles still refuse hops: the materializer keys the records by the innermost pointer before it follows the hops, and the plan's parent pointer is that innermost one.
…one-key child From hugodearaujo's change on boykopovar#8939 (Marvel's Spider-Man 2, PPSA03016).
Spider-Man 2's shape: a record keyed by a first-lane read, its dwords 2-3 a pointer, a V# loaded at that pointer plus 0xa0, and the T# read at offset 0 or 0x40 of that V#'s buffer with no second key. Two records point at V#s of different T#s; a moved record pointer and a moved V# must change the result without recompiling.
…e-family-6191
# Conflicts: # core/libs/prx/libSceAgcDriver/CMakeLists.txt
…at, 53 The format ladder along the stack is boykopovar#8939 51 and this PR 53, so a cache written by boykopovar#8939's recompiler is not read as this one's.
# Conflicts: # core/shader/recompiler/Optimization/src/ResourceTracker.cpp
…at, 55 boykopovar#8939 now takes 53, and 54 is held by boykopovar#10489, so this PR takes 55.
…at, 67 boykopovar#8939 now takes 66, and no open pull request uses a number above it, so this PR takes 67.
4769d4a is boykopovar#8939 with boykopovar#7395's merge of main after boykopovar#7223. The one conflict is this branch's FormatVersion 67.
Takes boykopovar#8939's FormatVersion 80, which is above this branch's 67; the next commit gives this branch its own number.
…at, 81 boykopovar#8939 now takes 80, above this PR's 67, so this PR takes 81, the lowest number above it that no open PR uses, and a cache written by another branch's recompiler is not read as this one's.
Moves this branch's FormatVersion to 95, above boykopovar#8939's 94.
Moves this branch's FormatVersion from 95 to 98, above boykopovar#8939's 97.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Two shapes from boykopovar#6191's family that the planner still refuses on boykopovar#8939. Each gets its own commit and test.
1. Pointer hops after a pointer-keyed record pointer (Gran Turismo 7 (PPSA01317), frankea on boykopovar#6191, comment).
The chain: 28 of the World Map's 29 refused compute shaders read a record (an SRT V#, a
readfirstlanekey in a waterfall loop) whose dwords 2-3 are a pointer P1. P1's words are a Phi of the record read under several keys and aBallotlane-mask word. ThenP2 = [P1 + 0]and the T# at[P2 + 0x340]:Why it refuses:
TryMakeIndirectColumnrefuses any pointer hop once the record pointer is merged:if (!hops.empty() && (buffer || merged)) return false;.What the steps after it already do for a pointer-keyed column: the snapshot stores each record's pointer before it applies
pointerHops. The shader looks the T# up by the record-level pointer (parentPointer).ShaderDiskCachealready serializes and accepts hops on such columns.The change: the guard now refuses hops only for buffer columns.
2. A T# at a fixed offset of a pointer-loaded V# (Marvel's Spider-Man 2 (PPSA03016), hugodearaujo on boykopovar#8939, comment).
The chain: a record keyed by
readfirstlane << 4, dwords 2-3 a pointer, a V# loaded at that pointer plus an immediate, and the T# read at a fixed offset of that V#'s buffer, with no second key:Why it refuses:
TryMakeTableColumnrefused it, becauseMatchAffineOffsetfails on an immediate offset.The change: hugodearaujo's change, kept as their commit. A fixed offset under a pointer-loaded V# becomes a one-key child of the nested path: key 0, stride the descriptor size, addend the immediate. A fixed offset under a runtime V# still refuses, as before.
Not in this PR:
0x120aed7f00, a table V# carried around a loop that callees overwrite). It looks like the shape fix(shader): split descriptor webs whose paths fold or hold invalid arms boykopovar/AnyPS5#8077 handles.mainthe title doesn't stop there. fix(shader): narrow a goto junction Phi to the arm its branch allows boykopovar/AnyPS5#14636 removed the title'spc=0x62d4GetSamplerResourcerefusal: with fix(shader): narrow a goto junction Phi to the arm its branch allows boykopovar/AnyPS5#14636's merge reverted,mainf57c971 aborts on it again (dantdmdarealguy's run). Tamalero's run ofmain4e2acc2 with fix(libSceAjm.native): keep an ATRAC9 gapless segment ended after its total boykopovar/AnyPS5#18522, on RADV withAPS5_MAX_COMPUTE_SPIRV_WORDS=2000000andAPS5_SKIP_REFUSED_DISPATCHES=1(which skips and logs any compute shader whose recompile fails, code), reaches the first gameplay; the only shaders it skipped were two dropped for size (comment).Overlap:
TryMakeIndirectColumnwhen every arm is the same table read. The shapes here have arms under different keys and aBallotword, which fix(shader): resolve table column pointers through Phi nodes boykopovar/AnyPS5#7880 leaves refused. The two compose: an equivalent-arm Phi can take fix(shader): resolve table column pointers through Phi nodes boykopovar/AnyPS5#7880's plain column, and the rest the pointer-keyed one. The textual overlap is in feat(shader): read samplers through nested and pointer-keyed descriptor tables boykopovar/AnyPS5#7395's and fix(shader): take lane-mask arms and a merged high word in a pointer-keyed record pointer boykopovar/AnyPS5#8939's lines, which this PR stacks on.mainis at 88 since Pipodi's fix(agc): give storage image table elements UINT views when their kind needs one boykopovar/AnyPS5#18455. Ours take one number each: feat(agc): look up table images at run time through a device image table on the GPU heap (APS5_GPU_PATH) boykopovar/AnyPS5#7642 62 (a draft, held; it takes a free number at its refresh), feat(shader): read samplers through nested and pointer-keyed descriptor tables boykopovar/AnyPS5#7395 93, fix(shader): take lane-mask arms and a merged high word in a pointer-keyed record pointer boykopovar/AnyPS5#8939 94, fix(shader): follow pointer hops and fixed-offset V# reads behind a record pointer boykopovar/AnyPS5#9457 95, fix(shader): follow a conditional pointer chase through a V# behind a pointer-keyed record pointer boykopovar/AnyPS5#9633 96, fix(shader): read a chased pointer's high word at its own offset boykopovar/AnyPS5#9749 97, fix(shader): plan several T#s read through one pointer-loaded V#, keeping the V# real for their other uses boykopovar/AnyPS5#9790 98 and fix(shader): index a pointer-loaded V#'s T# array by a word read from the same buffer boykopovar/AnyPS5#9969 99. The other open PRs changing it hold 89 (feat(shader): flatten oversized 1D image arrays to 2D boykopovar/AnyPS5#14871, fix(shader): preserve runtime-proven formatted buffer read extents boykopovar/AnyPS5#19852, fix(shader): keep the destination of a buffer load through a TYPE 2 or 3 V# boykopovar/AnyPS5#21199 and fix(shader): evaluate float-to-signed conversions in runtime SRT values boykopovar/AnyPS5#21240), 90 (fix(shader): keep faulting invocations in their wave and mask their later writes boykopovar/AnyPS5#6416, and fix(shader): let a V# read again at dispatch feed plain reads boykopovar/AnyPS5#16812 and fix(shader): let a word of a V# read again at dispatch feed a pointer boykopovar/AnyPS5#16814, both stacked on fix(shader): index a pointer-loaded V#'s T# array by a word read from the same buffer boykopovar/AnyPS5#9969), 91 (feat(agc): export stencil operation values through an attachment boykopovar/AnyPS5#10351) and 92 (fix(shader): skip a bit-field low word in a pointer-keyed table's Phi boykopovar/AnyPS5#14853), and the rest hold numbers at or belowmain's, from a check of every open PR's head on 11-16. fix(shader): follow a conditional pointer chase through a V# behind a pointer-keyed record pointer boykopovar/AnyPS5#9633, fix(shader): read a chased pointer's high word at its own offset boykopovar/AnyPS5#9749, fix(shader): plan several T#s read through one pointer-loaded V#, keeping the V# real for their other uses boykopovar/AnyPS5#9790 and fix(shader): index a pointer-loaded V#'s T# array by a word read from the same buffer boykopovar/AnyPS5#9969 stack on this PR, above its 81. Whichever lands second on a number takes the next free one.ResourceTracker.cpp: this PR'sfixedrefusal and feat(agc): opt-in bindless image heap for sampled image tables boykopovar/AnyPS5#20519'sruntimeAddress()return both stay. Its own test options keep both, and itsFormatVersionconflict keeps this PR's number, above feat(agc): opt-in bindless image heap for sampled image tables boykopovar/AnyPS5#20519's 89. Merge order: this stack first, as proposed in feat(agc): opt-in bindless image heap for sampled image tables boykopovar/AnyPS5#20519's thread (comment). If feat(agc): opt-in bindless image heap for sampled image tables boykopovar/AnyPS5#20519 lands first, a merge ofmainresolves it here.Tested
main(11-13):main7201da4, which has fix(shader): narrow a goto junction Phi to the arm its branch allows boykopovar/AnyPS5#14636, still refuses this PR's shapes: its three tests fail 3 of 3 with fix(shader): take lane-mask arms and a merged high word in a pointer-keyed record pointer boykopovar/AnyPS5#8939 merged and this PR's code left out, and pass 3 of 3 with this PR merged (llvmpipe, a cloud Linux machine).tests/execution/ImageTable.cpp(lavapipe, Linux, CI's flags):agc_driver_pointer_hop_table: Gran Turismo 7's shape, aBallot-merged P1, a hop at +0 and the T# at +0x340, across four key groups. It checks every lane's color. The constant arm and theBallotarm each fault outside the snapshot. A re-pointed link block is followed without a recompile.GetImageResource dword 0 is not a valid runtime value; chain: LoadAddressU32@pc=0x000000b4(GetAddressResource(LoadAddressU32@pc=0x000000a8(GetAddressResource(Phi(Immediate, Phi(ReadConstBuffer@pc=0x00000074(...), CompositeExtractU32x4(Ballot(LogicalAnd), Immediate))), ...agc_driver_pointer_vsharp_fixed_tableandagc_driver_pointer_vsharp_fixed_offset_table: Spider-Man 2's shape, with the T# at offsets 0 and 0x40. A moved record pointer and a moved V# are both followed without a recompile.GetImageResource dword 0 is not a valid runtime value; chain: ReadConstBuffer@pc=0x0000008c(GetBufferResource(LoadAddressU32@pc=0x00000080(GetAddressResource(ReadConstBuffer@pc=0x00000074(...image_table|pointer(23 tests) ×5 and the disk-cache and ShaderMemory tests (10) pass. The full CI ctest gives 1834/1838; the 4 failures areagc_driver_pipelined_fill(a flake on main too) and 3 IPv6 socket tests the machine can't run. Registration and conventions pass.FormatVersion, 95, its number on the stack's format ladder (see Tested). Refusals are never stored, no serialized field changes, and the cache's source version hashesResourceTracker.cpp.precise_wait(libc, Linux), which also failed on both sides in fix(agc): let draw relocation aliases name a cached key, not hold its entry boykopovar/AnyPS5#9396's runs, andguest_raise_in_system_call(libkernel, Windows), a 30 s timeout seen in other runs on that runner.maind6eafa5 (clean).668118771and0843cca39, tests kept), the 3 new ctests fail on both GPUs with the chains above. The other 13nested_/pointer_tests pass.agc_driver_(nested_|pointer_)tests pass 3 of 3 on each GPU, none skipped, andimage_table|pointer|disk_cache|shader_memory|sampler_table(27 tests) passes 3 of 3 on each.^agcsuite on the 3070 (877 tests, withoutdisplay_buffer_dcc,driver_flipandlds_atomics64): 874 pass and 1 skips. The 3 failures,agc_driver_sample_order,_grid_referenceand_recipe_depth_locations, fail the same way onmainon that card.maincc00785 merged in (clean; the PR's own diff is unchanged), on GitHub's runners (run):nested_/pointer_tests and the disk-cache tests pass 10 of 10, none skipped. libkernel's suite passes. libc's one failure,precise_wait, fails the same way withmain's implementation.check_conventions.pypasses on the merged head.mainagainst this head (run): one GitHub Linux runner, Ubuntu 24.04.5, llvmpipe (Mesa 25.2.8, LLVM 20.1.2),ANYPS5_REQUIRE_VULKAN=1,ANYPS5_NO_SHADER_CACHE=1andVK_LAYER_KHRONOS_validation. This head's arm ran 3 times, its 20 tests passing each time, andmain's once, its 4 tests passing; none skipped or failed.main, so its arm runs the image-table tests it has,agc_driver_image_table_vouched_lookupsandagc_driver_image_table_vouch_queued_draws, with the disk-cache tests. This head's arm runs those and the 16.VUID-VkDeviceCreateInfo-pNext-pNext, and this head adds noVUID-message.main0c6a5bd with fix(agc): resolve indexed indirect draws on a queue that never set INDEX_BUFFER_SIZE boykopovar/AnyPS5#9424.ReadConstBuffer@pc=0x8560, at 142 s and 146 s. With fix(shader): take lane-mask arms and a merged high word in a pointer-keyed record pointer boykopovar/AnyPS5#8939 (a7d1e62) added it stops there too, at 137 s in both runs.ReadConstBuffer@pc=0x8fa0overLoadAddressU32@pc=0x8f54.agc_shader_replayof the request that stopped at 0x8560 in a fix(shader): take lane-mask arms and a merged high word in a pointer-keyed record pointer boykopovar/AnyPS5#8939 run refuses at 0x8fa0 as well.main, because the merged head doesn't get that far on this title: since fix(libs): libs funcs abi debt 2026 10 20 boykopovar/AnyPS5#9137 it throws in the title's first 40 s onsceSystemServiceParamGetInt(parameter 100, then 208 and 210). The PR's own diff is the same in both heads.main0db47b2. The only conflict wasShaderDiskCache.hpp'sFormatVersionline:mainmoved to 45 (fix(shader): normalize offset perspective barycentrics after interpolation boykopovar/AnyPS5#7831), and this branch keeps its 46. On GitHub's runners (run), the pointer, nested, image-table and disk-cache sets (25 tests) pass 10 runs in a row on Linux. On Windows the set has 27, with two Windows-only disk-cache tests: they build, 5 pass 10 runs in a row, and the other 22, 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.agc_shader_replay --preparewithANYPS5_NO_SHADER_CACHE=1on the requests the driver dumped at use, RTX 4090, Windows 11. Replay only, on their GT7 integration branch (main513ca7e with the GT7 pull requests in Gran Turismo 7 (PPSA01317) boykopovar/AnyPS5#4697's list and local diagnostics), without and with fix(shader): index a pointer-loaded V#'s T# array by a word read from the same buffer boykopovar/AnyPS5#9969 at 7588a53, which carries this PR at 7f3a25e with fix(shader): plan several T#s read through one pointer-loaded V#, keeping the V# real for their other uses boykopovar/AnyPS5#9790, fix(shader): take lane-mask arms and a merged high word in a pointer-keyed record pointer boykopovar/AnyPS5#8939, feat(shader): read samplers through nested and pointer-keyed descriptor tables boykopovar/AnyPS5#7395 and feat(shader): resolve nested image tables through runtime pointers boykopovar/AnyPS5#7223.Ballotword with arms that are the pointer loaded at 0x20ec, so on some edges the second hop starts from the first hop's result. This PR doesn't plan that shape.0x120aed7f00is unchanged (0x19a0 behind 0x198c), the shader this PR leaves out.main379b1dc). It's clean, and this PR's own diff is unchanged. The planner behaviour changes underneath it: It brings the planner changes of feat(shader): read samplers through nested and pointer-keyed descriptor tables boykopovar/AnyPS5#7395's and fix(shader): take lane-mask arms and a merged high word in a pointer-keyed record pointer boykopovar/AnyPS5#8939's merges: a record pointer counts as merged only when its Phi isn't a single record read; an unmerged pointer's low word is unwrapped as fix(shader): resolve table column pointers through Phi nodes boykopovar/AnyPS5#7880 does, and refused when it isn't a table read; and fix(shader): take lane-mask arms and a merged high word in a pointer-keyed record pointer boykopovar/AnyPS5#8939's new commit refuses a pointer-keyed Phi edge whose two words are both immediates.agc_shader_bindless,agc_shader_memoryand the^agc_driver_pointer_,^agc_driver_nested_,^agc_driver_image_tableand^agc_shader_disk_cachetests. Linux: 27 run, 27 pass, 0 skip, 0 fail. Windows: 29 run, 7 pass, 22 skip (Vulkan device tests; the runner has none), 0 fail.APS5_SKIP_TIMING_TESTS=1, which relaxesprecise_wait's median bounds on GitHub's hosted runners.mainc9b2660). Clean:FormatVersionfollows feat(shader): read samplers through nested and pointer-keyed descriptor tables boykopovar/AnyPS5#7395's 50, and this PR's own diff is unchanged. 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: 27 run, 27 pass, 0 skip, 0 fail. Windows: 29 run, 7 pass, 22 skip (no Vulkan device), 0 fail. 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.mainc8d34aa). Clean:FormatVersionfollows feat(shader): read samplers through nested and pointer-keyed descriptor tables boykopovar/AnyPS5#7395's 50, and this PR's own diff is unchanged: the merge brings in exactly what feat(shader): read samplers through nested and pointer-keyed descriptor tables boykopovar/AnyPS5#7395'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: 27 run, 27 pass, 0 skip, 0 fail. Windows: 29 run, 7 pass, 22 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.mainaeff26b, WinLibs GCC 15.2.0, Release,ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1, no validation layer.pointer_andnested_table tests,image_table,vouch,disk_cacheand theagc_shader_tests, 66 entries, pass on both GPUs.ResourceTracker.cpphunks of 6681187 and 0843cca reverted,agc_driver_pointer_hop_table,agc_driver_pointer_vsharp_fixed_tableand_fixed_offset_tablefail on both GPUs, the same three as in jotitadev's RTX 3070 control.agc_entries, the same ones fail with and without the stack.main0cd07dc (run).main0cd07dc. One conflict, inTryMakeIndirectColumn(ResourceTracker.cpp): mrfelek's fix(shader): plan an image table for a T# read at a first-lane offset boykopovar/AnyPS5#10228 lets a non-address offset that isn't affine or masked match as a first-lane offset (MatchFirstLaneOffset), on the line where this PR's fixed-offset case (hugodearaujo's 0843cca) branches off. The merge keeps both: an immediate offset on a pointer-loaded V# takes the fixed path first, and otherwise the affine, masked and then first-lane matches run as onmain. This PR's changed lines are the same.agc_shader_memorycarries fix(shader): plan an image table for a T# read at a first-lane offset boykopovar/AnyPS5#10228's first-lane cases) ran 10 times with no failure. Linux: 10 run, 10 pass, 0 skip, 0 fail. Windows: 12 run, 6 pass, 6 skip (the Vulkan device tests), 0 fail.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 at 1829def (job). The suites ran withAPS5_SKIP_TIMING_TESTS=1, which relaxesprecise_wait's median bounds on GitHub's hosted runners.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 at 1829def (job). The suites ran withAPS5_SKIP_TIMING_TESTS=1, which relaxesprecise_wait's median bounds on GitHub's hosted runners.main38ccd50 and with it fix(agc): sample cube descriptors with fewer than six slices as six faces boykopovar/AnyPS5#11507'sFormatVersion49 (run). Clean:FormatVersionstays 53 (see What), and this PR's diff over fix(shader): take lane-mask arms and a merged high word in a pointer-keyed record pointer boykopovar/AnyPS5#8939 is the same. The hop, fixed-offset, vouch, sample-order and nested-sampler tests with the disk-cache, bindless and shader-memory tests and fix(agc): sample cube descriptors with fewer than six slices as six faces boykopovar/AnyPS5#11507'sagc_driver_image_sample_short_cuberan 10 times with no failure. Linux: 12 run, 12 pass, 0 skip, 0 fail. Windows: 14 run, 6 pass, 8 skip (the Vulkan device tests), 0 fail. 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 at 1829def (job). The suites ran withAPS5_SKIP_TIMING_TESTS=1, which relaxesprecise_wait's median bounds on GitHub's hosted runners.agc_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), feat(shader): read samplers through nested and pointer-keyed descriptor tables boykopovar/AnyPS5#7395's merge of feat(shader): resolve nested image tables through runtime pointers boykopovar/AnyPS5#7223's 0dbf547 (yabanana's merge ofmainf7e84c4) and fix(shader): take lane-mask arms and a merged high word in a pointer-keyed record pointer boykopovar/AnyPS5#8939's format commit. Clean.agc_shader_bindlessandagc_shader_memoryran 10 times with no failure. Linux: 27 run, 27 pass, 0 skip, 0 fail. Windows: 29 run, 8 pass, 21 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.APS5_SKIP_TIMING_TESTS=1, which relaxesprecise_wait's median bounds on GitHub's hosted runners.main3741ca9, 2,538 of 3,121 tests selected.main, and 2 are unstable onmain.VK_LAYER_KHRONOS_validation, over 945 tests on the GPU, there are no new validation IDs againstmain. 15 of the nested and pointer table tests ran with the layer but aren't inmain's baseline, so they weren't compared.mainb08c539 (run).FormatVersionline, which the next commit replaces, andagc_driver_image_table_tests.cmake, where this PR's registrations already include fix(shader): take lane-mask arms and a merged high word in a pointer-keyed record pointer boykopovar/AnyPS5#8939's.agc_shader_bindlessandagc_shader_memoryran 10 times with no failure. Linux: 29 run, 29 pass, 0 skip, 0 fail. Windows: 31 run, 10 pass, 21 skip, 0 fail; the 21 skip because the runner has no Vulkan device. The libc and libkernel suites run 199 and 308 tests on Linux and 226 and 330 on Windows, with 0 failed. The suites ran withAPS5_SKIP_TIMING_TESTS=1, which relaxesprecise_wait's median bounds on GitHub's hosted runners.VK_LAYER_KHRONOS_validationon GitHub's Linux runner (run),mainb08c539 against this head, for the same tests. The loader inserted the layer 8 times onmainand 23 with this head. The only VUID in either arm isVUID-VkDeviceCreateInfo-pNext-pNext, for a device struct (VkPhysicalDeviceMaintenance8FeaturesKHR) newer than that layer version, so this head adds none.agc_driver_image_tablefails in that mode in both arms, because the mode treats thatmainmessage as a failure.main88e804b (run). Clean:FormatVersionstays 67, and this PR's own diff is unchanged. The shader-memory, nested, pointer, image-table, disk-cache and bindless tests, with fix(shader): split scalar-address descriptor phis boykopovar/AnyPS5#7694'sagc_shader_descriptor_phis, pass 10 runs in a row. Linux: 30 run, 30 pass, 0 skip, 0 fail. Windows: 32 run, 11 pass, 21 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 ontomain88e804b on an RTX 2000 Ada (report): 2,569 passed, 4 failed, none new (3 also fail onmain, 1 unstable onmain), 45 skipped, with no new validation IDs (988 tests on the GPU).main4f64f81 for feat(agc): sample 1D arrays past maxImageArrayLayers as rows of a 2D image boykopovar/AnyPS5#12246 (run). Clean:FormatVersionstays 67, and this PR's own diff is unchanged since 04d09ee. TheResourceMaterializer.cppresolution, with feat(agc): sample 1D arrays past maxImageArrayLayers as rows of a 2D image boykopovar/AnyPS5#12246's view loop moved back intoSnapshot, comes from feat(shader): read samplers through nested and pointer-keyed descriptor tables boykopovar/AnyPS5#7395's merge (see feat(shader): read samplers through nested and pointer-keyed descriptor tables boykopovar/AnyPS5#7395). The shader-memory, nested, pointer, image-table, disk-cache and bindless tests, with fix(shader): split scalar-address descriptor phis boykopovar/AnyPS5#7694'sagc_shader_descriptor_phis, pass 10 runs in a row. Linux: 30 run, 30 pass, 0 skip, 0 fail. Windows: 32 run, 11 pass, 21 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.main4f41f4c (×10, the PR's own tests ×10).ShaderDiskCache.hpp'sFormatVersion, wheremainis now at 52 (feat(shader): raise the sampler and sampled-pair limits past the 32-bit sampler masks boykopovar/AnyPS5#10000) and this PR keeps its 67; 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: 15 run, 15 pass, 0 skip, 0 fail. Windows: 15 run, 0 pass, 15 skip (no Vulkan device), 0 fail.mainc2eafe4 with yabanana's feat(shader): resolve nested image tables through runtime pointers boykopovar/AnyPS5#7223 through feat(shader): read samplers through nested and pointer-keyed descriptor tables boykopovar/AnyPS5#7395 (×10).ShaderDiskCache.hpp'sFormatVersion, which stays 67 (mainis at 56 since feat(shader): resolve nested image tables through runtime pointers boykopovar/AnyPS5#7223). 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: 30 run, 30 pass, 0 skip, 0 fail. Windows: 32 run, 10 pass, 22 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,903 of 3,878 tests selected. 2,848 passed, 5 failed and 50 skipped. None of the failures is new: 3 also fail onmain, and 2 are unstable onmain. WithVK_LAYER_KHRONOS_validation, there are no new validation IDs againstmain, over 985 tests on the GPU.agc_shader_nested_sampler_snapshot_retryran with the layer but isn't inmain's baseline, so it wasn't compared.main1c8c0ef, Mesa 25.2.8, Ubuntu 26.04.1, 3,846 tests run. 3,766 passed, 18 failed and 62 skipped. None of the failures is new: 11 also fail onmain, and 7 are unstable onmain. WithVK_LAYER_KHRONOS_validation, there are no new validation IDs againstmain, over 1,441 tests on the GPU. 84 tests, among them this PR's nested and pointer tests, ran with the layer but aren't inmain's baseline, so they weren't compared.APS5_DUMP_SHADERS), throughagc_shader_replay. Thepc=0xb600GetSamplerResourcestop is gone: that S# sits at a fixed offset of a V# loaded through the record's pointer, which this PR plans (feat(shader): read samplers through nested and pointer-keyed descriptor tables boykopovar/AnyPS5#7395 plans it only at a keyed offset). The same request then stops at a T# atpc=0xb9f8(GetImageResource dword 0).pc=0xb600and stops 148 s in at thepc=0xb9f8T#.pc=0xb9f8(see feat(shader): read samplers through nested and pointer-keyed descriptor tables boykopovar/AnyPS5#7395).main8eaf82f through feat(shader): read samplers through nested and pointer-keyed descriptor tables boykopovar/AnyPS5#7395 (×10).main, JJenkx's docs(debt): record that an unstable runtime resource snapshot ends the title boykopovar/AnyPS5#15305's debt entry, and 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: 31 run, 31 pass, 0 skip, 0 fail. Windows: 33 run, 10 pass, 23 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.main006d11f through feat(shader): read samplers through nested and pointer-keyed descriptor tables boykopovar/AnyPS5#7395 (×10).main, frankea's feat(agc): blend into 11_11_10 float color targets in the pixel shader boykopovar/AnyPS5#9020'sFormatVersion57, andFormatVersionstays 67 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: 31 run, 31 pass, 0 skip, 0 fail. Windows: 33 run, 10 pass, 23 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.maindd7c8de through feat(shader): read samplers through nested and pointer-keyed descriptor tables boykopovar/AnyPS5#7395 (×10).main, feat(shader): raise the image limit to 128 and name the counts in its refusals boykopovar/AnyPS5#10489'sFormatVersion60 and its rewording of the image-table debt entry, andFormatVersionstays 67 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: 45 run, 45 pass, 0 skip, 0 fail. Windows: 47 run, 10 pass, 37 skip (no Vulkan device), 0 fail. The libc and libkernel suites run 344 and 346 tests on Linux and 375 and 373 on Windows, with 0 failed. The suites ran withAPS5_SKIP_TIMING_TESTS=1, which relaxesprecise_wait's median bounds on GitHub's hosted runners.main017bd95 through fix(shader): take lane-mask arms and a merged high word in a pointer-keyed record pointer boykopovar/AnyPS5#8939 and feat(shader): read samplers through nested and pointer-keyed descriptor tables boykopovar/AnyPS5#7395 (×10).FormatVersion, where fix(shader): take lane-mask arms and a merged high word in a pointer-keyed record pointer boykopovar/AnyPS5#8939 now takes 80, above this PR's 67. The merge takes 80, and the format commit moves this PR to 81. This PR's own lines are unchanged apart from theFormatVersionline.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: 45 run, 45 pass, 0 skip, 0 fail. Windows: 47 run, 10 pass, 37 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 onmain7259cce alone (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: Everyagctest also ran once on fix(shader): read a chased pointer's high word at its own offset boykopovar/AnyPS5#9749's tree, which holds this PR (run): Linux 1,530 run, 1,437 pass, 93 skip, 0 fail; Windows 1,573 run, 467 pass, 1,106 skip (no Vulkan device), 0 fail.maine22c5fb through fix(shader): take lane-mask arms and a merged high word in a pointer-keyed record pointer boykopovar/AnyPS5#8939 and feat(shader): read samplers through nested and pointer-keyed descriptor tables boykopovar/AnyPS5#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: 46 run, 46 pass, 0 skip, 0 fail. Windows: 48 run, 11 pass, 37 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.maine22c5fb against that head, withVK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation,ANYPS5_NO_SHADER_CACHE=1andANYPS5_REQUIRE_VULKAN=1underctest -V, over the stack's focused tests: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.mainbd278f3 through fix(shader): take lane-mask arms and a merged high word in a pointer-keyed record pointer boykopovar/AnyPS5#8939 and feat(shader): read samplers through nested and pointer-keyed descriptor tables boykopovar/AnyPS5#7395 (×10).FormatVersion:main's 69, this PR's 81. feat(shader): read samplers through nested and pointer-keyed descriptor tables boykopovar/AnyPS5#7395's merge takes perf(shader): read a pass-through input that the pixel shader reads only at P0 as a flat input boykopovar/AnyPS5#19530's move ofmainfrom 68 to 69, and this PR's own diff over fix(shader): take lane-mask arms and a merged high word in a pointer-keyed record pointer boykopovar/AnyPS5#8939 is unchanged.APS5_SKIP_TIMING_TESTS=1, which relaxes onlyprecise_wait's median bounds on GitHub's hosted runners._putenv_stest fix (#19899) on top, becausemain's Windows test build breaks without it ("'setenv' was not declared" inUploadCacheReadOnlyFlush.cpp, from perf(agc): reuse read-only guest buffer uploads boykopovar/AnyPS5#18037); it isn't on this branch.main328cbf6 through fix(shader): take lane-mask arms and a merged high word in a pointer-keyed record pointer boykopovar/AnyPS5#8939 and feat(shader): read samplers through nested and pointer-keyed descriptor tables boykopovar/AnyPS5#7395 (×10, with #21255's test change).FormatVersion, where fix(shader): take lane-mask arms and a merged high word in a pointer-keyed record pointer boykopovar/AnyPS5#8939 now takes 94, above this PR's 81. The merge moves this PR to 95. This PR's own lines are unchanged apart from theFormatVersionline.APS5_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 at e249fc4 (job). fernandomcrsilva's open test(agc): keep the packed image table guard programs at different addresses boykopovar/AnyPS5#21255 changes that test. With test(agc): keep the packed image table guard programs at different addresses boykopovar/AnyPS5#21255's test change on top of fix(shader): index a pointer-loaded V#'s T# array by a word read from the same buffer boykopovar/AnyPS5#9969's 20b045a, which holds this PR's d896ff4 (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,main0694c4c alone 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 perf(agc): reuse read-only guest buffer uploads boykopovar/AnyPS5#18037); it isn't on this branch.ANYPS5_REQUIRE_VULKAN=1andANYPS5_NO_SHADER_CACHE=1. This head d896ff4 merged ontomaine4caa07 (their merge 27327d03fe, clean), againstmaine4caa07 alone,ctest -R '^agc_.*(image_table|pointer)|^agc_shader_(disk_cache|memory)'.main: 41 of 41 pass. This PR: 52 of 52 pass, including the 11 testsmaindoesn't have: this PR's three (agc_driver_pointer_hop_table,_vsharp_fixed_table,_vsharp_fixed_offset_table) and the eight of fix(shader): take lane-mask arms and a merged high word in a pointer-keyed record pointer boykopovar/AnyPS5#8939 and feat(shader): read samplers through nested and pointer-keyed descriptor tables boykopovar/AnyPS5#7395. NoVUID-line on either side, and every device test selected the RTX 4090.tests/execution/ImageTable.cpp), for fix(shader): take lane-mask arms and a merged high word in a pointer-keyed record pointer boykopovar/AnyPS5#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, at d896ff4, 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 fix(shader): take lane-mask arms and a merged high word in a pointer-keyed record pointer boykopovar/AnyPS5#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 15 tests skip (no Vulkan device). The Windows GPU case itself can only be re-run by a tester.main33876d3 with feat(agc): blend into 11_11_10 float color targets in the pixel shader boykopovar/AnyPS5#9020, feat(agc): render layered draws into a depth view of several slices boykopovar/AnyPS5#7256 andmain's 0cbbcfd, plus each PR's diff against 328cbf6. On that base and with fix(shader): follow pointer hops and fixed-offset V# reads behind a record pointer boykopovar/AnyPS5#9457 (d896ff4), fix(shader): plan several T#s read through one pointer-loaded V#, keeping the V# real for their other uses boykopovar/AnyPS5#9790 (aadbb73) and fix(shader): index a pointer-loaded V#'s T# array by a word read from the same buffer boykopovar/AnyPS5#9969 (20b045a), 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 onmain328cbf6 and on each head. That is the shader this PR leaves out, as noted above.maind89f265 through fix(shader): take lane-mask arms and a merged high word in a pointer-keyed record pointer boykopovar/AnyPS5#8939, without conflicts (×10, with #21255's test change).FormatVersionstays 95, 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: 53 run, 52 pass, 0 skip, 1 fail. Windows: 55 run, 11 pass, 44 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. 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 onmaind89f265 alone 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 at 244b338 (job). fernandomcrsilva's open test(agc): keep the packed image table guard programs at different addresses boykopovar/AnyPS5#21255 changes that test. With test(agc): keep the packed image table guard programs at different addresses boykopovar/AnyPS5#21255's test change on top of fix(shader): index a pointer-loaded V#'s T# array by a word read from the same buffer boykopovar/AnyPS5#9969's 630bbb0, which holds this PR's dbe3b94 (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._putenv_stest fix (#19899) on top, becausemain's Windows test build breaks without it ("'setenv' was not declared" inUploadCacheReadOnlyFlush.cpp, from perf(agc): reuse read-only guest buffer uploads boykopovar/AnyPS5#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. fix(shader): index a pointer-loaded V#'s T# array by a word read from the same buffer boykopovar/AnyPS5#9969's 630bbb0 (with feat(shader): read samplers through nested and pointer-keyed descriptor tables boykopovar/AnyPS5#7395, fix(shader): take lane-mask arms and a merged high word in a pointer-keyed record pointer boykopovar/AnyPS5#8939, fix(shader): follow pointer hops and fixed-offset V# reads behind a record pointer boykopovar/AnyPS5#9457 and fix(shader): plan several T#s read through one pointer-loaded V#, keeping the V# real for their other uses boykopovar/AnyPS5#9790; their merge 2c9689c0c3) and fix(shader): read a chased pointer's high word at its own offset boykopovar/AnyPS5#9749's bee5a91 (with feat(shader): read samplers through nested and pointer-keyed descriptor tables boykopovar/AnyPS5#7395, fix(shader): take lane-mask arms and a merged high word in a pointer-keyed record pointer boykopovar/AnyPS5#8939, fix(shader): follow pointer hops and fixed-offset V# reads behind a record pointer boykopovar/AnyPS5#9457 and fix(shader): follow a conditional pointer chase through a V# behind a pointer-keyed record pointer boykopovar/AnyPS5#9633; their merge b726f51423), each merged ontomaine1ab104 (clean), againstmaine1ab104 alone; both carry this PR's head dbe3b94.main: 39 tests, 38 pass, 1 skip in each run. Each arm: 56 tests, 55 pass, 1 skip in each run; the counts include the tests of each arm's other PRs. 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). 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.mained1def4 withgit merge --no-ff. No validation layer was installed, so these runs say nothing aboutVUID-errors. fix(shader): follow a conditional pointer chase through a V# behind a pointer-keyed record pointer boykopovar/AnyPS5#9633's 2f104ac carries this PR's head dbe3b94. The new tests pass, and of the 1302 tests the change reaches, the only failures are onesmainalso fails on that GPU (AGC (NVIDIA RTX 4070 SUPER, Windows): image_sample_l 1D mip blend and image_sample_d_cl MIN_LOD clamp fail in three agc_driver tests boykopovar/AnyPS5#23232, AGC (NVIDIA RTX 4060, Windows):agc_driver_stencil_plane_memoryandagc_driver_msaa_dcc_unwatchfail boykopovar/AnyPS5#23711, AGC (NVIDIA RTX 4060, Windows):agc_storage_write_back_host_retilefails: watched linear write-backs take the scratch route boykopovar/AnyPS5#23942).maind50640e through fix(shader): take lane-mask arms and a merged high word in a pointer-keyed record pointer boykopovar/AnyPS5#8939, without conflicts (×10, with #21255's test change).FormatVersionstays 95, 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: 53 run, 52 pass, 0 skip, 1 fail. Windows: 55 run, 11 pass, 44 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.agc_driver_image_table_packed_guards, also fails onmaind89f265 alone 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 at 244b338 (job). fernandomcrsilva's open test(agc): keep the packed image table guard programs at different addresses boykopovar/AnyPS5#21255 changes that test. With test(agc): keep the packed image table guard programs at different addresses boykopovar/AnyPS5#21255's test change on top of fix(shader): index a pointer-loaded V#'s T# array by a word read from the same buffer boykopovar/AnyPS5#9969's dc97c68, which holds this PR's ef586f9 (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 test(agc): keep the packed image table guard programs at different addresses boykopovar/AnyPS5#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 test(libkernel): compare Windows thread CPU clocks with the process cycle time boykopovar/AnyPS5#23756 reports this test failing intermittently on Windows onmained1def4 under load and changes it. It merged aftermaind50640e, 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 perf(agc): reuse read-only guest buffer uploads boykopovar/AnyPS5#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=0x8560(hugodearaujo's run above); the next stop, 0x8f54/0x8fa0, needs a follow-up. Gran Turismo 7's shape is untested on that titleRelated: boykopovar#6191