perf(agc): upload a GPU-written sampled texture on the GPU from its host import #16286

Merged
JJenkx merged 11 commits from upstream-pr/16286 into main 2026-11-15 10:50:19 +00:00
JJenkx commented 2026-11-06 04:39:14 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by JJenkx on 2026-11-06T04:39:14Z.


What

A sampled texture over memory that the GPU has a pending write to is now uploaded on the GPU from the host import that holds that memory, inside the open batch. It is no longer snapshotted on the CPU, which first waited for the batch and then copied the whole surface.

Where it applies. In cachedTexture, when all of these hold:

  • the lookup has no storage source and no GPU clear;
  • the DCC keys are Uncompressed, without depth compare or layer rows;
  • Recorder::SnapshotWriteOverlaps reports a recorded write over the surface;
  • an existing host import covers it (ExistingHostImportFor). The lookup does not make an import of its own: every live import adds to each submission's buffer-object work.

How. The Texture snapshot constructor takes an optional HostImport source. With one, it copies the tiled bytes from the import buffer into the tiled scratch buffer, behind a barrier on the earlier writes, instead of from a host staging buffer. The detile and the image copy are unchanged.

Cache reuse. The entry keeps no bytes, so a later lookup reuses it only through unchanged() (GuestMemory::UnchangedSince). Direct GPU writes are stamped when they are recorded (ShaderResources::MarkGpuWrites → MarkDirectWrites → MarkPossiblyWritten). So the next write over the surface makes the lookup upload again, on the GPU, as main would snapshot again.

Switch and counter. APS5_NO_SAMPLED_IMPORT=1 keeps the CPU snapshot. The [textures] profile line (APS5_PROFILE_DRAW) counts the uploads as "uploaded on the GPU from host imports", and SampledTexturesImported() exposes the count to tests.

