fix(agc): import native multisample D32S8 targets with a separate stencil plane and a depth-only HTILE #9533
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/9533"
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-22T00:33:09Z.
What
Stacked on #6300 (Gashrod1), which imports cleared native multisample D32S8 targets whose stencil lives in HTILE, and takes whole HTILE fills as clears. This branch carries #6300's two commits unchanged, merges
maininto them, and adds fourteen commits for a shape #6300 doesn't cover: a D32S8 target whose stencil is a separate plane and whose HTILE is depth-only.Titles with this shape, all stopping on
mainat the native depth import:native multisample stencil or depth format import is not implemented(BunnyFl's report).native multisample stencil import requires HTILE stencil metadata(milescoviello on #6300: 1, 2).5daa8cb7a9it got past both refusals and stopped at a CPU read of the stencil plane, whose memory a 2-sample colour target also covers (milescoviello and xXPBSXx, below).2d4c1da61dand14e56205cfhandle that read.514643ab16that read is gone, and it stops at the depth plane, which another host-only colour target covers (next stops).The changes:
8eba29aeef, merge ofmaininto #6300's headc11074be82. Three conflicts, each resolved by keeping both sides:prepareDepthSampling: #6300's stencil checks, withmain's HTILE line (752cca10fdropped the ITERATE_256 requirement).NoteHtileDepthClearandNoteDepthMetadataFill: #6300's proofs, written withmain'sDepthSamplingState::Refuse(the first refusal wins), ahead ofmain'sForgetClearand plane-fill paths.CheckDepthTargettakes both #6300'sClearSourceandmain'siterate256.mainsamples a native target through a shadow refreshed at view lookup.7d6e968d6b, the separate stencil plane.DB_STENCIL_CLEAR. The plane is read once, between taking the ranges' generations and the final check, so a racing write still refuses.5be005ea13, sampling without HTILE. The sampled descriptor may now name no metadata at all (dccAddress0, not pipe-aligned), as well as the target's HTILE, when address, format, XOR and ITERATE_256 match. Any other metadata still refuses.439557b223accepts such a descriptor only after an observed expand.770a499ba9, a depth-only HTILE that isn't pipe-aligned is imported when every word overHtileMetadataBytes(extent)is the same word and proves the clear.90d652a1ed, a whole fill of the separate stencil plane with one byte value becomes a stencil clear. It's proven at the next sample the way #6300 proves a whole HTILE fill: no CPU write since, complete tracked stores (or the fill is the plane's newest queued GPU write), and every plane byte equal to the fill byte once it has landed.0e17d12ff4and5daa8cb7a9, the order of Ghost's fills.2d4c1da61d, a stencil plane under a host-only colour target. Ghost of Tsushima Director's Cut renders a 2-sample R8 colour target over the stencil plane's memory, so reading the plane hit that target's guard.MultisampleTargetgains a query that doesn't throw: the active colour target whose guarded range overlaps a range, with its format, samples, footprint and newest content. A fill the target absorbed, a CMASK fast clear, or a clear with no draw since is a known value; a draw, a storage write or refused metadata is not.prepareDepthSamplingasks it for the depth, HTILE and plane ranges before reading guest memory. An R8 UNORM or UINT target with the depth's sample count over exactly the plane, holding a known value, gives the plane's stencil.CheckCurrentruns the same query: a plane fill over an aliased plane is proven from the colour target's value, not by reading the plane.439557b223, sampling without metadata only after an in-place expand. A draw over the target withDB_RENDER_CONTROL's depth compress-disable bit (bit 6), and the stencil one (bit 5) when the target has a stencil plane, marks the surface expanded, as radeonsi's in-place decompress sets them. A clear draw, an HTILE clear or fill, and a plane fill clear the mark.CheckResourcetakes a descriptor without metadata only while the surface is marked. Otherwise it refuses with "native multisample depth sampled metadata or XOR mismatch" and prints the lastDB_RENDER_CONTROLseen, at most eight times.NoteDepthRenderControlbefore an expand draw, which has no depth test and no colour writes, is dropped as drawing nothing.14e56205cf, a plane under a colour target that drew, or holds something unknown. It was refused at import, so sampling the depth failed too. The plane is now imported unproven: the host stencil isn't taken from it, depth sampling and depth-only draws go on, and a draw with a stencil test or a sample of the plane refuses with the alias text and a line naming the colour target's state.514643ab16, the sample shadow's barrier. A D32S8 depth's sample shadow went from UNDEFINED to GENERAL with only the depth aspect, which breaksVUID-VkImageMemoryBarrier-image-03320withoutseparateDepthStencilLayouts. The transition now names the stencil aspect too when the host format has one. JJenkx found the same on an RX 6650 XT.Co-authored-by: JJenkx).enqueueDmaPacket's large-fill branch queuedstoreBufferFill(..., false, false), whose last argument isnoteMetadata, so a fill over 64 KiB never noted HTILE or colour metadata, and the next sample took this PR's fill transition for an external GPU write.dd7ad4638anotes it, as the synchronous and small queued paths do.6bc1899d50adds a test seam,friend struct DriverTestAccess;(asVulkanDeviceTestAccessdoes), so the test runs native multisample depth through the driver's own device, following JJenkx's approach. Onmaina metadata fill over a live native multisample target's HTILE refuses anyway, so the gap shows only with this PR's fill transition.1e07a659ed, merge ofmain8b3a6ba88d: clean. The PR's changed lines are the same as before the merge (git diff -U0patch-id); only their context moved.8b2b3080bb, merge ofmain3ca07d086d, which brings #7233 (MarcZX10): possible writes, an HTILE clear's note, arm and complete steps, and the drain inDriver::WaitIdle. Each conflict keeps both sides:CheckCurrent:main's "native multisample depth clear has not been recorded" check comes first, then this PR's checks, unchanged.NoteHtileDepthClear: this PR's refusals for a stencil surface and an unproven target come first, thenmain's overlap check and pending flag, which now also set this PR's clear aspects.main'sArmHtileDepthCleartakes the clear's generation, in place of this PR's immediate one.main'sClearFaultcases andDriverTestAccess::GetDevicebeside this PR'sClearSourceandUseDevice, with oneCheckDepthTargetsignature.main's model needs. Without it: "native multisample depth clear has not been recorded".--driver-queued-fillwaits only for the driver queue, throughDriverTestAccess::WaitQueue.main's71decdc752makesDriver::WaitIdlealso wait for the device, so the case no longer sampled while its fill was queued. Without it: "CPU writes raced native multisample depth clear".git diff -U0patch-id changes), by these resolutions and adaptations.a6b6274a4d, a metadata fill over a pending HTILE clear dispatch. Undermain's model a dispatch clear is pending from its note until it's armed. A whole-HTILE fill noted in between took the clear as its own, and the arm kept the fill's pattern, so the dispatch clear was proven as a fill. Such a fill now refuses: "native multisample depth metadata fill over a pending HTILE clear dispatch is not implemented". It's the refusal from the composition with #7371 (5e8a1cdb83), which Amoenus asked to keep with this PR's fill support (comment).229d718325, merge ofmain8b3e39832a, which brings #8847 (JJenkx's sRGB twin). One conflict, inMultisampleTargetView: each overload keeps this PR'sdrawnmark and returnsmain'sView(target.format). The PR's changed lines are otherwise the same, less one thatmainnow makes too (auto& acquiredin place ofconst auto&).1d16d5029d, merge ofmainb7d1d47a5f, which brings #7371 (Amoenus's queued HTILE clear handoff). InDepthSurface.cpp, #7371'sclearCompletionQueuedfield and its reset sit beside this PR's clear fields, both kept. The PR's changed lines are the same as before this merge (git diff -U0patch-id), and the mergedDepthSurface.cppis byte for byte the composition posted in #7371's thread (5e8a1cdb83).a45dff8d51, merge ofmaind6e7ab42df, which brings #6727 (simonbronk). InDraw.cppeachDepthSurfaceViewcall keeps this PR'sstencilTestand gains #6727'sNoteDepthSurfaceWrite, and in the debt entry #6727's sentence follows this PR's. #6727 retires an unwritten native multisample depth surface on a guest read instead of refusing it (#6727), and its own fixtures note a host write withNoteDepthSurfaceWritebefore they expect a refusal.CheckStencilTargetnow does the same before it reads the stencil plane, so--stencilstill checks that a written D32S8 target refuses. Apart from that line, the PR's changed lines are the same as before the merge, with thestencilTestarguments now inside #6727's blocks.1582cf6cc0(test): a queued DMA_DATA fill of more than 64 KiB is stored through a host import, and Windows compares its direct host imports instead of keeping them write-watched, so the fill's HTILE is unwatched after the store and the fill refuses. On Windows,agc_driver_native_depth_driver_queued_fillnow skips with that reason whenPrepareImportWatchreports compared imports. Linux still forces watched imports, so the case keeps running there. The debt entry records that such a fill is refused wherever host imports are compared.5343d0a8da, a whole fill whose stores landed before its note (Co-authored-by: Tharun Balaji K, from sktharunbalaji13-cmd's finding on Ghost of Tsushima Director's Cut). A whole HTILE or stencil-plane fill was proven by its write note while the write was still pending, or by stores stamped after the generation the note collects. A CPU fill (GuestMemory::Write, when the HTILE has no host import) and a GPU fill whose batch left the open batch before the note have neither proof once they retire, so the next sample stopped atnative multisample depth clear has no complete tracked HTILE store.StoredAllSince(metadata, metadata.generation)), andCheckCurrentaccepts that as a third proof. The stencil plane gets the same.Overlap:
8b2b3080bband1d16d5029d). #6808 (KingDarkHN) changesprepareDepthSamplingandNoteHtileDepthClearas well, and conflicts withmainitself. None of them imports a separate stencil plane.DepthSurface.cppkeeps #7371's pending, armed and completed order and its range-limitedSyncThroughoutsidesurfacesMutex, with this PR's clear-aspect and plane checks after #7371's pending-clear refusal.DepthSurfaceViewand inMultisampleTarget.cpp'sguard. This PR goes after it and rebases onto it, agreed in #8223's thread (comment), keeping its claims and retires. At that rebase, a retired colour target over a native stencil plane keeps its known fill value, or else leaves the plane unproven, so a stale guest plane is never taken as the clear value.MultisampleTarget.cpp, where this PR records the target's clear forAlias(). Composed,clearedtakes the initial value only when it's a clear (the known clear, DCC or CMASK), so a plane under a target that starts from the guest's contents stays unproven. This PR goes after #6973 and rebases over it, agreed in its thread (comment), keepingensureGeneralLayout()beside theclearedanddrawnassignments inRecreate.a45dff8d51). ItsNoteDepthSurfaceWritefollows the twoDepthSurfaceViewcalls inDraw.cppthat this PR gives the draw'sstencilTest, both debt edits are kept, and this PR's stencil fixture notes a host write as #6727's fixtures do.guardedColorBytes, which the guard and the alias query share. This PR goes after it (order note in its thread).55b0a5f4ad). It splits the native depth branch inDepthSurface.cppondepthCopySourceActive. This PR'sRequireStencilProvengoes only in itselsebranch, afterCheckCurrent(): a DB depth copy never reads the stencil plane, sinceDecodeDepthCopyPassrefusesSTENCIL_COPY(milescoviello), as agreed in its thread (comment).DrawPrecheck.cpp, and both stay (de4cee5626).add_library_testand moves test files. The order is proposed in its thread (comment): this PR first; if #6044 lands first, this PR's new native depth registrations move toadd_library_test(graphics ...)at its next merge ofmain.DepthSurface.cpp's includes (it addsMultisampleTextureLayout.hppwhere this PR addsPipeline.hpp) and the native multisampled depth debt entry, so they conflict in text only. They compose: both includes stay, and the two sentences merge. This PR goes after it (note).Tested
On Linux with lavapipe (llvmpipe, LLVM 20.1.2), which samples D32S8 only at four samples, each case below runs at four samples and the two- and eight-sample cases report unavailable. The RTX 3070 run covers two and eight samples.
New ctest
agc_driver_native_depth_separate_stencil(--separate-stencil). Each red below reverts that change's driver hunk and keeps the test:clearAspectsline reverted)After every commit:
ctest -R 'native_multisample|native_depth|depth|htile|stencil'40/40, with 2 skipped as onmain(agc_driver_native_depth_bda_clearandagc_driver_sample_order_recipe_depth_locations).Linux, as CI runs it, at
5daa8cb7a9(Ubuntu 24.04, GCC 13.3, unprivileged user):guest_socket_stream_options,guest_socket_address_lengthandguest_tcpfail the same way onmainthere, because that machine has no usable sockets.check_test_registration.py: none new.check_skips.py:guest_sce_net, for the same reason.GitHub's runners at
5daa8cb7a9(run): on Linux,agc_driver_native_depth_separate_stencilandagc_driver_native_depth_stencilpass ×3. On Windows the build succeeds and both skip, since that runner has no Vulkan device. The libc and libkernel suites pass on both.check_conventions.pyat514643ab16: no errors and no comment lines added. One warning,debt-length, on the native multisampled depth entry: 3,192 characters, against 1,403 onmain.New ctests for
2d4c1da61dand439557b223:agc_driver_native_depth_aliased_stencil(2d4c1da61d): a 4-sample R8 target over the plane with an absorbed fill imports, and the next stencil test passes the fill value and no other. A second absorbed fill is proven and taken, and a colour draw after it refuses. A target drawn after its fill, and an R8G8 target over the plane, refuse with the new reason. The guest plane keeps its 0xa5 bytes throughout. With the product change reverted the cleared case throws the guard text (1 of 1); with it the mode passes 5 of 5.agc_driver_native_depth_expand_gate(439557b223), for D32 and for D32S8 with a separate plane: a bare sample before any expand is refused, and on D32S8 also after only the depth bit. After the expand draw it gets the cleared and then the drawn depth. An HTILE fill, a clear draw and a plane fill (an HTILE mask clear on D32) each refuse it again until the next expand. With the gate reverted the first bare sample is accepted (1 of 1); with it the mode passes 5 of 5. The separate-stencil test now draws an expand before its bare sample.NVIDIA GeForce RTX 3070 Laptop GPU at
514643ab16(driver 617.42, the only device enumerated, Windows 11, WinLibs GCC 15.2.0, Release,ANYPS5_REQUIRE_VULKAN=1; GPU clocks weren't held, pass/fail only): the eight native depth tests,agc_driver_native_multisample_depthandagc_driver_native_depth_{retirement,clears,clear_refusals,stencil,separate_stencil,aliased_stencil,expand_gate}, pass 5 runs in a row, with their 2-, 4- and 8-sample cases.Validation layer,
mainagainst this PR (CONTRIBUTING's AGC rule), on one GitHub Linux runner (run). Both runs usedVK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation,ANYPS5_NO_SHADER_CACHE=1,ANYPS5_REQUIRE_VULKAN=1andctest -V, withVK_LOADER_DEBUG=layerto show the layer loading. The device was llvmpipe (LLVM 20.1.2) on Mesa 25.2.8, Ubuntu 24.04.5, Khronos validation layers 1.3.275.agc_driver_native_multisample_depth,agc_driver_native_depth_{retirement,clears,clear_refusals}andagc_driver_msaa_dcc_clear_4on both trees, plus this PR'sagc_driver_native_depth_{stencil,separate_stencil,aliased_stencil,expand_gate}, whichmaindoesn't have.main's tree (a6dcea9279) ran its five once and this head's nine three times.VK_LAYER_KHRONOS_validation9 times onmainand 51 with this PR, and neither log haswas not found but was requested by env var VK_INSTANCE_LAYERS.VUID-VkDeviceCreateInfo-pNext-pNext, for a device-creation structure newer than that layer version. This PR adds noVUID-message.precise_wait(libc, Linux) andguest_raise_in_system_call(libkernel, Windows), which other PRs' runs on those runners have hit too.Validation layer, the previous head against this one, on one GitHub Linux runner (run), with the same settings and device. The previous head's 6 native depth tests log
VUID-VkImageMemoryBarrier-image-0332039 times, inagc_driver_native_depth_stencil:vkCmdPipelineBarrier()on aVK_FORMAT_D32_SFLOAT_S8_UINTimage with onlyVK_IMAGE_ASPECT_DEPTH_BIT, the sample shadow's barrier. This head's 8 don't log it, and add noVUID-message.Title runs, on
5daa8cb7a9:maind6eafa54d0, the title relinked with the same build (1, 2). Onmainit aborts about 2 s in, before its first frame. With this PR it doesn't stop:main's libs rebuilt for both, 600 s each; comment). Onmainit stops atnative multisample stencil or depth format import is not implemented. With this PR nonative multisamplerefusal appears, and the run stops later at the CPU read of the stencil plane that a 2-sample colour target covers.514643ab16doesn't make that read.mainplus other open PRs it needs (comment): both of its stops clear, the format refusal and the HTILE stencil requirement, and its two whole fills are taken as clears. The next stop is a per-sampleR8_UINTread of the stencil plane, refused byCheckResource, which #9717, stacked on this PR, covers.Title run, on
514643ab16: Ghost of Tsushima Director's Cut (PPSA02225), milescoviello, Linux, RTX 4070 Ti, NVIDIA 615.71.09, warm and cold, with a pad script cycling through the menu buttons (comment).native multisample depth 0x1544ed0000+0x1fe0000 aliases multisampled colour target 0x1544ed0000+0x1fe0000 (vk format 100, 2 samples), newest clear 0x00000000 ..., thennative multisample depth or HTILE aliases a multisampled colour target whose samples are only on the host.Ghost of Tsushima Director's Cut (PPSA02225) with the stacked #9742 and #9717, and milescoviello's #8115 and #8121, on the test branch
test/ghost-9742-9717(3ec696f7fe, on514643ab16) with those two merged on top (comment): milescoviello, Linux, RTX 4070 Ti, NVIDIA 615.71.09, 20 GiB cap. Warm and cold both reach the 600 s limit with no refusal and no crash. In their words, the game shows its brightness calibration screen, with the mask rendered correctly, and then its intro. The only native depth line left is #9742's alias line, printed once and accepted.Focused tests on other GPUs, on
5daa8cb7a9:agc_driver_native_multisample_depthpasses 3 of 3, and fails 3 of 3 withDepthSurface.cppfrom the merge-base.maind6eafa54d0(comment): the 7 focused tests pass, 5 of them onmaintoo. This PR's stencil tests loggedVUID-VkImageMemoryBarrier-image-03320, which514643ab16removes. Their production-DMA diagnostic found a queued DMA fill over native multisample depth that the next sample refuses.dd7ad4638atakes their fix, with them as co-author: onmaina metadata fill over a live native multisample target's HTILE refuses anyway, so the gap shows only with this PR's fill transition.5daa8cb7a9with their own two fixes, their 12 D32S8 cases (2, 4 and 8 samples, clear 0 and 1, compressed and uncompressed HTILE, stencil checked) pass with validation on and log noVUID-(comment).6bc1899d50anddd7ad4638a, the queued DMA fill, on GitHub's runners (run), against6bc1899d50, so that only dd7ad4638a's driver hunk is reverted:agc_driver_native_depth_driver_queued_fillfails 3 of 3 without it, with "AGC graphics: external GPU writes over native multisample depth are not implemented", and passes 10 of 10 with it, for clears 0 and 1. With #9533's native depth tests,agc_driver_native_depth_driver_pathandagc_driver_pipelined_dma, 11 tests pass 10 of 10 on Linux. On Windows they build and pass, with the Vulkan tests skipping.6bc1899d50builds on its own and itsagc_driver_native_depth_driver_pathpasses, and the two new tests pass until-fail:20.514643ab16againstdd7ad4638a(run), every test named: the layer loads in both runs, with no "was not found" line. Both log onlyVUID-VkDeviceCreateInfo-pNext-pNext, and the two commits add noVUID-message.Earlier merges of
main, on GitHub's runners. In each, the tests named ran 10 times with no failure on Linux. On Windows they build and the Vulkan tests skip, since the runner has no Vulkan device. The libc and libkernel suites passed on both, except where noted, and from1d16d5029don they ran withAPS5_SKIP_TIMING_TESTS=1, which relaxesprecise_wait's median bounds on GitHub's hosted runners. Where it says validation, the Khronos layer ran againstmainin the same run, and the merge added noVUID-message.1e07a659ed(main8b3a6ba88d, run),1d16d5029d(b7d1d47a5f, run) and9afaa90c1f(11f976b27c, clean, run): the 13 native depth, DCC clear and pipelined DMA tests; validation.229d718325(8b3e39832a, run): the same 13; validation. In that run's libc suite,precise_waitfailed on the Linux runner with this head, under its strict median bounds;main's arm passed it.a45dff8d51(d6e7ab42df, run): the same 13; validation. Without its fixture line,agc_driver_native_depth_stencilfailed on the merge with an empty refusal (run).de4cee5626(0db47b263d, run):DrawPrecheck.cpp's include block, both kept. The 11agc_driver_native_depth*andagc_driver_native_multisample_depth*tests;agc_driver_native_depth_bda_clearskips on Linux.f7569e7ce1(66e6772ca2, #10375'sCheckDepthAttachmentAlias, run) and078e6a68d8(1ee8f4bec1, #9186's host-only flag onguard(), run), both kept: theagc_driver_native_,agc_driver_depth_andagc_driver_msaa_tests (andagc_driver_samplein the second). Linux 42 and 55 run, 0 fail.f39599c354(19af7f44e4, #10368'sCheckStorageAliasRetirement, both kept, run): those sets plus the tests built from the merged files. Linux 302 run, 286 pass, 16 skip; Windows 321 run, 184 pass, 137 skip; 0 fail; validation.6eb141ce5f(102b7a5cf0, #12566'sHostOnlySampleRanges, both kept, run):^agc_driver_native_andagc_frame_capture. Linux 14 run, 12 pass, 2 skip, 0 fail.8b2b3080bbanda6b6274a4d, on a cloud Linux machine (CI's configure flags, lavapipe on Mesa 25.2.8, unprivileged user): both build, and the 14 native depth, DCC clear and pipelined DMA tests pass; ona6b6274a4dthey pass--repeat until-fail:10.8b2b3080bbwith only that adaptation reverted.DepthSurface.cpphunk reverted and the test kept,agc_driver_native_depth_clear_refusalsaccepts the fill ("multisample target refusal did not match metadata fill over a pending HTILE clear dispatch").^agcset, once each: 880 of 881 ona6b6274a4dand 875 of 875 onmain3ca07d086d, with 60 skipped on both. The six extra tests are this PR's. The one failure,agc_driver_sgpr_pattern_fill_keys("the dispatch completed 17 times without a pending write over the keys"), passed 20 of 20 alone and 881 of 881 in a second sweep, failed the same way onmainin a third sweep, and isn't in a file this merge touches.NVIDIA GeForce RTX 3070 Laptop GPU at 082ef25d86, the #9533, #9742 and #9717 stack before the #6727 merge (driver 617.42, Windows 11, WinLibs GCC 15.2.0, Release,
ANYPS5_REQUIRE_VULKAN=1; GPU clocks weren't held, pass/fail only): 11 of the 12 native depth tests pass 5 of 5 at 2, 4 and 8 samples.agc_driver_native_depth_driver_queued_fillfailed 4 of 4 with "AGC graphics: native multisample depth metadata fill over unwatched memory is not implemented". On Windows the queued fill still refuses, as onmain;1582cf6cc0makes the test skip there with that reason. A run of1582cf6cc0on that GPU is pending.1582cf6cc0(run): on GitHub's Linux runner, the 13 native depth, DCC clear and pipelined DMA tests pass 10 of 10, none skipped,agc_driver_native_depth_driver_queued_fillamong them with watched imports. In the same run, validation againstmain:main's arm runs the 7 of the 13 tests it has, the layer loads in both runs (11 and 210 times) with no "was not found" line, and both log onlyVUID-VkDeviceCreateInfo-pNext-pNext, so this head adds noVUID-message. On GitHub's Windows runner the change builds and the 12 Vulkan tests skip, so its lines are the suites only. The libc and libkernel suites pass on both runners. The libc and libkernel suites ran withAPS5_SKIP_TIMING_TESTS=1, which relaxesprecise_wait's median bounds on GitHub's hosted runners.tools/check_skips.pyaccepts the new skip line on the Windows job, where anyagc*skip is expected; on Linux the case can't skip, since it forces watched imports.check_conventions.py: no errors and no comment lines added; the one warning isdebt-lengthon the native multisampled depth entry, now 3,990 characters.53886418d9, after @jotitadev's macOS run of1582cf6cc0(review): on an Apple M2 Max with MoltenVK 1.4.2, on #8658's macOS port, the eight native depth tests andagc_driver_native_multisample_depthpass.agc_driver_native_depth_driver_pathandagc_driver_native_depth_driver_queued_fillpass every case and then abort at exit withrecursive_mutex lock failed: Invalid argument. The test handed its device to the driver and never took it back, so the driver singleton released it at exit, after statics its teardown locks had been destroyed.53886418d9(test only) gives the driver's device back before each of the two tests returns.^agc_driver_native_depthandagc_driver_native_multisample_depth: on Linux 10 tests pass 10 of 10, andagc_driver_native_depth_bda_clearskips as onmain. On Windows the 11 build and skip, since that runner has no Vulkan device. The libc and libkernel suites pass on both runners. They ran withAPS5_SKIP_TIMING_TESTS=1, which relaxesprecise_wait's median bounds on GitHub's hosted runners.The Grinch: Christmas Adventures (PPSA07656) 01.000.003, on
f39599c354, BunnyFl, Windows 11 Pro 26200, AMD Radeon RX 9070 XT (driver 32.0.32015.7029), merged intomainf95acfc948with no conflicts, the title relinked with each build (comment):main, three runs stop 6-10 s after start, before the first present, withAGC graphics: native multisample stencil or depth format import is not implemented;is not implementedline. Most 10 s windows have 750-1199 presents, the lowest 49. The last frames of all three runs are gameplay in the first level.Not tested: Spirit of the Island (PPSA13934), and PPSA03208 on
514643ab16and later.Next stops to expect:
R32_SFLOATcolour target cleared to 0 covers exactly the depth range, so the depth import refuses with the alias text (milescoviello's run above). #9742, stacked on this PR, covers it. As JJenkx's source review notes, the colour clear alone doesn't show that the depth agrees with it: that needs the target'sclearDepthand its HTILE.R8_UINTread of the stencil plane refuses (PPSA03208); #9717, stacked on this PR, covers it.APS5_PIPELINE_DMAset, a large queued DMA fill over the depth's metadata isn't noted, so the next sample refused it as an external write (JJenkx). Fixed in this PR bydd7ad4638a(Co-authored-by: JJenkx) where host imports stay write-watched, as on Linux in our runs. The queued fill is stored through a host import, and where host imports are compared rather than watched, as Windows' direct imports always are, the fill still refuses, as onmain: on an NVIDIA GeForce RTX 3070 Laptop GPU,agc_driver_native_depth_driver_queued_fillfailed 4 of 4 with "native multisample depth metadata fill over unwatched memory is not implemented".1582cf6cc0makes that case skip on Windows with the reason, and a run of it on the RTX 3070 is pending. Back-to-back HTILE fills of one pattern still refuse as overlapping clear transitions, queued or not.55b0a5f4ad, a merge ofmain3fcb5e4d76, which brings #8999's DB depth copy draws. The one conflict was the native depth branch inDepthSurface.cpp, which #8999 splits ondepthCopySourceActive: this PR'sRequireStencilProvengoes in theelsebranch afterCheckCurrent(), as planned (see Overlap). On GitHub's runners (run), the native, depth and multisample tests (^agc_driver_native_,^agc_driver_depth_,^agc_driver_msaa_) pass 10 runs in a row on Linux: 42 run, 38 pass, 4 skip (agc_driver_native_fmask,agc_driver_msaa_dcc_clear_2and_8, andagc_driver_native_depth_bda_clear), 0 fail. On Windows 42 run, 3 pass 10 runs in a row and 39 skip without a Vulkan device, 0 fail. The libc and libkernel suites pass on both (142 and 204 tests on Linux, 169 and 217 on Windows), run withAPS5_SKIP_TIMING_TESTS=1, which relaxesprecise_wait's median bounds on GitHub's hosted runners.^agcsweep (run): Linux 984 run, 919 pass, 64 skip, 1 fail:agc_driver_queued_index_read_order, with "the queued draw's commit stored the image's results over its index buffer". Onmainc9b2660d56(run) and137a8fab89(run), and on this merge alone (run), the test fails at its setup check before that one: "the image write left no pending result to order against". So these runs can't show whether the later check fails onmaintoo. Windows 1,008 run, 282 pass, 722 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(same run).main1a745ae38the hub aborts shortly after it loads with[videoout] presentation failed: AGC graphics: native multisample depth metadata fill transition is not implemented(exit 134), which they bisected to #6557. In five interleaved hub runs each, onmainand on this PR at1582cf6cc, the abort followed a burst of file reads during the hub hold. Threemainruns reached it and all three aborted; one PR run reached it, dipped to 23 FPS and kept going. The other runs never reached it, and the PR's logs have no refusal line.libSceAgcDriver.prxswapped.main5722c14bd5: both runs exit at about 120 s (0xC0000409) with[gpu] driver failure: AGC graphics: native multisample depth metadata fill transition is not implemented, right after the intro.6d0ff6cd85merged onto14b9cc5a8c: both runs are still going when closed at 6 and 7 minutes, and neither logs that line. The saved frames show the title screen, save select, the intro, the first playable area with its HUD, and the pause menu.main's5722c14bd5in all four runs, and the PR's library was built on a slightly newermain. There was no validation layer, and the frames were only looked at, so depth accuracy isn't checked. It's two runs each way in the first area, with no person playing.ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1(comment). Their earlier run stopped at the import, onnative multisample stencil or depth format import is not implemented(comment). On #9717's branch (74594d4a81, which carries this PR's55b0a5f4ad), that line appears 0 times, and the title stops later, on the colour-alias refusal #9742 addresses:native multisample stencil or depth format import is not implementedabort at about +848 s is gone from the log, and the title gets past that point into pixel shading it hadn't reached before. Its next stop, a stencil-reference-export pixel shader, is outside this PR (detail on #4276).a7697941f3, a merge ofmainccfb96757f(run), which brings dantdmdarealguy's #11307. Three conflicts, each keeping both sides:MultisampleTarget.cpp: #11307 returnsselectedViewwhere this PR setsdrawnbefore returning; the merge does both.NativeMultisampleDepth.cpp: #11307 printsNative HTILE tracked dispatch completedafter the completed-dispatch check, which this PR's fault cases moved into their own branch, so the line goes in that branch. Inmain(), #11307's LinuxSharedBackingScopecomes first and this PR's--driver-pathand--driver-queued-filloptions follow it, so those runs get it too.agc_driver_native_fmaskand the sample-order depth tests ran 10 times with no failure. Linux: 14 run, 10 pass, 4 skip (agc_driver_native_depth_bda_clear,agc_driver_native_fmask,agc_driver_sample_order_grid_referenceandagc_driver_sample_order_recipe_depth_locations, which skip on that runner as in earlier runs), 0 fail. Windows: 14 run, 0 pass, 14 skip (no Vulkan device), 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 at1829def9bf(job). The suites ran withAPS5_SKIP_TIMING_TESTS=1, which relaxesprecise_wait's median bounds on GitHub's hosted runners.5343d0a8da, a fill stored before its note (run, with #9533's previous heada7697941f3as the before arm).agc_driver_native_multisample_depthand its--separate-stencilmode:a7697941f3the new cases fail withnative multisample depth clear has no complete tracked HTILE storeandnative multisample stencil plane fill has no complete tracked store.agc_driver_native_depth_bda_clear, which skips on lavapipe), 0 fail. On Windows all 11 skip, because the runner has no Vulkan device, so they ran on Linux only. The libc and libkernel suites run 166 and 264 tests on Linux and 194 and 286 on Windows, with 0 failed. They ran withAPS5_SKIP_TIMING_TESTS=1, which relaxesprecise_wait's median bounds on GitHub's hosted runners.^agctests, 1,092 run, 1,020 pass, 72 skip, 0 fail. The ten native depth tests: 100 of 100.6eb141ce5f(CONTRIBUTING's AGC rule, for 5343d0a8da's change to when tracked HTILE and stencil-plane stores qualify a clear):main102b7a5cf0, this head's base. Since thenmainhas changed onlylibSceAgcDriver/CMakeLists.txtand the debt file among this PR's paths. On GitHub's Linux runner (llvmpipe (LLVM 20.1.2), Mesa 25.2.8, Ubuntu 24.04.5), withVK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation,ANYPS5_NO_SHADER_CACHE=1,ANYPS5_REQUIRE_VULKAN=1andctest -V:^agc_driver_native_. This head: 13 run, 11 pass, 2 skip (as in this PR's earlier runs on that runner), 0 fail.main's arm ran the ones it has, and they pass.VK_LAYER_KHRONOS_validation15 times onmainand 25 with this head, and neither log haswas not found. Both logs report onlyVUID-VkDeviceCreateInfo-pNext-pNext, and the change adds none.agc_driver_sample_multisample_target, the drawn 4x target's sample-0 guest reads included: passes on both arms with no new VUIDs (run). ×10 on this head (run): Linux 10 of 10; Windows skips, since the runner has no Vulkan device.APS5_SKIP_TIMING_TESTS=1, which relaxesprecise_wait's median bounds on GitHub's hosted runners.main98ddd9c179+ #12840425cd9d8b0+ #97421c904e29a2(#9533's6eb141ce5finside), merged cleanly; Linux, RTX 4070 Ti (NVIDIA 615.71.09), release libraries, 21 GiB cap, booting from a settings save. Thenative multisample stencil or depth format import is not implementedstop doesn't occur. The run stops 33 s in, at the next check in compute shader 0x20001ef700,native multisample depth sampled identity or format mismatch, which #9717 takes. With #9717 added (comment), the next stop isvkAllocateMemory sampled depth shadow: Vulkan result -2, out of device memory with device-local heap 0 at 10,625 of 10,654 MiB, on a base before #13064.dcf420ec7f, a merge ofmain2b1ae87c69, which brings savvaniss's #8223 (run).DepthSurface.cppandMultisampleTarget.cpp, where #8223 replacedguard()'shostOnlyflag with the sharedTargetUsemodel (claimOverlapping,stampUse) and madeDepthSurfaceViewclaim its planes' multisample target memory.DepthSurfaceViewkeeps this PR'sstencilTestedparameter with main's threeClaimMultisampleTargetMemorylines;guard()is main's. #8223 extracted the sameguardedColorByteshelper this PR had, byte for byte, so the merge keeps one definition, at this PR's position, becauseAlias()calls it earlier in the file. This PR's other changes use only fieldsTargetUsekept.const auto bytes = guardedColorBytes(target);line is nowmain's.^agc_driver_native_,^agc_driver_msaa_and^agc_driver_depth_tests.APS5_SKIP_TIMING_TESTS=1, which relaxesprecise_wait's median bounds on GitHub's hosted runners.ANYPS5_NO_SHADER_CACHE=1, GitHub's Linux runner),main2b1ae87c69against this head (run): the same three IDs in both arms,VUID-VkDeviceCreateInfo-pNext-pNext,VUID-vkCmdCopyImage-srcImage-01548andVUID-vkCmdCopyImage-srcImage-01551. The merge adds none.ctest -R '^agc'1,149 passed, 0 failed.071ca5b609, a merge ofmain6a691f69ee, which brings Celegans12's #8105 (run, validation run).CMakeLists.txtandtests/execution/NativeMultisampleDepth.cpp, where #8105 addsagc_driver_native_depth_buffer_clear,ClearFault::DriverBufferDispatchand two blocks aroundArmHtileDepthClear. Both sides are kept. Beyond that, the merge commit names three lines:agc_driver_native_depth_buffer_clearjoins this PR'sset_tests_propertieslists (plain and WIN32), in place ofmain's line that re-listsclearsandclear_refusalswith the same properties.main's two blocks sit inside this PR'sClearSource::HtileDispatchpath, where this PR moved that code, andmain's--buffer-clearcase passesClearSource::HtileDispatchtoCheckDepthTarget.main's tokens on lines it already changes, and bymain's two blocks at this PR's indent. #8105'sDepthSurface.cppchanges merged on their own.agc_driver_native_multisample_depth,agc_driver_sample_multisample_targetand every^agc_driver_native_depthor^agc_driver_depth_planetest,agc_driver_native_depth_buffer_clearincluded.APS5_SKIP_TIMING_TESTS=1, which relaxesprecise_wait's median bounds on GitHub's hosted runners.main6a691f69eeagainst this head, the same tests: the loader inserted the layer 28 and 38 times, with nowas not found; both arms report the same three IDs as atdcf420ec7f, so the merge adds none.ctest -R '^(agc|shader)'1,090 passed, 75 skipped, 0 failed.6d0ff6cd85, a merge ofmain0836dfdf4f(run, on 009631c3bc, which has the same tree). #12862 movedlibSceAgcDriver's test registrations intotests/cmake/; the conflict inCMakeLists.txtis resolved withtools/agc_test_split.py resolve, which moves this PR's registrations intotests/cmake/agc_driver_native_multisample_depth_tests.cmake(+12 −2). Nothing else conflicted. Apart from the move, this PR's diff is unchanged. With-DBUILD_TESTING=ON,ctest -Ngives 3081 tests:main's 3075 plus its 6 tests, each listed once. The 24 tests of this PR's verify set pass 10 runs in a row. Linux: 24 run, 23 pass, 1 skip, 0 fail. Windows: 24 run, 0 pass, 24 skip (no Vulkan device), 0 fail. Suites: libc and libkernel pass on Linux (199 and 308) and on Windows (226 and 330). The suites ran withAPS5_SKIP_TIMING_TESTS=1, which relaxesprecise_wait's median bounds on GitHub's hosted runners.6d0ff6cd85merged ontomain0836dfdf4f, NVIDIA RTX 2000 Ada Generation, driver 595.99.02, Linux. Passed: 2,451 passed, 0 new failures (4 fail onmaintoo), and no new validation IDs againstmainover 930 tests run on the GPU.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)main's stop after the intro into the first playable area, 2 of 2 runs)Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-22T00:37:15Z.
Review: CHANGES_REQUESTED
The implementation and regression report are detailed. The exact PR head is based on current
main, required eligibility/conventions/intake/labels/report checks pass, and the reported lavapipe regressions include negative controls. The hosted Linux/Windows product and relinker jobs were skipped; I did not run local tests.I’m requesting changes for these remaining correctness and contribution-rule items:
Required AGC validation comparison is missing from the report.
CONTRIBUTING.mdrequires the same focused tests onmainand this change, on the same machine and GPU, usingANYPS5_REQUIRE_VULKAN=1,ANYPS5_NO_SHADER_CACHE=1,VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation, andctest -V. Please report both runs, confirm the validation layer was actually found, compare the logs for newVUID-errors, and give the GPU vendor/model/driver/OS. The current lavapipe report does not establish those required comparison details.The no-metadata sampling path accepts an unproven state.
CheckResourceacceptsdccAddress == 0for this target, while this PR says it cannot observe whether the guest performed the in-place expansion first and that an unexpanded sample will still receive the decompressed host image. The new fixture checks clear samples, not the title sequence that establishes this assumption. Please either provide evidence that the affected title expands before this descriptor is used and test that sequence, or keep refusing this descriptor until the guest expansion state is established. Otherwise the emulator can silently return different values from the guest memory the descriptor names.The
Unblockschecklist is incomplete. The repository requires each title ID to be paired with its Game bring-up discussion. The Grinch has #8606, but the Ghost of Tsushima and Spirit of the Island entries currently link to PR comments rather than Game bring-up discussions. Please add those discussion links, or narrow the checklist to titles with a qualifying discussion and mark the othersnone.Please close the overlap coordination loop. The live overlap scan reports shared
DepthSurface.cpp/test regions with open #7233 and #7371, also identified in this PR description. The repository asks authors to agree merge order for these overlaps and declareDepends onwhen one must land first. Please record the coordination/order and update the checklist if either PR is a prerequisite.I have not found a reason to dispute the reported lavapipe regression results; the requests above concern the required validation evidence, the unverified no-metadata behavior, and the repository’s title/overlap checklist rules.
Imported from boykopovar/AnyPS5. Originally posted by milescoviello on 2026-10-22T01:51:24Z.
@EagleBearerYS Ghost of Tsushima (PPSA02225) on this PR's head
5daa8cb7a9, as I offered on #6300. Release libs, Linux, RTX 4070 Ti, NVIDIA 615.71.09. The memory cap was 18 GB: the host didn't have room for 20, and it didn't matter, since the runs stop early.All three end with the same message, and none prints a
native multisamplerefusal, so the earlier stops onmainand on #6300 are passed:What I can tell from it:
MultisampledDepthBytesof 1920x2160 at 2 samples, the plane size you listed for Ghost).MultisampleTarget.cpp's guarded list as a 2-sample color target. So the game also renders into the stencil plane's memory as a color target, and those samples are only in the host image.GuestMemory::SetReadGuard(&guardReads)) refuses any CPU read of that range. The read covers exactly the plane, which matches the new check inDepthSurface.cppat line 158,GuestMemory::Read(target.stencilAddress, ...). That check compares every byte of the plane withDB_STENCIL_CLEAR.VideoOutDriver::presentLoopcallingstd::terminate. If you want the throw site itself, I can rerun with a__cxa_throwhook.If that's the reader, then for Ghost the plane's current contents are in the host color image, not in guest memory. The clear proof would need to come from that target's last clear, or the import would need to take the plane from the color target's image.
AI-assisted: yes (Claude Code)
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-22T01:52:49Z.
Review: CHANGES_REQUESTED
Thanks for rebasing to the current
mainand updating the report with three Ghost of Tsushima runs on the PR head. The earlier native multisample refusal is now passed, but the run reaches a new guest access refusal over the same0x870000stencil-plane range. The reported overlap with a host-only multisampled color target also raises a concrete issue with the new CPU read used to prove the plane clear.I’m keeping the request for changes for these remaining items:
mainand this head usingANYPS5_REQUIRE_VULKAN=1,ANYPS5_NO_SHADER_CACHE=1, andVK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validationwithctest -Von the same machine and GPU; confirm the layer was found, compare for newly introducedVUID-messages, and name the GPU vendor/model/driver/OS. The existing lavapipe results do not include this required comparison.Unblocksaccording to the repository checklist. The Ghost discussion is #4461. The Grinch is #8606. Spirit of the Island has no Game bring-up discussion yet, so please omit it fromUnblocksfor now (or add a qualifying discussion first).Depends onif this branch needs them first.The updated hosted eligibility, intake, conventions, labels and report checks pass; Linux/Windows product and relinker jobs are skipped, and I did not run local tests. I have not found grounds to dispute the reported lavapipe fixture results; the items above concern an observed guarded read on the title path, an explicitly unverified sampling assumption, required validation evidence, and the repository’s checklist/overlap rules.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-22T01:52:50Z.
Thanks for the new Ghost run and for documenting the exact next stop. The updated trace reaches a CPU read of the separate stencil plane, which the report also says overlaps a host-only multisampled color target. I have refreshed my review with a request to trace that read and prove the plane clear without relying on guarded or stale guest memory. I also noted that the no-metadata sampling assumption, required same-GPU Vulkan validation comparison, Spirit of the Island Unblocks entry, and #7233/#7371 ordering still need resolution. The existing lavapipe fixture results remain useful; I did not run them locally.
Imported from boykopovar/AnyPS5. Originally posted by EagleBearerYS on 2026-10-22T02:09:48Z.
@milescoviello thanks for the three Ghost of Tsushima Director's Cut (PPSA02225) runs and for tracing the stop this far. The range in the guard is exactly the stencil plane, and the only CPU read of exactly that range is this PR's clear check in
prepareDepthSampling(DepthSurface.cppL158), so the__cxa_throwhook isn't needed. As you read it, the game uses the plane's memory as a 2-sample colour target as well; with 64 KiB tiles, an R8 target at 1920x2160 has the same footprint.@MarcZX10, thanks. The next commits, by point:
DB_RENDER_CONTROL's compress-disable bits, the guest's in-place expand, has marked the surface expanded. A clear or fill resets the mark. Without an observed expand it refuses as before, and a regression covers both. Whether The Grinch: Christmas Adventures (PPSA07656) passes that step then depends on its expanding first, which needs a run to show.mainand on the new head underctest -V, withANYPS5_REQUIRE_VULKAN=1,ANYPS5_NO_SHADER_CACHE=1andVK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation, on lavapipe on Ubuntu 24.04. It includes the loader's output showing the layer and a diff of theVUID-messages.Points 4 and 5 are in the description now.
@milescoviello, once the new head is up, would you run Ghost of Tsushima on it? Its new log line says whether the game clears or draws that colour target, which decides whether the next step is a copy of its samples into the stencil.
Imported from boykopovar/AnyPS5. Originally posted by milescoviello on 2026-10-22T02:24:40Z.
@EagleBearerYS yes, I'll run Ghost of Tsushima (PPSA02225) on the new head when it's up, warm and cold, and post the log lines about that color target.
The
__cxa_throwhook run had already started when your comment came in, and it confirms the reader. Throw stack, frames resolved withaddr2lineagainst the run'slibSceAgcDriver.prx:It's the same stop at 18 s.
AI-assisted: yes (Claude Code)
Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-22T02:55:39Z.
@EagleBearerYS I ran #9533 (
5daa8cb7a9) on PPSA03208 (currentmainplus a few other open PRs this title needs to get here, a local colour-guard retire like #8223's, and diagnostic prints). It clears both stops it names for this title: the format refusal and the HTILE stencil requirement. The two whole fills (HTILE, then the separate stencil plane) are taken as clears with no refusal, and the non-pipe-aligned HTILE check passes. Thanks.The next stop is at the first dispatch of a compute program, in
CheckResource:I printed the descriptor at that check. The program samples the surface three times:
dcc=0)T# of the failing read:
1546eb00 c0500000 021bc1df e1810924 00000000 00700010 00000000 00000000. The surface is 1920x2160, two samples, D32S8, HTILE depth-only, with the stencil plane registered at 0x1546eb0000.Here is how it gets there, as far as I can see.
DepthSurfaceTexturefinds the surface for a reader whose base is either the depth plane or the separate stencil plane (with a one-byte format). For a multisampled reader, it then callsCheckCurrentandCheckResource, andCheckResourceonly accepts the depth plane in format 22.SampledAcceptsalready knows a stencil view (R8_UINTatstencilAddress), but the multisampled path never reaches it.So the title reads the stencil of the native D32S8 target per sample, through a plain
R8_UINT2D MSAA descriptor with no metadata, right after reading the depth the same way. Would a stencil-aspect sampled view of the native image fit in this PR? Or would you rather keep it for a follow-up? If it helps, I can run a build of yours on the title and post the result.Imported from boykopovar/AnyPS5. Originally posted by EagleBearerYS on 2026-10-22T03:03:17Z.
@oneandonlydean thanks for running it on PPSA03208 and for printing the descriptors, and good to see both of its stops clear. Your third read samples the stencil plane per sample through a plain
R8_UINT2D MSAA descriptor, which this PR doesn't handle. It'll come as a follow-up stacked on this PR. Sampling the stencil plane needs a stencil-aspect view of the native image, theR8_UINTT# accepted at the stencil address, and the sample shadow carrying stencil too, which is more than this PR's import change. We'd be glad to take you up on the offer to run it once it's up.Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-22T04:12:32Z.
Data point (Windows, AMD RX 6400), PR head
5daa8cb7a9, merge-basea6dcea9279(merges cleanly into upstream/main).Target:
agc_driver_native_multisample_depth(the PR'sNativeMultisampleDepth.cpp).DepthSurface.cppreset to the merge-base (test file kept): 3/3 fail.Selected GPU name=AMD Radeon RX 6400 vendor=0x1002 device=0x743f(from the test log).Only this one execution test was run; no title run and no other GPU. Logs are available as file names only: data_9533_rx6400_green1-3.log, data_9533_rx6400_red1-3.log.
AI-assisted (Claude Code).
Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-22T04:15:16Z.
@EagleBearerYS thanks, that matches what I saw: both stops clear with this PR, and the next one is the per-sample R8_UINT read of the stencil plane. A follow-up stacked on this one makes sense. Mention me when it's up and I'll run it on PPSA03208.
Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-22T06:42:22Z.
Title data point (Windows, AMD Radeon RX 6400), PPSA02225, 600 s runs, one run each.
Selected GPU name=AMD Radeon RX 6400 vendor=0x1002 device=0x743f subgroup=64(run_*.out line 24).17f5335562, all 360 libs rebuilt; run_072452): stops withcompute shader 0x20001ef700: AGC graphics: native multisample stencil or depth format import is not implemented(.err line 252-258, then abort).AGC graphics: a CPU read of 0x1546eb0000+0x870000 overlaps multisampled color target 0x1546eb0000+0x870000 (2 samples), whose samples are only on the host: guest access to it is not implemented(.err line 233-237, then abort).So on this title the PR moves the stop past the depth/stencil import; the next stop is a different refusal (CPU read of a multisampled color target). One run per state, so this says nothing about how often either stop occurs. No other title and no other GPU were run. Run folders on request (file names only: PPSA02225_rNT/run_072452, run_080153).
Imported from boykopovar/AnyPS5. Originally posted by BunnyFl on 2026-10-22T07:04:28Z.
@EagleBearerYS The Grinch: Christmas Adventures (PPSA07656, 01.000.003) on this PR's head
5daa8cb7a9merged intomaind6eafa54d0. Windows 11, AMD Radeon RX 9070 XT (driver 32.0.32015.7029), release libs, title relinked with the same build, no input.mainalone (earlier report in #8606) it aborts about 2 s in, before its first frame:native multisample stencil or depth format import is not implemented.APS5_DUMP_FRAMES=60 APS5_DUMP_FRAMES_EVERY=120(about 60 fps presented) shows the logos, the publisher video, the autosave notice, loading, and the 3D storybook intro with its pages drawn.Without input it stays in the intro, so I can't say yet what the first gameplay scene does. Thanks for covering this shape.
AI-assisted: yes (Claude Code)
Imported from boykopovar/AnyPS5. Originally posted by EagleBearerYS on 2026-10-22T07:07:22Z.
@BunnyFl thanks for running The Grinch: Christmas Adventures (PPSA07656) on the RX 9070 XT, with the same build for the relink and the libs. Going from an abort before the first frame on
mainto 240 s with no refusal, and frame dumps through the logos, the publisher video, the autosave notice, loading and the storybook intro, is the run this PR needed for that title. It'll be in Tested, on the Unblocks line and on the GPUs tested line in the next description update, with your note that without input it stays in the intro.Imported from boykopovar/AnyPS5. Originally posted by BunnyFl on 2026-10-22T08:15:12Z.
@EagleBearerYS a follow-up for the Unblocks line: with scripted input, The Grinch (PPSA07656) gets past the intro into the first level and plays there (walking, collecting presents, moving between rooms), with no AGC refusal in a 365 s run on the same build.
AI-assisted: yes (Claude Code)
Imported from boykopovar/AnyPS5. Originally posted by JJenkx on 2026-10-22T08:19:15Z.
@EagleBearerYS I tested this head (
5daa8cb7a92a993ff16b3cde6710ba882cd7681c) integrated onto maind6eafa54d0464258574fd2f71889754d05a5bc93and found two issues worth folding in.Linux, AMD Radeon RX 6650 XT / RADV NAVI23, driver version reported by Vulkan
109060100. These are title-free GPU correctness checks, not title bring-up or FPS evidence. All three builds used this same GPU, Release, forced Vulkan execution, disabled shader caching, and confirmed Khronos validation at both instance and device creation. No unavailable cases.VUID-VkImageMemoryBarrier-image-03320in the stencil testsAGC graphics: external GPU writes over native multisample depth are not implementedThe focused set is
agc_driver_(native_multisample_depth|native_depth_(retirement|clears|clear_refusals|stencil|separate_stencil)|msaa_dcc_clear_4)(anchored). Main has five of these; this PR adds the two stencil tests. On the integration/candidate, the printed case counts were 24 multisample, 24 retirement, 72 completed clears, 12 depth/stencil and 60 separate-stencil, all withunavailable=0.createSampleShadowtransitions a combined depth/stencil image with only the depth aspect, whileseparateDepthStencilLayoutsis not enabled. Including stencil for combined formats removes VUID 03320.enqueueDmaPacketbypassespreparePacketMemoryand callsstoreBufferFillwithout metadata notification. Changing only its last argument totruemakes the post-fill metadata notification happen. Keep the synchronous path unchanged:preparePacketMemoryalready notifies there.The additional diagnostic uses the real
sceAgcDriverSubmitDcb -> enqueueDmaPacket -> storeBufferFill -> vkCmdFillBufferpath: 4-sample D32S8, compressed/uncompressed HTILE, clear values 0/1, and three 131072-byte refills per case. It checks the DMA-fill counter and actual forwarded Vulkan fill each advance once with no added opcode drain. An earlier aspect-only control removed the VUID but retained the external-write refusal; adding the notification fix passed all four cases. The fixture is diagnostic code, not an existing upstream regression test. This does not establish 2/8-sample, Windows, or game performance behavior.Minimal tested production patch:
Candidate focused log SHA256:
44b16b140df80c75c3bba5e8490affac1e3e2ee8a91ad00838172122e5436d08; candidate DMA log SHA256:63354a0084320880ec4253697bc889fd8a330dbdb3e011e6448e4fafc696bd4d. The exact tested reproducer, production patch, peer/candidate DMA logs, result summary and SHA256 manifest are now available. The bundle contains the original validated fixture; its README explains the pinned integration and negative/candidate controls.AI-assisted: yes (Codex).
Imported from boykopovar/AnyPS5. Originally posted by EagleBearerYS on 2026-10-22T09:12:18Z.
This PR's head is now
514643ab16.@MarcZX10, by your review's points:
2d4c1da61dasks for a host-only colour target over the plane before reading it, and14e56205cfimports a plane that target drew over unproven.agc_driver_native_depth_aliased_stencilcovers both.439557b223accepts it only after an observed in-place expand, a draw withDB_RENDER_CONTROL's compress-disable bits.agc_driver_native_depth_expand_gatecovers it.mainagainst this head on one GitHub Linux runner (run) logs the same singleVUID-VkDeviceCreateInfo-pNext-pNexton both, and this PR adds none. The previous head'sVUID-VkImageMemoryBarrier-image-03320is gone at this head.@milescoviello @xXPBSXx thanks for the Ghost of Tsushima Director's Cut (PPSA02225) runs, on the RTX 4070 Ti and on the RX 6400 with all of
main's libs rebuilt. Both stop at the same CPU read of the stencil plane, which a 2-sample colour target covers.514643ab16doesn't read the plane when a host-only colour target covers it:If you can run
514643ab16, the log shows which of those happens.@BunnyFl thanks for the scripted-input run of The Grinch: Christmas Adventures (PPSA07656). The first level, walking, collecting presents and moving between rooms for 365 s with no AGC refusal is now in Tested and on the Unblocks line.
@JJenkx thanks for the RX 6650 XT runs with validation on, and for the patch.
514643ab16:createSampleShadow's transition names the stencil aspect too when the host format has one. It's the same barrier your patch changes.enqueueDmaPacketis coming as a commit on top, credited to you with aCo-authored-bytrailer, with a regression test of ours on that path. I'll link it here when it's up.Imported from boykopovar/AnyPS5. Originally posted by JJenkx on 2026-10-22T09:21:29Z.
Thanks for incorporating the combined depth/stencil barrier fix. I expanded the queued-DMA regression on the earlier pinned stack (main
d6eafa54, PR5daa8cb7, plus the two reported production fixes):matrix-*filenames.One harness caveat is preserved explicitly: CTest exited 0, but the wrapper rejected its raw confirmation count because shutdown stderr split one stdout line.
matrix-original-result.jsonremains failed;matrix-review.jsonand the exact reviewer show the split reconstruction and three negative controls, confirming all 36 fills without modifying the raw log.This does not validate current head
514643ab, latest main, a title, or FPS. The matrix fixture is available for adapting into your queued-fill regression; no competing fix PR from me. AI-assisted with Codex.Imported from boykopovar/AnyPS5. Originally posted by milescoviello on 2026-10-22T09:43:48Z.
@EagleBearerYS Ghost of Tsushima (PPSA02225) on
514643ab16, warm and cold. Release libs at that commit, Linux, RTX 4070 Ti, NVIDIA 615.71.09, a pad script cycling through the menu buttons. The memory caps were 14 GB (warm) and 16 GB (cold), which was what the host had room for. Both runs stop early, so the caps didn't matter.The earlier stop, the CPU read of the stencil plane
0x1546eb0000+0x870000, is gone. Both runs now stop on the depth plane of the same target instead: warm at 17 s, cold at 52 s, with the same two lines:What I read from them:
0x1544ed0000+0x1fe0000ends at0x1546eb0000, where the stencil plane starts. So the title has a host-only 2-sample colour target over each of the two planes. The one over the depth plane isR32_SFLOAT(vk format 100) and covers exactly that range.prepareDepthSamplingchecks the depth range first and refuses there, so neither run reaches the stencil plane's branch. The log can't show yet whether that plane would take the known R8 value or be imported unproven.DB_DEPTH_CLEAR.I'll run the next head the same way.
AI-assisted: yes (Claude Code)
Imported from boykopovar/AnyPS5. Originally posted by JJenkx on 2026-10-22T09:59:48Z.
I checked this against
514643ab16. The depth-plane stop is consistent with the code:prepareDepthSamplingonly accepts a known colour alias for index 2 (the separate stencil plane); index 0 (depth) is refused regardless of its clear value.CheckCurrentindependently has the same stencil-only allowance, so accepting the initial import alone would still leave a later refusal.For a depth-clear follow-up, the missing distinction is the target's
clearDepthand HTILE state. The current shadow initializes depth fromtarget.clearDepth, and the import requires HTILE to prove that value. The logged R32 colour clear of 0 does not establish those agree. Recording the target clear and HTILE layout/proof alongside this alias would distinguish a matching known-clear case from a conflicting one. Any implementation also needs to revalidate the alias after a subsequent draw/write; useful regression controls are matching versus mismatching depth clear, exact versus partial range, sample mismatch, and a draw after the clear.This is source review only; I have not run Ghost of Tsushima or established that accepting this alias would advance the title. AI-assisted with Codex.
Imported from boykopovar/AnyPS5. Originally posted by EagleBearerYS on 2026-10-22T10:16:02Z.
@JJenkx a correction to my last comment: the queued DMA fill fix won't be a commit on this PR.
enqueueDmaPacket's large-fill branch passesfalsefornoteMetadataonmaintoo (PacketMemory.cpp:307), so the fix goes tomainas its own PR, and this PR inherits it from there. It's your finding and your patch, so you're welcome to open it yourself. If you'd rather we did, we'll open it in about 2 h with you asCo-authored-by, and a test on the real path: the single-sample DMA fast clear, with a fill over 64 KiB underAPS5_PIPELINE_DMA. Thanks again for the 12-case matrix, and for the source review of the depth-plane stop above.@milescoviello thanks for the warm and cold runs on
514643ab16. The stencil-plane read is gone, and the depth-plane alias you found is next: a follow-up stacked on this PR is coming for it. On your question about the 0.0 clear: as JJenkx's review above says, the colour target's clear alone doesn't show that the depth agrees with it. The follow-up has to tie it to the depth target's own clear value and HTILE before it can take it. Both runs are now in Tested, and the stop is under next stops.Imported from boykopovar/AnyPS5. Originally posted by EagleBearerYS on 2026-10-22T10:23:32Z.
@JJenkx a correction on the test: the single-sample DMA fast clear doesn't show the gap, because that surface re-reads its HTILE words when it's bound, and only a native multisample target relies on the fill's note. A real red needs a native multisample depth target sampled on the driver's own device, which takes us about a day to build, so our PR would come then rather than in 2 h. You're still welcome to open it with your fixture; otherwise we'd adapt the matrix fixture from your gist, as you offered, with
Co-authored-bycredit.Imported from boykopovar/AnyPS5. Originally posted by EagleBearerYS on 2026-10-22T10:33:08Z.
@JJenkx sorry for the back-and-forth, this is the last change: on
mainevery metadata fill over a live native multisample target's HTILE already refuses (native multisample depth metadata fill transition is not implemented), so your fix matters only with this PR's fill-as-clear transition, and it goes into this PR as a commit with you as co-author, tested through your device-injection approach. So themainPR offer no longer applies, and there's nothing for you to open.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-22T11:37:12Z.
Review: CHANGES_REQUESTED
Rechecked current head
514643ab165aand the latest integration reports. The separate-stencil changes address the earlier access/refusal stops, the author has now recorded the title discussions and the #7233 → #7371 → #9533 / #8223 order, and the upstream merge is currently clean. This head is nevertheless 14 ahead / 119 behind currentmain(merge basea6dcea927), so it needs another current-main refresh.The newly reported Radeon DMA matrix is from the older pinned stack (
main d6eafa54+ PR5daa8cb7+ two production fixes), not this current head or currentmain. The author’s latest comment says the metadata-fill/DMA gap will be fixed in this PR with a regression, so that work is still outstanding on514643ab. Please land the coordinated fix in this PR, reproduce the negative control, and rerun the affected DMA + native multisample depth/stencil tests on the current head. Because this changes AGC behavior, the requiredmain/PR comparison must use the same machine and GPU withANYPS5_REQUIRE_VULKAN=1,ANYPS5_NO_SHADER_CACHE=1, andVK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation; attachctest -Vevidence, confirm the layer was loaded, compare for newVUID-messages, and name the GPU/driver/OS. The current branch-mode overlap/conventions report has 0 convention errors (one inherited debt-length warning); I did not run a local GPU build.Imported from boykopovar/AnyPS5. Originally posted by EagleBearerYS on 2026-10-22T12:42:21Z.
@MarcZX10 thanks. By your review's points:
dd7ad4638a,Co-authored-by: JJenkx, with 6bc1899d50's driver-path test. The negative control holds:agc_driver_native_depth_driver_queued_fillfails 3 of 3 with only dd7ad4638a's driver hunk reverted ("AGC graphics: external GPU writes over native multisample depth are not implemented"), and passes 10 of 10 with it (run).main:8b3a6ba88dis merged in (1e07a659ed), clean, and the PR's changed lines are unchanged; only their context moved. The DMA, DCC clear and native multisample depth and stencil tests, 13 in all, pass 10 of 10 on both runners (run).mainagainst this head, in that run, on one GitHub Linux runner: Ubuntu 24.04.5, llvmpipe (Mesa 25.2.8, LLVM 20.1.2), withANYPS5_REQUIRE_VULKAN=1,ANYPS5_NO_SHADER_CACHE=1,VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validationandctest -V.main's arm runs the 7 of the 13 tests it has, and this head's arm runs all 13. The layer loads in both runs, with no "was not found" line. Both log onlyVUID-VkDeviceCreateInfo-pNext-pNext, and this head adds none.All three are in Tested.
Imported from boykopovar/AnyPS5. Originally posted by EagleBearerYS on 2026-10-22T12:42:23Z.
@JJenkx your fix is in this PR as
dd7ad4638a, with you as co-author, and6bc1899d50adds the test seam your approach uses,friend struct DriverTestAccess;, so the test runs native multisample depth through the driver's own device.agc_driver_native_depth_driver_queued_fillfails with only the one-argument change reverted ("external GPU writes over native multisample depth are not implemented") and passes with it, for clears 0 and 1. Thanks again for the fix and the matrix.One question from writing the test: your matrix did three 131072-byte fills per case. On this PR, two HTILE fills of the same pattern back to back refuse ("overlapping native multisample depth clear transitions are not implemented"), with or without the fix. If yours were back to back and passed in your fixture, what did it do between them?
Imported from boykopovar/AnyPS5. Originally posted by milescoviello on 2026-10-22T13:00:09Z.
@EagleBearerYS Ghost of Tsushima (PPSA02225) on the new head
1e07a659ed, the same way as before: release libs at that commit, Linux, RTX 4070 Ti, NVIDIA 615.71.09, 16 GB cap, warm and cold. Both runs stop at the same place as on514643ab16, warm at 53 s and cold at 48 s, with the same lines:So the new commits don't change this title's path, which fits the depth-plane alias being left for your follow-up. I'll run that one when it's up.
AI-assisted: yes (Claude Code)
Imported from boykopovar/AnyPS5. Originally posted by EagleBearerYS on 2026-10-22T13:06:17Z.
@milescoviello thanks for confirming the stop is unchanged on
1e07a659ed. That depth-plane alias is #9742's, stacked on this PR, and it's up now. With a depth-only HTILE whose every word provesDB_DEPTH_CLEAR, its import accepts one colour target over the depth plane with the target's sample count, like the title's 2-sampleR32_SFLOATone: depth reads the clear value there, never the plane's bytes. A draw or clear into that colour target afterwards, or a second one over the plane, still refuses at the next sample. If you can run #9742's head,219e925509, the same way, warm and cold, we'd like to know where it stops next. It's on this PR's previous head, which takes this title's path the same way.Imported from boykopovar/AnyPS5. Originally posted by jotitadev on 2026-10-23T02:06:48Z.
Review: COMMENTED
Apple GPU / MoltenVK run of
1582cf6cc0. The two new driver-path tests check every case and pass it. Then the process aborts at exit on macOS, when the driver singleton tears down the device the test handed it.Machine: Apple M2 Max, macOS 27.2, x86_64 under Rosetta 2. Vulkan loader + MoltenVK 1.4.2 (Vulkan SDK 1.4.363.0), and again against MoltenVK main + SPIRV-Cross #2704. Release,
BUILD_TESTING=ON.Base/method: PR #8658
feat/macos-port@c5fa39620a(currentmainplus the macOS port), notmain, becausemaindoes not build on macOS. This head was merged onto it withgit merge-tree, with no conflicts, and the':!docs'diff applied. Full rebuild first. This was done both on its own (with #9717's test added) and together with #9717, #9443 and #7705.Results on both drivers, every run:
agc_driver_native_depth_retirement,_clears,_clear_refusals,_bda_clear,_stencil,_separate_stencil,_aliased_stenciland_expand_gatepass, and so doesagc_driver_native_multisample_depth.agc_driver_native_depth_driver_pathandagc_driver_native_depth_driver_queued_fillend asSubprocess aborted, after their summary lines:The macOS crash report has the stack:
CheckDriverPathpasses its device to the driver withDriverTestAccess::UseDeviceand never takes it back. So the last reference goes away in the driver singleton's destructor at exit, and~Stateruns after function-local statics it locks have already been destroyed. glibc lets you lock a destroyed mutex; macOS's pthread returnsEINVAL. This is the same kind of failure as #8658'sa036c56b8(GuestMemory::GpuMutex). As a probe, I changedsurfacesMutex()inDepthSurface.cppto a mutex that is never freed. The abort then moved tomutex lock failed: Invalid argument, a plainstd::mutex, in the same~State. So more than one static is involved. A fix in the test, for example releasing the driver's device beforeCheckDriverPathreturns, might avoid all of them. I haven't tried that.Queued fill on macOS: the probe reports
host imports resolve write protection: no ... imported ranges stay watched, and this file forcesWatchoutside Windows. So the queued case does not skip here. All its cases run and pass, at 2 and 4 samples (samples=2/4 clear=0/1: cleared by a queued DMA_DATA fill of 128 KiB from its HTILE through the driver and sampled). The abort comes only after that.Full
^agcsuite (877 tests, this PR with #9717, #9443 and #7705), both drivers: the failures from the #8658 base, plus these two, plus #7705'sdepth_plane_sampling_evicting, which I reported there.GPUs tested: Apple M2 Max (MoltenVK 1.4.2; and MoltenVK main + SPIRV-Cross #2704).
Written with AI assistance (Claude Code). I ran the builds and tests above on my machine.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-29T22:21:04Z.
Review: CHANGES_REQUESTED
Re-checked — new head, changes requested
The new fill-tracking fix has focused regression evidence, but the required validation-layer comparison does not include that production change.
What I ran
6eb141ce5fc9624833a5e05aa42f9f1a2e5fa4d0; PR base:102b7a5cf0ed98dd94d9da76862eb1ee7865a932; livemain:4c8cff191609bc5f28bf9ee2f93672b531285aa4.mainsince the branch's base, so I am not requesting a rebase solely for branch age.Results
debt-lengthwarning on the existing native-depth debt entry (3,990 characters)9e3c41d8260d4afea07672942ebaf734cdc04a715343d0a8dacases pass on Linux CI, with one expected lavapipe skip, and on the cloud lavapipe run 100/100 native-depth tests. These are reported results, not runs I performed.a7697941f3with the prior incomplete-store refusals; not independently reproduced here.main/PR validation-layer run predates5343d0a8da; I found no corresponding run for that new production change in the current report.Unedited local check output
Findings
Blocking
5343d0a8dachanges when tracked HTILE and stencil-plane stores qualify a clear. Please run the same relevant focused AGC tests on currentmainand this exact head usingctest -V,VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation,ANYPS5_NO_SHADER_CACHE=1andANYPS5_REQUIRE_VULKAN=1. Report the exact base/head, GPU/driver/OS, layer-load confirmation, and whether the change adds anyVUID-messages. The existing validation comparison covers an earlier head, while the new commit's reported tests do not identify a validation-layer comparison against currentmain.Non-blocking
mainafter the branch base. I found no reason to request another rebase.Sources
mainNot verified
I did not build, run CTest, or run GPU/title tests locally. The focused and negative-control results above are author-reported. The current Windows workflow had not completed.
To get this to a good state
Add the current-main/current-head validation-layer comparison and its exact test output to the report. I will rerun the same non-build checks and reassess the new head and CI before changing this review.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-30T00:30:51Z.
Review: APPROVED
Re-checked — validation evidence, looks good
The author added the missing validation-layer comparison for head
6eb141ce5fc9624833a5e05aa42f9f1a2e5fa4d0, including the sampled-read case that blocked my previous review.What I ran
Reviewed exact PR head
6eb141ce5fc9624833a5e05aa42f9f1a2e5fa4d0against currentmainat673fa865f418876429bd871fdda2ab15ac1a0831; the merge preview was clean (treebcfa0c7daebf1f919bcc52232975d8d79ec226d2). Environment: Linux 6.1.0-54-amd64, x86-64, Python 3.11.2; no compiler was used.Results
git diff --checkdebt-lengthwarning on the existing long AGC debt entry102b7a5cf0ed98dd94d9da76862eb1ee7865a932and this exact PR head; both arms loaded the layer and reported the same existing VUID, with no new VUIDagc_driver_sample_multisample_targetpassed on both comparison arms; a separate run passed 10/10 on the PR headThe validation and sampled-read workflow runs are here, here, and here. I verified that each run's commit is a child of the exact PR head and adds only the verification harness files; I did not run those tests myself.
Unedited local check output
Sources
Not verified
I did not build or run GPU tests locally, and no PS5-console behavior was tested. The validation comparisons used the PR's base
102b7a5cf0ed98dd94d9da76862eb1ee7865a932; currentmainis673fa865f418876429bd871fdda2ab15ac1a0831. The intervening changes on the PR-touched paths are limited to AGC test registration/gating and the debt document; the current-base merge preview is clean. The reported runtime and validation results are author-provided CI evidence.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-01T00:51:46Z.
Review: COMMENTED
Re-checked — new head, approval withheld pending GPU evidence
The new guard is conservative and documented, but the exact-head pending-HTILE path has not run on a GPU, so I cannot approve this updated head yet.
What I ran
Reviewed head
6d0ff6cd85d9694864285ff684d9ee453107db6bagainst base0836dfdf4fecb1e0326100c490476e15d3a74da5. The PR stack preview against currentmain(cae3edaf11db8c6c1694c2d772d07c079755a71f) is clean. Environment: Linux x86_64, Python 3.11.2, Git 2.39.5; no local build or C++ test was run.Results
Unedited convention output
Findings
Blocking
None identified in the source review. The guard refuses a metadata fill while an HTILE clear dispatch is pending, and the added regression exercises that refusal.
Non-blocking
The exact-head regression did not execute on a GPU: hosted Linux and specialized jobs were skipped, and Windows CI passed without providing GPU execution. Earlier GPU runs described in the PR body are on earlier heads and do not verify this new guard.
Sources
Not verified
No local build, CTest, GPU execution, console behavior, or exact-head validation-layer run was performed. The live dependency report also shows that several stacked dependency PR heads have advanced beyond the revisions included here; the target PR itself merges cleanly into current
main.To get this to a good state
Please attach a focused GPU run of the new pending-HTILE regression on this exact head, including its result and validation-layer output if available. I will recheck the same path and current dependencies before deciding on approval.