Where it came from. Bendy and the Ink Machine (PPSA27616) samples a 66.8 MB 4K R16G16B16A16_SFLOAT surface (guest format 71) once per frame. Its pending storage image is stored back by the staged-clear flush (#4794, StagedClearSampledRead), which then reads the surface uncompressed. On main that read was ReadTextureSurface → GuestMemory::ReadCommitted → Recorder::SyncThrough: about 10.9 ms of waiting in a 36.5 ms frame, plus the 66.8 MB copy. With this change the flush still stores the image, and the texture is built from the import after that store, on the GPU. The staged-clear behaviour is unchanged.

Related. #9884 removes the vector copy from the same CPU snapshot but keeps the read and its wait. The two touch the same constructor, so whichever lands second needs a small rebase. No open PR builds sampled textures from a host import.

Tested

Arch Linux 7.2.11, GCC 16.2.1, Release, Ryzen 9 7950X, Radeon RX 6650 XT (RADV Mesa 26.2.6).

  • New test in agc_driver_recorder (copiedDirectOrderingTests): a compute dispatch writes a host-imported surface; with the storage-image view turned off for the case (SampledFromStorageForTest), a sampled lookup in the same batch must upload from the import (SampledTexturesImported +1) with no submission in between, and the GPU write must land. At head ee031780fc it passes on the RX 6650 XT and prints its ok line, and passes again under VK_LAYER_KHRONOS_validation with no VUID- messages. An earlier version of this test read the texture back with an invalid copy and, on AMD, skipped itself; see the comment below.

  • agc_driver tests: all 956 pass (first version of the test; it was skipped on this device, see above). agc_driver_staged_clear_sampled_read passes with and without APS5_NO_SAMPLED_IMPORT. That test runs without a recorder, so it does not take the new path; it shows the staged-clear case is unchanged.

  • PPSA27616 on the current head (cfb6626e7e, main 85a48c99de merged), same machine, input and window, order on, off, off, on: with the change 51.12 and 51.46 (mean 51.29), with APS5_NO_SAMPLED_IMPORT=1 39.71 and 40.12 (mean 39.92). That is +28%. The gain is smaller than the +97% below because main's staging upload has since raised the switched-off case from about 26 to about 40 FPS; the result with the change is unchanged at about 51. The figures below are kept as measured at their pins.

  • PPSA27616, same build. These runs were made on main bca78a3958 with the change as first written, which asked HostImportFor; the head asks ExistingHostImportFor, and its own runs are below. Mean FPS over 24–70 s of the survey's timed Cross input, no compiler running, in the order on, off, off, on, off, on, on, off:

    Runs Mean
    this change 50.99, 50.83, 50.68, 50.56 50.77
    APS5_NO_SAMPLED_IMPORT=1 25.72, 25.81, 26.03, 25.55 25.78

    That is +97%, and both orders agree. The eighth run was relaunched after the loop's own attempt was refused for an uncommitted edit in my worktree.

    Gameplay, 110–160 s, same build and order: with the change 19.04, 18.01, 18.08, 18.35 (mean 18.37); with the switch 17.92, 17.90, 18.85, 17.56 (mean 18.06). That is within the spread between runs, so gameplay is unchanged; the wait this removes is what limits the opening, not this part of the scene. The 24–70 s window is the title's near-white opening. By 115 s the scene is the lit corridor; screenshots at 115 and 150 s with and without the switch show the same corridor, posters and lighting as main; I can attach them.

  • This change, measured at e0d92dd125 on main 5444d9862f. The two later commits change the test and add SampledFromStorageForTest, a test hook that is on (the existing behaviour) unless a test turns it off: agc_driver_recorder and both agc_driver_staged_clear_sampled_read tests pass. A profiled PPSA27616 run to 72 s (exit 0) uploads 2,317 textures from host imports and makes no snapshot read over a recorded write, so the existing-import lookup engages as the first version did. Opening, mean FPS over 24–70 s, order on, off, off, on: with the change 49.66 and 50.59 (mean 50.13), with APS5_NO_SAMPLED_IMPORT=1 25.72 and 25.52 (mean 25.62): +96%, as with the first version.

  • Capture pairs for the perf label: PPSA27616, APS5_TRACE_SECONDS=20:40, the timed Cross input, same machine and scene, order main 5444d9862f, this change, this change, main. Both main-to-change pairs halve the frame time (mean -48.6% and -49.1%); main to main differs by +0.8% and change to change by -0.2%. GPU busy time per present goes from 17.9 to 17.2 ms. Second pair, tools/performance_compare.py --require-matching-context:

    Metric Baseline Candidate Change Change (%)
    frame_ms.p50 39.376 19.590 -19.786 -50.249
    frame_ms.p90 41.084 21.905 -19.179 -46.682
    frame_ms.p99 43.090 23.294 -19.796 -45.941
    frame_ms.max 46.104 24.878 -21.226 -46.039
    mean_frame_ms 39.420 20.055 -19.364 -49.124
    gpu_busy_ms_per_present 17.930 17.200 -0.730 -4.071

    Summary lines:

    {"commit":"5444d9862f96","dirty":false,"env":{"APS5_PAD_INPUT_FILE":"<path>","APS5_PLAYGO_UNLISTED_CHUNKS":"installed","APS5_TRACE_DIR":"<path>","APS5_TRACE_SECONDS":"20:40"},"gpu":"AMD Radeon RX 6650 XT (RADV NAVI23)","driver":"radv Mesa 26.2.6-arch1.1","os":"Linux 7.2.11-arch1-1","cpu":"AMD Ryzen 9 7950X 16-Core Processor","cpu_threads":32,"memory_mib":127901,"title_id":"PPSA27616","title":"Bendy and the Ink Machine","content_version":"01.000.002","resolution":"3840x2160","window":{"spec":"seconds 20:40","first_present":316,"ms":40011.092},"presents":1015,"frame_ms":{"p50":39.376,"p90":41.084,"p99":43.090,"max":46.104},"gpu_busy_ms_per_present":17.930,"worker_busy_pct":{"queue worker 0x0":80.011},"top_phases_ms_per_frame":{"Driver.Packet":31.538,"Driver.Packet.draw":30.472,"Driver.Draw":30.465,"Graphics.Draw":30.159,"Graphics.Draw.draw_and_resource_release":30.075,"Driver.Draw.device_setup":29.984,"Resources.Complete":29.328,"Recorder.Sync":11.026},"trace_dropped":false,"trace":"aps5-trace-5444d9862f96-2411245.json.gz"}
    
    {"commit":"e0d92dd12505","dirty":false,"env":{"APS5_PAD_INPUT_FILE":"<path>","APS5_PLAYGO_UNLISTED_CHUNKS":"installed","APS5_TRACE_DIR":"<path>","APS5_TRACE_SECONDS":"20:40"},"gpu":"AMD Radeon RX 6650 XT (RADV NAVI23)","driver":"radv Mesa 26.2.6-arch1.1","os":"Linux 7.2.11-arch1-1","cpu":"AMD Ryzen 9 7950X 16-Core Processor","cpu_threads":32,"memory_mib":127901,"title_id":"PPSA27616","title":"Bendy and the Ink Machine","content_version":"01.000.002","resolution":"3840x2160","window":{"spec":"seconds 20:40","first_present":421,"ms":40010.395},"presents":1995,"frame_ms":{"p50":19.590,"p90":21.905,"p99":23.294,"max":24.878},"gpu_busy_ms_per_present":17.200,"worker_busy_pct":{"queue worker 0x0":10.846},"top_phases_ms_per_frame":{"VideoOut.Flip":18.790,"Driver.Present":18.732,"VideoOut.Flip.present":18.726,"Driver.Present.present_display_buffer":17.210,"Recorder.WaitSerial":16.609,"Driver.Packet":2.174,"Driver.Present.render_fence_wait":1.440,"Vulkan.Retire":1.436},"trace_dropped":false,"trace":"aps5-trace-e0d92dd12505-2368445.json.gz"}
    

    tools/trace_digest.py, this change: seconds 20:40 from present 421: 1995 presents, frame p50 19.6 / p90 21.9 / p99 23.3 / max 24.9 ms, GPU busy 17.2 ms per present AMD Radeon RX 6650 XT (RADV NAVI23), radv Mesa 26.2.6-arch1.1, Linux 7.2.11-arch1-1, 3840x2160, commit e0d92dd125, dropped: no

    The four .json.gz traces (1.8 to 3.5 MB) are kept locally; I can attach them.

  • Profile (APS5_PROFILE_DRAW=1, PPSA27616 to 170 s, one run each): with APS5_NO_SAMPLED_IMPORT=1, 1,740 sampled snapshots, 1,666 of them read over recorded writes. With the change, 74 snapshots, none over recorded writes, and 3,140 textures uploaded from host imports. The change uploads more often than main snapshots, because an entry without bytes cannot be kept by a byte compare when a write left the surface unchanged. That costs GPU copies, not waits, and the frame rate above includes it. The waits left in gameplay are the same in both runs (DRAW_INDEX_2 texture reads, about 145 per 10 s); they come from another reader and are not changed here.

  • PPSA21607 (The Smurfs – Dreams), a second title that samples surfaces over recorded writes. Profiled 293 s runs of this head (exit 0): with APS5_NO_SAMPLED_IMPORT=1, 2,489 snapshots, 1,456 of them over recorded writes; with the change, 1,033 snapshots, 2 over recorded writes, and 1,603 textures uploaded from host imports. Frame times are unchanged: eight 8 s traces at 280 s, in the order on, off, off, on, off, on, on, off, give a median frame of 70.9, 91.9, 91.1 and 91.2 ms with the change and 91.4, 89.3, 91.1 and 67.8 ms without it. One run in each set catches a lighter part of the scene. Removing those reads does not change the frame time there.

  • Other titles, 125 s each with Cross every 15 s and APS5_PROFILE_DRAW=1, against the same slice on main b6c74f1f97: PPSA02801, PPSA02817, PPSA25009 and PPSA28002 stop at the same points with main's multisample depth publication refusal (#15600). PPSA05213, PPSA06327 and PPSA21480 run to the close at main's frame rate. None of the seven takes the new path (the profile counts 0 imported uploads), so this change does not reach them.

  • The branch is on main 5444d9862f, where it was measured. It merges onto current main f53ddbc377 without conflicts; none of the commits since touches its files.

  • Not tested on Windows or macOS.

Validated by others on head ed403d7cc3: NVIDIA RTX 3070 Ti (615.78.08) and Intel UHD 630 (Mesa 26.2.6) on Linux, AGC, shader and VideoOut tests the same as main 17fec48224, and the recorder, staged-clear and partially-resident tests pass 3 of 3 alone on each (run). Earlier heads: the same two GPUs on b260338ac5 (run); source review of b260338ac5 and cfb6626e7e (1, 2).

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: AMD RX 6650 XT (RADV)
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5182988928 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/16286). Originally posted by [JJenkx](https://github.com/JJenkx) on 2026-11-06T04:39:14Z. --- ### What A sampled texture over memory that the GPU has a pending write to is now uploaded on the GPU from the host import that holds that memory, inside the open batch. It is no longer snapshotted on the CPU, which first waited for the batch and then copied the whole surface. **Where it applies.** In `cachedTexture`, when all of these hold: - the lookup has no storage source and no GPU clear; - the DCC keys are `Uncompressed`, without depth compare or layer rows; - `Recorder::SnapshotWriteOverlaps` reports a recorded write over the surface; - an existing host import covers it (`ExistingHostImportFor`). The lookup does not make an import of its own: every live import adds to each submission's buffer-object work. **How.** The `Texture` snapshot constructor takes an optional `HostImport` source. With one, it copies the tiled bytes from the import buffer into the tiled scratch buffer, behind a barrier on the earlier writes, instead of from a host staging buffer. The detile and the image copy are unchanged. **Cache reuse.** The entry keeps no bytes, so a later lookup reuses it only through `unchanged()` (`GuestMemory::UnchangedSince`). Direct GPU writes are stamped when they are recorded (`ShaderResources::MarkGpuWrites` → `MarkDirectWrites` → `MarkPossiblyWritten`). So the next write over the surface makes the lookup upload again, on the GPU, as `main` would snapshot again. **Switch and counter.** `APS5_NO_SAMPLED_IMPORT=1` keeps the CPU snapshot. The `[textures]` profile line (`APS5_PROFILE_DRAW`) counts the uploads as "uploaded on the GPU from host imports", and `SampledTexturesImported()` exposes the count to tests. **Where it came from.** Bendy and the Ink Machine (PPSA27616) samples a 66.8 MB 4K `R16G16B16A16_SFLOAT` surface (guest format 71) once per frame. Its pending storage image is stored back by the staged-clear flush ([#4794](https://github.com/boykopovar/AnyPS5/pull/4794), `StagedClearSampledRead`), which then reads the surface uncompressed. On `main` that read was `ReadTextureSurface` → `GuestMemory::ReadCommitted` → `Recorder::SyncThrough`: about 10.9 ms of waiting in a 36.5 ms frame, plus the 66.8 MB copy. With this change the flush still stores the image, and the texture is built from the import after that store, on the GPU. The staged-clear behaviour is unchanged. **Related.** #9884 removes the vector copy from the same CPU snapshot but keeps the read and its wait. The two touch the same constructor, so whichever lands second needs a small rebase. No open PR builds sampled textures from a host import. ### Tested Arch Linux 7.2.11, GCC 16.2.1, Release, Ryzen 9 7950X, Radeon RX 6650 XT (RADV Mesa 26.2.6). - **New test** in `agc_driver_recorder` (`copiedDirectOrderingTests`): a compute dispatch writes a host-imported surface; with the storage-image view turned off for the case (`SampledFromStorageForTest`), a sampled lookup in the same batch must upload from the import (`SampledTexturesImported` +1) with no submission in between, and the GPU write must land. At head `ee031780fc` it passes on the RX 6650 XT and prints its `ok` line, and passes again under `VK_LAYER_KHRONOS_validation` with no `VUID-` messages. An earlier version of this test read the texture back with an invalid copy and, on AMD, skipped itself; see the comment below. - **`agc_driver` tests:** all 956 pass (first version of the test; it was skipped on this device, see above). `agc_driver_staged_clear_sampled_read` passes with and without `APS5_NO_SAMPLED_IMPORT`. That test runs without a recorder, so it does not take the new path; it shows the staged-clear case is unchanged. - **PPSA27616 on the current head** (`cfb6626e7e`, `main` `85a48c99de` merged), same machine, input and window, order on, off, off, on: with the change 51.12 and 51.46 (mean 51.29), with `APS5_NO_SAMPLED_IMPORT=1` 39.71 and 40.12 (mean 39.92). That is **+28%**. The gain is smaller than the +97% below because `main`'s staging upload has since raised the switched-off case from about 26 to about 40 FPS; the result with the change is unchanged at about 51. The figures below are kept as measured at their pins. - **PPSA27616**, same build. These runs were made on `main` `bca78a3958` with the change as first written, which asked `HostImportFor`; the head asks `ExistingHostImportFor`, and its own runs are below. Mean FPS over 24–70 s of the survey's timed Cross input, no compiler running, in the order on, off, off, on, off, on, on, off: | | Runs | Mean | |---|---|---| | this change | 50.99, 50.83, 50.68, 50.56 | 50.77 | | `APS5_NO_SAMPLED_IMPORT=1` | 25.72, 25.81, 26.03, 25.55 | 25.78 | That is +97%, and both orders agree. The eighth run was relaunched after the loop's own attempt was refused for an uncommitted edit in my worktree. Gameplay, 110–160 s, same build and order: with the change 19.04, 18.01, 18.08, 18.35 (mean 18.37); with the switch 17.92, 17.90, 18.85, 17.56 (mean 18.06). That is within the spread between runs, so gameplay is unchanged; the wait this removes is what limits the opening, not this part of the scene. The 24–70 s window is the title's near-white opening. By 115 s the scene is the lit corridor; screenshots at 115 and 150 s with and without the switch show the same corridor, posters and lighting as `main`; I can attach them. - **This change**, measured at `e0d92dd125` on `main` `5444d9862f`. The two later commits change the test and add `SampledFromStorageForTest`, a test hook that is on (the existing behaviour) unless a test turns it off: `agc_driver_recorder` and both `agc_driver_staged_clear_sampled_read` tests pass. A profiled PPSA27616 run to 72 s (exit 0) uploads 2,317 textures from host imports and makes no snapshot read over a recorded write, so the existing-import lookup engages as the first version did. Opening, mean FPS over 24–70 s, order on, off, off, on: with the change 49.66 and 50.59 (mean 50.13), with `APS5_NO_SAMPLED_IMPORT=1` 25.72 and 25.52 (mean 25.62): +96%, as with the first version. - **Capture pairs** for the `perf` label: PPSA27616, `APS5_TRACE_SECONDS=20:40`, the timed Cross input, same machine and scene, order `main` `5444d9862f`, this change, this change, `main`. Both `main`-to-change pairs halve the frame time (mean -48.6% and -49.1%); `main` to `main` differs by +0.8% and change to change by -0.2%. GPU busy time per present goes from 17.9 to 17.2 ms. Second pair, `tools/performance_compare.py --require-matching-context`: | Metric | Baseline | Candidate | Change | Change (%) | | --- | ---: | ---: | ---: | ---: | | frame_ms.p50 | 39.376 | 19.590 | -19.786 | -50.249 | | frame_ms.p90 | 41.084 | 21.905 | -19.179 | -46.682 | | frame_ms.p99 | 43.090 | 23.294 | -19.796 | -45.941 | | frame_ms.max | 46.104 | 24.878 | -21.226 | -46.039 | | mean_frame_ms | 39.420 | 20.055 | -19.364 | -49.124 | | gpu_busy_ms_per_present | 17.930 | 17.200 | -0.730 | -4.071 | Summary lines: ```json {"commit":"5444d9862f96","dirty":false,"env":{"APS5_PAD_INPUT_FILE":"<path>","APS5_PLAYGO_UNLISTED_CHUNKS":"installed","APS5_TRACE_DIR":"<path>","APS5_TRACE_SECONDS":"20:40"},"gpu":"AMD Radeon RX 6650 XT (RADV NAVI23)","driver":"radv Mesa 26.2.6-arch1.1","os":"Linux 7.2.11-arch1-1","cpu":"AMD Ryzen 9 7950X 16-Core Processor","cpu_threads":32,"memory_mib":127901,"title_id":"PPSA27616","title":"Bendy and the Ink Machine","content_version":"01.000.002","resolution":"3840x2160","window":{"spec":"seconds 20:40","first_present":316,"ms":40011.092},"presents":1015,"frame_ms":{"p50":39.376,"p90":41.084,"p99":43.090,"max":46.104},"gpu_busy_ms_per_present":17.930,"worker_busy_pct":{"queue worker 0x0":80.011},"top_phases_ms_per_frame":{"Driver.Packet":31.538,"Driver.Packet.draw":30.472,"Driver.Draw":30.465,"Graphics.Draw":30.159,"Graphics.Draw.draw_and_resource_release":30.075,"Driver.Draw.device_setup":29.984,"Resources.Complete":29.328,"Recorder.Sync":11.026},"trace_dropped":false,"trace":"aps5-trace-5444d9862f96-2411245.json.gz"} ``` ```json {"commit":"e0d92dd12505","dirty":false,"env":{"APS5_PAD_INPUT_FILE":"<path>","APS5_PLAYGO_UNLISTED_CHUNKS":"installed","APS5_TRACE_DIR":"<path>","APS5_TRACE_SECONDS":"20:40"},"gpu":"AMD Radeon RX 6650 XT (RADV NAVI23)","driver":"radv Mesa 26.2.6-arch1.1","os":"Linux 7.2.11-arch1-1","cpu":"AMD Ryzen 9 7950X 16-Core Processor","cpu_threads":32,"memory_mib":127901,"title_id":"PPSA27616","title":"Bendy and the Ink Machine","content_version":"01.000.002","resolution":"3840x2160","window":{"spec":"seconds 20:40","first_present":421,"ms":40010.395},"presents":1995,"frame_ms":{"p50":19.590,"p90":21.905,"p99":23.294,"max":24.878},"gpu_busy_ms_per_present":17.200,"worker_busy_pct":{"queue worker 0x0":10.846},"top_phases_ms_per_frame":{"VideoOut.Flip":18.790,"Driver.Present":18.732,"VideoOut.Flip.present":18.726,"Driver.Present.present_display_buffer":17.210,"Recorder.WaitSerial":16.609,"Driver.Packet":2.174,"Driver.Present.render_fence_wait":1.440,"Vulkan.Retire":1.436},"trace_dropped":false,"trace":"aps5-trace-e0d92dd12505-2368445.json.gz"} ``` `tools/trace_digest.py`, this change: **seconds 20:40** from present 421: 1995 presents, frame p50 19.6 / p90 21.9 / p99 23.3 / max 24.9 ms, GPU busy 17.2 ms per present AMD Radeon RX 6650 XT (RADV NAVI23), radv Mesa 26.2.6-arch1.1, Linux 7.2.11-arch1-1, 3840x2160, commit e0d92dd12505, dropped: no The four `.json.gz` traces (1.8 to 3.5 MB) are kept locally; I can attach them. - **Profile** (`APS5_PROFILE_DRAW=1`, PPSA27616 to 170 s, one run each): with `APS5_NO_SAMPLED_IMPORT=1`, 1,740 sampled snapshots, 1,666 of them read over recorded writes. With the change, 74 snapshots, none over recorded writes, and 3,140 textures uploaded from host imports. The change uploads more often than `main` snapshots, because an entry without bytes cannot be kept by a byte compare when a write left the surface unchanged. That costs GPU copies, not waits, and the frame rate above includes it. The waits left in gameplay are the same in both runs (`DRAW_INDEX_2` texture reads, about 145 per 10 s); they come from another reader and are not changed here. - **PPSA21607** (The Smurfs – Dreams), a second title that samples surfaces over recorded writes. Profiled 293 s runs of this head (exit 0): with `APS5_NO_SAMPLED_IMPORT=1`, 2,489 snapshots, 1,456 of them over recorded writes; with the change, 1,033 snapshots, 2 over recorded writes, and 1,603 textures uploaded from host imports. Frame times are unchanged: eight 8 s traces at 280 s, in the order on, off, off, on, off, on, on, off, give a median frame of 70.9, 91.9, 91.1 and 91.2 ms with the change and 91.4, 89.3, 91.1 and 67.8 ms without it. One run in each set catches a lighter part of the scene. Removing those reads does not change the frame time there. - **Other titles**, 125 s each with Cross every 15 s and `APS5_PROFILE_DRAW=1`, against the same slice on `main` `b6c74f1f97`: PPSA02801, PPSA02817, PPSA25009 and PPSA28002 stop at the same points with `main`'s multisample depth publication refusal (#15600). PPSA05213, PPSA06327 and PPSA21480 run to the close at `main`'s frame rate. None of the seven takes the new path (the profile counts 0 imported uploads), so this change does not reach them. - The branch is on `main` `5444d9862f`, where it was measured. It merges onto current `main` `f53ddbc377` without conflicts; none of the commits since touches its files. - Not tested on Windows or macOS. **Validated by others** on head `ed403d7cc3`: NVIDIA RTX 3070 Ti (615.78.08) and Intel UHD 630 (Mesa 26.2.6) on Linux, AGC, shader and VideoOut tests the same as `main` `17fec48224`, and the recorder, staged-clear and partially-resident tests pass 3 of 3 alone on each ([run](https://github.com/boykopovar/AnyPS5/pull/16286#issuecomment-6802688435)). Earlier heads: the same two GPUs on `b260338ac5` ([run](https://github.com/boykopovar/AnyPS5/pull/16286#issuecomment-6734050064)); source review of `b260338ac5` and `cfb6626e7e` ([1](https://github.com/boykopovar/AnyPS5/pull/16286#issuecomment-6788265089), [2](https://github.com/boykopovar/AnyPS5/pull/16286#issuecomment-6791125792)). ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: AMD RX 6650 XT (RADV) - [x] AI-assisted: yes
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!16286
No description provided.