perf(shader): load runtime-format buffer components in one loop #21973

Merged
JJenkx merged 6 commits from upstream-pr/21973 into main 2026-11-20 09:57:36 +00:00
JJenkx commented 2026-11-17 00:10:39 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by JJenkx on 2026-11-17T00:10:39Z.


What

A formatted buffer load whose V# is read from GPU memory goes through load_formatted_gpu_buffer_x<n>, which decodes the format at run time (genericFormattedLoad). That function emitted the per-component read and conversion four times, once per component, and each copy holds a dword read and a narrow-byte read through the BDA page table. RADV inlines every function regardless of DontInline, so a shader with many such loads becomes very large before NIR optimizes it.

This emits the per-component work once, inside a SPIR-V loop over the component index (DontUnroll). The loop picks the component's bit width, guest address and whether it is needed by index, then reads and converts it as before. The set of conversions is the union over components; each conversion is selected by type and bit width, so the result is the same. In the Ghost of Yōtei captures below, load_formatted_gpu_buffer_x4 has 3595 instructions on main and 958 with this PR, and its calls go from 17 to 8; the main capture was not run through the SPIRV-Tools optimizer and this PR's was, so part of that difference is the optimizer.

Evidence

Ghost of Yōtei (PPSA26344) never presents a frame on main. Its main thread waits while RADV compiles one compute pipeline. A stack of the compile thread (symbols from the Arch debuginfod for Mesa 26.2.7) shows nir_opt_copy_prop_vars under radv_optimize_nir for minutes. The pipeline makes 112 calls to load_formatted_gpu_buffer_x4 and 16 to _x1.

Captured with APS5_DUMP_COMPUTE_PIPELINES and compiled alone with agc_compute_pipeline_replay --inspect, RADV_DEBUG=nocache, MESA_SHADER_CACHE_DISABLE=true:

Pipeline RADV compile
main: the formatted-load pipeline (234702 words, not optimized: built with ANYPS5_ENABLE_SPIRV_TOOLS=OFF) did not finish in 900 s (timed out at 905.9 s)
main: the same capture run through spirv-opt offline (SPIRV-Tools v2025.5, the passes of the default pipeline in SpirvOptimizer.cpp; 212893 words) did not finish: RADV crashed (general protection fault in libvulkan_radeon.so) after 847 s
this PR: the same guest shader (203990 words, captured from a build with ANYPS5_ENABLE_SPIRV_TOOLS=ON) 180.6 s, and 172 s when repeated
main: the five other largest pipelines of the title (83k to 316k words, no formatted loads) 0.3 to 1.4 s each

On main, the same capture with only the two load_formatted_gpu_buffer bodies replaced by a return compiled in 6.6 s, and with every loop marked DontUnroll it still did not finish in 300 s. So the inlined formatted loads are what makes it slow, not unrolling.

With this PR the title gets past that pipeline during a 300 s run, then reaches two more formatted-load pipelines (32.3 s and 147.3 s to compile). It still presents no frame within 300 s. The remaining cost is mostly the page-table lookups each component still makes; that is follow-up work, not part of this PR.

Tested

Linux 7.2, AMD Ryzen 9 7950X, AMD Radeon RX 6650 XT (RADV, Mesa 26.2.7), Release, on main 963137c40642 + this PR, unless noted.

  • On 8332b52dbf80 + the loop commit, ctest -j 12 -R "shader|Shader|spirv|Spirv|formatted|Formatted|runtime_buffer|bda|Bda|agc_driver_runtime": 180 of 180 pass, including agc_formatted_buffer_* and agc_driver_runtime_fetch_*.
  • Translation time: the 156 shader requests Demon's Souls (PPSA01341) makes in its first 70 s, dumped with APS5_DUMP_SHADERS=1 and APS5_DUMP_GRAPHICS_SHADERS=1 and replayed with agc_shader_replay from an empty shader cache, builds with identical CMake options: 6.4 s on main 963137c40642, 6.3 s with this PR.
  • Run time: ASTRO's PLAYROOM (PPSA01325), which emits this load, steady scene 22 to 37 s after the first present, caches warm (one run per build first), captures alternated, main 963137c40642 against this PR merged onto it (97a3da262189), same CMake options: frame p50 / p90 40.8 / 43.2 and 40.7 / 43.0 ms on main, 41.2 / 43.7 and 40.8 / 44.2 ms with this PR. No speed change is claimed. The head adds only the shader disk cache format bump to these sources.

Performance

Summary lines (main, then this PR), from the first alternated pair:

{"commit":"963137c40642","dirty":false,"env":{"APS5_NO_COMMITTER_CORE":"1","APS5_PAD_INPUT_FILE":"<path>","APS5_PLAYGO_UNLISTED_CHUNKS":"installed","APS5_TRACE_DIR":"<path>","APS5_TRACE_SECONDS":"22:15"},"gpu":"AMD Radeon RX 6650 XT (RADV NAVI23)","driver":"radv Mesa 26.2.7-arch1.1","os":"Linux 7.2.14-arch1-1","cpu":"AMD Ryzen 9 7950X 16-Core Processor","cpu_threads":32,"memory_mib":127901,"title_id":"PPSA01325","title":"ASTRO's PLAYROOM","content_version":"01.905.000","resolution":"3840x2160","window":{"spec":"seconds 22:15","first_present":1108,"ms":15011.126},"presents":372,"frame_ms":{"p50":40.781,"p90":43.199,"p99":50.127,"max":67.958},"gpu_busy_ms_per_present":35.993,"worker_busy_pct":{"queue worker 0x0":99.259,"queue worker 0x3d":99.750,"queue worker 0x52":0.000},"phase_totals_ms":{"Driver.Completion":9.548,"Driver.Dispatch":1531.121,"Driver.Dispatch.capture_resources":140.428,"Driver.Dispatch.decode_key_device_setup":247.247,"Driver.Dispatch.lookup_cache":17.174,"Driver.Dispatch.materialize":8.613,"Driver.Dispatch.prepared_invocation":8.280,"Driver.Draw":2763.089,"Driver.Draw.device_setup":83.054,"Driver.Draw.draw_enqueued":982.788,"Driver.Draw.post_compile_prepare":22.321,"Driver.Draw.prepare":193.160,"Driver.Draw.shader_compile_and_link":816.742,"Driver.EndSubmission":27.806,"Driver.Packet":29836.006,"Driver.Packet.device_lock":18.619,"Driver.Packet.dispatch":1547.151,"Driver.Packet.draw":2780.702,"Driver.Packet.execute":3628.383,"Driver.Packet.flip_flush":56.046,"Driver.Packet.flush_between_packets":138.668,"Driver.Packet.memory_wait":13620.534,"Driver.Packet.pipeline_drain":889.585,"Driver.Packet.pipeline_prepare":34.222,"Driver.Packet.prepare_memory":3196.065,"Driver.Packet.rendering_wait":0.645,"Driver.Present":3808.178,"Driver.Present.acquire_image":16.293,"Driver.Present.device_setup":0.206,"Driver.Present.gpu_mutex_wait":0.656,"Driver.Present.inflight_wait":0.858,"Driver.Present.present_display_buffer":75.223,"Driver.Present.queue_present":5.925,"Driver.Present.release_and_callback":0.685,"Driver.Present.render_fence_wait":3707.357,"Driver.Present.resize":0.564,"Driver.Present.validate":0.115,"Driver.Suspend":0.113,"GpuMutex.wait.dispatch":363.649,"GpuMutex.wait.draw":190.545,"GpuMutex.wait.end":0.436,"GpuMutex.wait.fill":75.478,"GpuMutex.wait.flush":31.066,"GpuMutex.wait.hook":20.516,"GpuMutex.wait.indirect":4.622,"GpuMutex.wait.label":311.258,"GpuMutex.wait.other":8.108,"GpuMutex.wait.present":0.121,"GpuMutex.wait.wait":8.704,"Graphics.Draw":1559.371,"Graphics.Draw.draw_and_resource_release":1339.079,"Graphics.Draw.index_upload":70.516,"Graphics.Draw.validate":87.466,"Graphics.Draw.vertex_upload":49.513,"Graphics.DrawWithRecipe":2029.640,"Graphics.DrawWithRecipe.draw_and_resource_release":1970.061,"Graphics.DrawWithRecipe.index_upload":2.968,"Graphics.DrawWithRecipe.validate":11.628,"Graphics.DrawWithRecipe.vertex_upload":41.207,"Recorder.Reap":473.394,"Recorder.Submit":3987.404,"Recorder.WaitSerial":3390.219,"Resources.Complete":185.440,"Resources.Prepare":125.138,"Shader.DrawStage":483.648,"Shader.DrawStage.capture_resources":284.072,"Shader.DrawStage.materialize":113.753,"Shader.DrawStage.prepared_invocation":80.381,"Shader.ResolveAbi":31.395,"Shader.ResolveGraphicsAbi":12.369,"Shader.ResolveGraphicsStagesAbi":106.090,"VideoOut.Flip":3824.316,"VideoOut.Flip.completion_mutex_wait":0.520,"VideoOut.Flip.config_mutex_wait":0.035,"VideoOut.Flip.frame_limit":0.221,"VideoOut.Flip.notify_game":3.355,"VideoOut.Flip.present":3803.036,"VideoOut.Flip.validate":0.411,"VideoOut.Flip.vblank_wait":0.254,"VideoOut.Flip.window_prepare":0.674,"VideoOut.Flip.window_title":15.458,"VideoOut.Readiness":0.766,"VideoOut.Readiness.locks_validate":0.441,"Vulkan.Acquire":15.289,"Vulkan.Acquire.acquire_fence_wait":0.678,"Vulkan.Acquire.acquire_image":11.946,"Vulkan.Acquire.fence_reset":2.495,"Vulkan.Acquire.retired_swapchains":0.091,"Vulkan.Dispatch":439.133,"Vulkan.Dispatch.command_record":57.105,"Vulkan.Dispatch.shader_resources":380.188,"Vulkan.DispatchRecipe":40.775,"Vulkan.DispatchRecipe.command_record":40.362,"Vulkan.DrawFromRecipe":2035.711,"Vulkan.Present":67.017,"Vulkan.Present.command_record_scale":9.599,"Vulkan.Present.pixel_upload":1.501,"Vulkan.Present.queue_submit":55.514,"Vulkan.QueuePresent":5.344,"Vulkan.QueuePresent.queue_present":5.054,"Vulkan.Retire":3707.086,"Vulkan.Retire.wait":3699.006},"top_phases_ms_per_frame":{"Driver.Packet":80.204,"Driver.Packet.memory_wait":36.614,"Recorder.Submit":10.719,"VideoOut.Flip":10.280,"Driver.Present":10.237,"VideoOut.Flip.present":10.223,"Driver.Present.render_fence_wait":9.966,"Vulkan.Retire":9.965},"owned_draw_counts":{},"graphics_track":{"Graphics.Barrier.dcc-clear":2976,"Graphics.Barrier.dcc-keys":2976,"Graphics.Barrier.dispatch-lead":6239,"Graphics.Barrier.dispatch-trail":6324,"Graphics.Barrier.draw":39537,"Graphics.Barrier.fill":7022,"Graphics.Barrier.fill-clear":744,"Graphics.Barrier.indirect-args":1488,"Graphics.Barrier.label-run":127389,"Graphics.Barrier.present-blit":744,"Graphics.Barrier.shadow-publish":744,"Graphics.Barrier.staging-in":5018,"Graphics.Barrier.staging-out":1860,"Graphics.Barrier.storage-upload":7450,"Graphics.Barrier.storage-writeback":15252,"Graphics.BarrierMerged.dispatch-lead":3061,"Graphics.BarrierMerged.fill":2478,"Graphics.BarrierMerged.staging-in":562,"Graphics.BarrierMerged.staging-out":1860,"Graphics.BarrierMerged.storage-writeback":5182,"Graphics.Copy":12618,"Graphics.Copy.bytes":10100726560,"Graphics.RenderPass":16182,"Graphics.RenderPass.Close.command":5410,"Graphics.RenderPass.Close.image":2088,"Graphics.RenderPass.Close.key":1362,"Graphics.RenderPass.Close.new-batch":7322,"Graphics.RenderPass.Continued":56423},"trace_dropped":false,"trace":"aps5-trace-963137c40642-576299.json.gz"}
{"commit":"97a3da262189","dirty":false,"env":{"APS5_NO_COMMITTER_CORE":"1","APS5_PAD_INPUT_FILE":"<path>","APS5_PLAYGO_UNLISTED_CHUNKS":"installed","APS5_TRACE_DIR":"<path>","APS5_TRACE_SECONDS":"22:15"},"gpu":"AMD Radeon RX 6650 XT (RADV NAVI23)","driver":"radv Mesa 26.2.7-arch1.1","os":"Linux 7.2.14-arch1-1","cpu":"AMD Ryzen 9 7950X 16-Core Processor","cpu_threads":32,"memory_mib":127901,"title_id":"PPSA01325","title":"ASTRO's PLAYROOM","content_version":"01.905.000","resolution":"3840x2160","window":{"spec":"seconds 22:15","first_present":1065,"ms":15022.607},"presents":367,"frame_ms":{"p50":41.204,"p90":43.749,"p99":49.945,"max":63.882},"gpu_busy_ms_per_present":36.707,"worker_busy_pct":{"queue worker 0x0":99.243,"queue worker 0x3d":99.743,"queue worker 0x52":0.000},"phase_totals_ms":{"Driver.Completion":8.709,"Driver.Dispatch":1505.626,"Driver.Dispatch.capture_resources":140.722,"Driver.Dispatch.decode_key_device_setup":247.540,"Driver.Dispatch.lookup_cache":16.137,"Driver.Dispatch.materialize":9.085,"Driver.Dispatch.prepared_invocation":7.915,"Driver.Draw":2741.656,"Driver.Draw.device_setup":81.132,"Driver.Draw.draw_enqueued":1027.638,"Driver.Draw.post_compile_prepare":22.072,"Driver.Draw.prepare":183.966,"Driver.Draw.shader_compile_and_link":781.370,"Driver.EndSubmission":28.888,"Driver.Packet":29855.153,"Driver.Packet.device_lock":18.423,"Driver.Packet.dispatch":1521.584,"Driver.Packet.draw":2757.387,"Driver.Packet.execute":3730.757,"Driver.Packet.flip_flush":56.516,"Driver.Packet.flush_between_packets":138.652,"Driver.Packet.memory_wait":13633.551,"Driver.Packet.pipeline_drain":854.644,"Driver.Packet.pipeline_prepare":33.643,"Driver.Packet.prepare_memory":3174.552,"Driver.Packet.rendering_wait":0.607,"Driver.Present":3862.798,"Driver.Present.acquire_image":16.153,"Driver.Present.device_setup":0.188,"Driver.Present.gpu_mutex_wait":1.013,"Driver.Present.inflight_wait":0.892,"Driver.Present.present_display_buffer":76.990,"Driver.Present.queue_present":5.884,"Driver.Present.release_and_callback":0.591,"Driver.Present.render_fence_wait":3760.107,"Driver.Present.resize":0.580,"Driver.Present.validate":0.135,"Driver.Suspend":0.160,"GpuMutex.wait.dispatch":360.414,"GpuMutex.wait.draw":224.006,"GpuMutex.wait.end":1.196,"GpuMutex.wait.fill":55.826,"GpuMutex.wait.flush":45.096,"GpuMutex.wait.hook":21.013,"GpuMutex.wait.indirect":4.108,"GpuMutex.wait.label":283.698,"GpuMutex.wait.other":7.245,"GpuMutex.wait.present":0.397,"GpuMutex.wait.wait":8.437,"Graphics.Draw":1516.357,"Graphics.Draw.draw_and_resource_release":1295.143,"Graphics.Draw.index_upload":71.202,"Graphics.Draw.validate":87.754,"Graphics.Draw.vertex_upload":50.765,"Graphics.DrawWithRecipe":2013.517,"Graphics.DrawWithRecipe.draw_and_resource_release":1954.231,"Graphics.DrawWithRecipe.index_upload":3.156,"Graphics.DrawWithRecipe.validate":11.897,"Graphics.DrawWithRecipe.vertex_upload":40.648,"Recorder.Reap":468.824,"Recorder.Submit":3988.097,"Recorder.WaitSerial":3486.283,"Resources.Complete":183.122,"Resources.Prepare":125.318,"Shader.DrawStage":454.783,"Shader.DrawStage.capture_resources":265.816,"Shader.DrawStage.materialize":108.163,"Shader.DrawStage.prepared_invocation":75.592,"Shader.ResolveAbi":30.765,"Shader.ResolveGraphicsAbi":12.053,"Shader.ResolveGraphicsStagesAbi":103.825,"VideoOut.Flip":3877.494,"VideoOut.Flip.completion_mutex_wait":0.411,"VideoOut.Flip.config_mutex_wait":0.048,"VideoOut.Flip.frame_limit":0.228,"VideoOut.Flip.notify_game":3.181,"VideoOut.Flip.present":3856.730,"VideoOut.Flip.validate":0.339,"VideoOut.Flip.vblank_wait":0.238,"VideoOut.Flip.window_prepare":0.609,"VideoOut.Flip.window_title":15.502,"VideoOut.Readiness":0.726,"VideoOut.Readiness.locks_validate":0.423,"Vulkan.Acquire":15.621,"Vulkan.Acquire.acquire_fence_wait":0.696,"Vulkan.Acquire.acquire_image":12.218,"Vulkan.Acquire.fence_reset":2.395,"Vulkan.Acquire.retired_swapchains":0.186,"Vulkan.Dispatch":438.866,"Vulkan.Dispatch.command_record":57.438,"Vulkan.Dispatch.shader_resources":379.542,"Vulkan.DispatchRecipe":37.782,"Vulkan.DispatchRecipe.command_record":37.435,"Vulkan.DrawFromRecipe":2019.966,"Vulkan.Present":68.354,"Vulkan.Present.command_record_scale":9.679,"Vulkan.Present.pixel_upload":1.659,"Vulkan.Present.queue_submit":56.671,"Vulkan.QueuePresent":5.247,"Vulkan.QueuePresent.queue_present":4.992,"Vulkan.Retire":3759.830,"Vulkan.Retire.wait":3753.014},"top_phases_ms_per_frame":{"Driver.Packet":81.349,"Driver.Packet.memory_wait":37.149,"Recorder.Submit":10.867,"VideoOut.Flip":10.565,"Driver.Present":10.525,"VideoOut.Flip.present":10.509,"Driver.Present.render_fence_wait":10.246,"Vulkan.Retire":10.245},"owned_draw_counts":{},"graphics_track":{"Graphics.Barrier.dcc-clear":2936,"Graphics.Barrier.dcc-keys":2936,"Graphics.Barrier.dispatch-lead":6120,"Graphics.Barrier.dispatch-trail":6239,"Graphics.Barrier.draw":38945,"Graphics.Barrier.fill":6854,"Graphics.Barrier.fill-clear":734,"Graphics.Barrier.indirect-args":1468,"Graphics.Barrier.label-run":125707,"Graphics.Barrier.present-blit":734,"Graphics.Barrier.shadow-publish":734,"Graphics.Barrier.staging-in":4429,"Graphics.Barrier.staging-out":1652,"Graphics.Barrier.storage-upload":7350,"Graphics.Barrier.storage-writeback":15047,"Graphics.BarrierMerged.dispatch-lead":3055,"Graphics.BarrierMerged.fill":2408,"Graphics.BarrierMerged.label-run":4,"Graphics.BarrierMerged.staging-in":527,"Graphics.BarrierMerged.staging-out":1652,"Graphics.BarrierMerged.storage-writeback":5101,"Graphics.Copy":12096,"Graphics.Copy.bytes":9722992664,"Graphics.RenderPass":15971,"Graphics.RenderPass.Close.command":5288,"Graphics.RenderPass.Close.image":2122,"Graphics.RenderPass.Close.key":1361,"Graphics.RenderPass.Close.label":4,"Graphics.RenderPass.Close.new-batch":7196,"Graphics.RenderPass.Continued":56113},"trace_dropped":false,"trace":"aps5-trace-97a3da262189-572609.json.gz"}

python3 tools/trace_digest.py:

**seconds 22:15** from present 1108: 372 presents, frame p50 40.8 / p90 43.2 / p99 50.1 / max 68.0 ms, GPU busy 36.0 ms per present
AMD Radeon RX 6650 XT (RADV NAVI23), radv Mesa 26.2.7-arch1.1, Linux 7.2.14-arch1-1, 3840x2160, commit 963137c40642, dropped: no
**seconds 22:15** from present 1065: 367 presents, frame p50 41.2 / p90 43.7 / p99 49.9 / max 63.9 ms, GPU busy 36.7 ms per present
AMD Radeon RX 6650 XT (RADV NAVI23), radv Mesa 26.2.7-arch1.1, Linux 7.2.14-arch1-1, 3840x2160, commit 97a3da262189, dropped: no

The traces (aps5-trace-963137c40642-576299.json.gz, aps5-trace-97a3da262189-572609.json.gz) are available on request; I cannot attach files from where I work.

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 and the licence notice of code adapted from upstream (see AGENTS.md)
  • 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 yet (Ghost of Yōtei still needs the follow-up)
  • GPUs tested: AMD Radeon RX 6650 XT, RADV Mesa 26.2.7, Linux 7.2
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5347653943 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/21973). Originally posted by [JJenkx](https://github.com/JJenkx) on 2026-11-17T00:10:39Z. --- ### What A formatted buffer load whose V# is read from GPU memory goes through `load_formatted_gpu_buffer_x<n>`, which decodes the format at run time (`genericFormattedLoad`). That function emitted the per-component read and conversion four times, once per component, and each copy holds a dword read and a narrow-byte read through the BDA page table. RADV inlines every function regardless of `DontInline`, so a shader with many such loads becomes very large before NIR optimizes it. This emits the per-component work once, inside a SPIR-V loop over the component index (`DontUnroll`). The loop picks the component's bit width, guest address and whether it is needed by index, then reads and converts it as before. The set of conversions is the union over components; each conversion is selected by type and bit width, so the result is the same. In the Ghost of Yōtei captures below, `load_formatted_gpu_buffer_x4` has 3595 instructions on `main` and 958 with this PR, and its calls go from 17 to 8; the `main` capture was not run through the SPIRV-Tools optimizer and this PR's was, so part of that difference is the optimizer. ### Evidence Ghost of Yōtei (PPSA26344) never presents a frame on main. Its main thread waits while RADV compiles one compute pipeline. A stack of the compile thread (symbols from the Arch debuginfod for Mesa 26.2.7) shows `nir_opt_copy_prop_vars` under `radv_optimize_nir` for minutes. The pipeline makes 112 calls to `load_formatted_gpu_buffer_x4` and 16 to `_x1`. Captured with `APS5_DUMP_COMPUTE_PIPELINES` and compiled alone with `agc_compute_pipeline_replay --inspect`, `RADV_DEBUG=nocache`, `MESA_SHADER_CACHE_DISABLE=true`: | Pipeline | RADV compile | |---|---| | main: the formatted-load pipeline (234702 words, not optimized: built with `ANYPS5_ENABLE_SPIRV_TOOLS=OFF`) | did not finish in 900 s (timed out at 905.9 s) | | main: the same capture run through `spirv-opt` offline (SPIRV-Tools v2025.5, the passes of the default pipeline in `SpirvOptimizer.cpp`; 212893 words) | did not finish: RADV crashed (general protection fault in `libvulkan_radeon.so`) after 847 s | | this PR: the same guest shader (203990 words, captured from a build with `ANYPS5_ENABLE_SPIRV_TOOLS=ON`) | 180.6 s, and 172 s when repeated | | main: the five other largest pipelines of the title (83k to 316k words, no formatted loads) | 0.3 to 1.4 s each | On main, the same capture with only the two `load_formatted_gpu_buffer` bodies replaced by a return compiled in 6.6 s, and with every loop marked `DontUnroll` it still did not finish in 300 s. So the inlined formatted loads are what makes it slow, not unrolling. With this PR the title gets past that pipeline during a 300 s run, then reaches two more formatted-load pipelines (32.3 s and 147.3 s to compile). It still presents no frame within 300 s. The remaining cost is mostly the page-table lookups each component still makes; that is follow-up work, not part of this PR. ### Tested Linux 7.2, AMD Ryzen 9 7950X, AMD Radeon RX 6650 XT (RADV, Mesa 26.2.7), Release, on `main` `963137c40642` + this PR, unless noted. - On `8332b52dbf80` + the loop commit, `ctest -j 12 -R "shader|Shader|spirv|Spirv|formatted|Formatted|runtime_buffer|bda|Bda|agc_driver_runtime"`: 180 of 180 pass, including `agc_formatted_buffer_*` and `agc_driver_runtime_fetch_*`. - Translation time: the 156 shader requests Demon's Souls (PPSA01341) makes in its first 70 s, dumped with `APS5_DUMP_SHADERS=1` and `APS5_DUMP_GRAPHICS_SHADERS=1` and replayed with `agc_shader_replay` from an empty shader cache, builds with identical CMake options: 6.4 s on `main` `963137c40642`, 6.3 s with this PR. - Run time: ASTRO's PLAYROOM (PPSA01325), which emits this load, steady scene 22 to 37 s after the first present, caches warm (one run per build first), captures alternated, `main` `963137c40642` against this PR merged onto it (`97a3da262189`), same CMake options: frame p50 / p90 40.8 / 43.2 and 40.7 / 43.0 ms on `main`, 41.2 / 43.7 and 40.8 / 44.2 ms with this PR. No speed change is claimed. The head adds only the shader disk cache format bump to these sources. ### Performance Summary lines (`main`, then this PR), from the first alternated pair: ```json {"commit":"963137c40642","dirty":false,"env":{"APS5_NO_COMMITTER_CORE":"1","APS5_PAD_INPUT_FILE":"<path>","APS5_PLAYGO_UNLISTED_CHUNKS":"installed","APS5_TRACE_DIR":"<path>","APS5_TRACE_SECONDS":"22:15"},"gpu":"AMD Radeon RX 6650 XT (RADV NAVI23)","driver":"radv Mesa 26.2.7-arch1.1","os":"Linux 7.2.14-arch1-1","cpu":"AMD Ryzen 9 7950X 16-Core Processor","cpu_threads":32,"memory_mib":127901,"title_id":"PPSA01325","title":"ASTRO's PLAYROOM","content_version":"01.905.000","resolution":"3840x2160","window":{"spec":"seconds 22:15","first_present":1108,"ms":15011.126},"presents":372,"frame_ms":{"p50":40.781,"p90":43.199,"p99":50.127,"max":67.958},"gpu_busy_ms_per_present":35.993,"worker_busy_pct":{"queue worker 0x0":99.259,"queue worker 0x3d":99.750,"queue worker 0x52":0.000},"phase_totals_ms":{"Driver.Completion":9.548,"Driver.Dispatch":1531.121,"Driver.Dispatch.capture_resources":140.428,"Driver.Dispatch.decode_key_device_setup":247.247,"Driver.Dispatch.lookup_cache":17.174,"Driver.Dispatch.materialize":8.613,"Driver.Dispatch.prepared_invocation":8.280,"Driver.Draw":2763.089,"Driver.Draw.device_setup":83.054,"Driver.Draw.draw_enqueued":982.788,"Driver.Draw.post_compile_prepare":22.321,"Driver.Draw.prepare":193.160,"Driver.Draw.shader_compile_and_link":816.742,"Driver.EndSubmission":27.806,"Driver.Packet":29836.006,"Driver.Packet.device_lock":18.619,"Driver.Packet.dispatch":1547.151,"Driver.Packet.draw":2780.702,"Driver.Packet.execute":3628.383,"Driver.Packet.flip_flush":56.046,"Driver.Packet.flush_between_packets":138.668,"Driver.Packet.memory_wait":13620.534,"Driver.Packet.pipeline_drain":889.585,"Driver.Packet.pipeline_prepare":34.222,"Driver.Packet.prepare_memory":3196.065,"Driver.Packet.rendering_wait":0.645,"Driver.Present":3808.178,"Driver.Present.acquire_image":16.293,"Driver.Present.device_setup":0.206,"Driver.Present.gpu_mutex_wait":0.656,"Driver.Present.inflight_wait":0.858,"Driver.Present.present_display_buffer":75.223,"Driver.Present.queue_present":5.925,"Driver.Present.release_and_callback":0.685,"Driver.Present.render_fence_wait":3707.357,"Driver.Present.resize":0.564,"Driver.Present.validate":0.115,"Driver.Suspend":0.113,"GpuMutex.wait.dispatch":363.649,"GpuMutex.wait.draw":190.545,"GpuMutex.wait.end":0.436,"GpuMutex.wait.fill":75.478,"GpuMutex.wait.flush":31.066,"GpuMutex.wait.hook":20.516,"GpuMutex.wait.indirect":4.622,"GpuMutex.wait.label":311.258,"GpuMutex.wait.other":8.108,"GpuMutex.wait.present":0.121,"GpuMutex.wait.wait":8.704,"Graphics.Draw":1559.371,"Graphics.Draw.draw_and_resource_release":1339.079,"Graphics.Draw.index_upload":70.516,"Graphics.Draw.validate":87.466,"Graphics.Draw.vertex_upload":49.513,"Graphics.DrawWithRecipe":2029.640,"Graphics.DrawWithRecipe.draw_and_resource_release":1970.061,"Graphics.DrawWithRecipe.index_upload":2.968,"Graphics.DrawWithRecipe.validate":11.628,"Graphics.DrawWithRecipe.vertex_upload":41.207,"Recorder.Reap":473.394,"Recorder.Submit":3987.404,"Recorder.WaitSerial":3390.219,"Resources.Complete":185.440,"Resources.Prepare":125.138,"Shader.DrawStage":483.648,"Shader.DrawStage.capture_resources":284.072,"Shader.DrawStage.materialize":113.753,"Shader.DrawStage.prepared_invocation":80.381,"Shader.ResolveAbi":31.395,"Shader.ResolveGraphicsAbi":12.369,"Shader.ResolveGraphicsStagesAbi":106.090,"VideoOut.Flip":3824.316,"VideoOut.Flip.completion_mutex_wait":0.520,"VideoOut.Flip.config_mutex_wait":0.035,"VideoOut.Flip.frame_limit":0.221,"VideoOut.Flip.notify_game":3.355,"VideoOut.Flip.present":3803.036,"VideoOut.Flip.validate":0.411,"VideoOut.Flip.vblank_wait":0.254,"VideoOut.Flip.window_prepare":0.674,"VideoOut.Flip.window_title":15.458,"VideoOut.Readiness":0.766,"VideoOut.Readiness.locks_validate":0.441,"Vulkan.Acquire":15.289,"Vulkan.Acquire.acquire_fence_wait":0.678,"Vulkan.Acquire.acquire_image":11.946,"Vulkan.Acquire.fence_reset":2.495,"Vulkan.Acquire.retired_swapchains":0.091,"Vulkan.Dispatch":439.133,"Vulkan.Dispatch.command_record":57.105,"Vulkan.Dispatch.shader_resources":380.188,"Vulkan.DispatchRecipe":40.775,"Vulkan.DispatchRecipe.command_record":40.362,"Vulkan.DrawFromRecipe":2035.711,"Vulkan.Present":67.017,"Vulkan.Present.command_record_scale":9.599,"Vulkan.Present.pixel_upload":1.501,"Vulkan.Present.queue_submit":55.514,"Vulkan.QueuePresent":5.344,"Vulkan.QueuePresent.queue_present":5.054,"Vulkan.Retire":3707.086,"Vulkan.Retire.wait":3699.006},"top_phases_ms_per_frame":{"Driver.Packet":80.204,"Driver.Packet.memory_wait":36.614,"Recorder.Submit":10.719,"VideoOut.Flip":10.280,"Driver.Present":10.237,"VideoOut.Flip.present":10.223,"Driver.Present.render_fence_wait":9.966,"Vulkan.Retire":9.965},"owned_draw_counts":{},"graphics_track":{"Graphics.Barrier.dcc-clear":2976,"Graphics.Barrier.dcc-keys":2976,"Graphics.Barrier.dispatch-lead":6239,"Graphics.Barrier.dispatch-trail":6324,"Graphics.Barrier.draw":39537,"Graphics.Barrier.fill":7022,"Graphics.Barrier.fill-clear":744,"Graphics.Barrier.indirect-args":1488,"Graphics.Barrier.label-run":127389,"Graphics.Barrier.present-blit":744,"Graphics.Barrier.shadow-publish":744,"Graphics.Barrier.staging-in":5018,"Graphics.Barrier.staging-out":1860,"Graphics.Barrier.storage-upload":7450,"Graphics.Barrier.storage-writeback":15252,"Graphics.BarrierMerged.dispatch-lead":3061,"Graphics.BarrierMerged.fill":2478,"Graphics.BarrierMerged.staging-in":562,"Graphics.BarrierMerged.staging-out":1860,"Graphics.BarrierMerged.storage-writeback":5182,"Graphics.Copy":12618,"Graphics.Copy.bytes":10100726560,"Graphics.RenderPass":16182,"Graphics.RenderPass.Close.command":5410,"Graphics.RenderPass.Close.image":2088,"Graphics.RenderPass.Close.key":1362,"Graphics.RenderPass.Close.new-batch":7322,"Graphics.RenderPass.Continued":56423},"trace_dropped":false,"trace":"aps5-trace-963137c40642-576299.json.gz"} ``` ```json {"commit":"97a3da262189","dirty":false,"env":{"APS5_NO_COMMITTER_CORE":"1","APS5_PAD_INPUT_FILE":"<path>","APS5_PLAYGO_UNLISTED_CHUNKS":"installed","APS5_TRACE_DIR":"<path>","APS5_TRACE_SECONDS":"22:15"},"gpu":"AMD Radeon RX 6650 XT (RADV NAVI23)","driver":"radv Mesa 26.2.7-arch1.1","os":"Linux 7.2.14-arch1-1","cpu":"AMD Ryzen 9 7950X 16-Core Processor","cpu_threads":32,"memory_mib":127901,"title_id":"PPSA01325","title":"ASTRO's PLAYROOM","content_version":"01.905.000","resolution":"3840x2160","window":{"spec":"seconds 22:15","first_present":1065,"ms":15022.607},"presents":367,"frame_ms":{"p50":41.204,"p90":43.749,"p99":49.945,"max":63.882},"gpu_busy_ms_per_present":36.707,"worker_busy_pct":{"queue worker 0x0":99.243,"queue worker 0x3d":99.743,"queue worker 0x52":0.000},"phase_totals_ms":{"Driver.Completion":8.709,"Driver.Dispatch":1505.626,"Driver.Dispatch.capture_resources":140.722,"Driver.Dispatch.decode_key_device_setup":247.540,"Driver.Dispatch.lookup_cache":16.137,"Driver.Dispatch.materialize":9.085,"Driver.Dispatch.prepared_invocation":7.915,"Driver.Draw":2741.656,"Driver.Draw.device_setup":81.132,"Driver.Draw.draw_enqueued":1027.638,"Driver.Draw.post_compile_prepare":22.072,"Driver.Draw.prepare":183.966,"Driver.Draw.shader_compile_and_link":781.370,"Driver.EndSubmission":28.888,"Driver.Packet":29855.153,"Driver.Packet.device_lock":18.423,"Driver.Packet.dispatch":1521.584,"Driver.Packet.draw":2757.387,"Driver.Packet.execute":3730.757,"Driver.Packet.flip_flush":56.516,"Driver.Packet.flush_between_packets":138.652,"Driver.Packet.memory_wait":13633.551,"Driver.Packet.pipeline_drain":854.644,"Driver.Packet.pipeline_prepare":33.643,"Driver.Packet.prepare_memory":3174.552,"Driver.Packet.rendering_wait":0.607,"Driver.Present":3862.798,"Driver.Present.acquire_image":16.153,"Driver.Present.device_setup":0.188,"Driver.Present.gpu_mutex_wait":1.013,"Driver.Present.inflight_wait":0.892,"Driver.Present.present_display_buffer":76.990,"Driver.Present.queue_present":5.884,"Driver.Present.release_and_callback":0.591,"Driver.Present.render_fence_wait":3760.107,"Driver.Present.resize":0.580,"Driver.Present.validate":0.135,"Driver.Suspend":0.160,"GpuMutex.wait.dispatch":360.414,"GpuMutex.wait.draw":224.006,"GpuMutex.wait.end":1.196,"GpuMutex.wait.fill":55.826,"GpuMutex.wait.flush":45.096,"GpuMutex.wait.hook":21.013,"GpuMutex.wait.indirect":4.108,"GpuMutex.wait.label":283.698,"GpuMutex.wait.other":7.245,"GpuMutex.wait.present":0.397,"GpuMutex.wait.wait":8.437,"Graphics.Draw":1516.357,"Graphics.Draw.draw_and_resource_release":1295.143,"Graphics.Draw.index_upload":71.202,"Graphics.Draw.validate":87.754,"Graphics.Draw.vertex_upload":50.765,"Graphics.DrawWithRecipe":2013.517,"Graphics.DrawWithRecipe.draw_and_resource_release":1954.231,"Graphics.DrawWithRecipe.index_upload":3.156,"Graphics.DrawWithRecipe.validate":11.897,"Graphics.DrawWithRecipe.vertex_upload":40.648,"Recorder.Reap":468.824,"Recorder.Submit":3988.097,"Recorder.WaitSerial":3486.283,"Resources.Complete":183.122,"Resources.Prepare":125.318,"Shader.DrawStage":454.783,"Shader.DrawStage.capture_resources":265.816,"Shader.DrawStage.materialize":108.163,"Shader.DrawStage.prepared_invocation":75.592,"Shader.ResolveAbi":30.765,"Shader.ResolveGraphicsAbi":12.053,"Shader.ResolveGraphicsStagesAbi":103.825,"VideoOut.Flip":3877.494,"VideoOut.Flip.completion_mutex_wait":0.411,"VideoOut.Flip.config_mutex_wait":0.048,"VideoOut.Flip.frame_limit":0.228,"VideoOut.Flip.notify_game":3.181,"VideoOut.Flip.present":3856.730,"VideoOut.Flip.validate":0.339,"VideoOut.Flip.vblank_wait":0.238,"VideoOut.Flip.window_prepare":0.609,"VideoOut.Flip.window_title":15.502,"VideoOut.Readiness":0.726,"VideoOut.Readiness.locks_validate":0.423,"Vulkan.Acquire":15.621,"Vulkan.Acquire.acquire_fence_wait":0.696,"Vulkan.Acquire.acquire_image":12.218,"Vulkan.Acquire.fence_reset":2.395,"Vulkan.Acquire.retired_swapchains":0.186,"Vulkan.Dispatch":438.866,"Vulkan.Dispatch.command_record":57.438,"Vulkan.Dispatch.shader_resources":379.542,"Vulkan.DispatchRecipe":37.782,"Vulkan.DispatchRecipe.command_record":37.435,"Vulkan.DrawFromRecipe":2019.966,"Vulkan.Present":68.354,"Vulkan.Present.command_record_scale":9.679,"Vulkan.Present.pixel_upload":1.659,"Vulkan.Present.queue_submit":56.671,"Vulkan.QueuePresent":5.247,"Vulkan.QueuePresent.queue_present":4.992,"Vulkan.Retire":3759.830,"Vulkan.Retire.wait":3753.014},"top_phases_ms_per_frame":{"Driver.Packet":81.349,"Driver.Packet.memory_wait":37.149,"Recorder.Submit":10.867,"VideoOut.Flip":10.565,"Driver.Present":10.525,"VideoOut.Flip.present":10.509,"Driver.Present.render_fence_wait":10.246,"Vulkan.Retire":10.245},"owned_draw_counts":{},"graphics_track":{"Graphics.Barrier.dcc-clear":2936,"Graphics.Barrier.dcc-keys":2936,"Graphics.Barrier.dispatch-lead":6120,"Graphics.Barrier.dispatch-trail":6239,"Graphics.Barrier.draw":38945,"Graphics.Barrier.fill":6854,"Graphics.Barrier.fill-clear":734,"Graphics.Barrier.indirect-args":1468,"Graphics.Barrier.label-run":125707,"Graphics.Barrier.present-blit":734,"Graphics.Barrier.shadow-publish":734,"Graphics.Barrier.staging-in":4429,"Graphics.Barrier.staging-out":1652,"Graphics.Barrier.storage-upload":7350,"Graphics.Barrier.storage-writeback":15047,"Graphics.BarrierMerged.dispatch-lead":3055,"Graphics.BarrierMerged.fill":2408,"Graphics.BarrierMerged.label-run":4,"Graphics.BarrierMerged.staging-in":527,"Graphics.BarrierMerged.staging-out":1652,"Graphics.BarrierMerged.storage-writeback":5101,"Graphics.Copy":12096,"Graphics.Copy.bytes":9722992664,"Graphics.RenderPass":15971,"Graphics.RenderPass.Close.command":5288,"Graphics.RenderPass.Close.image":2122,"Graphics.RenderPass.Close.key":1361,"Graphics.RenderPass.Close.label":4,"Graphics.RenderPass.Close.new-batch":7196,"Graphics.RenderPass.Continued":56113},"trace_dropped":false,"trace":"aps5-trace-97a3da262189-572609.json.gz"} ``` `python3 tools/trace_digest.py`: ``` **seconds 22:15** from present 1108: 372 presents, frame p50 40.8 / p90 43.2 / p99 50.1 / max 68.0 ms, GPU busy 36.0 ms per present AMD Radeon RX 6650 XT (RADV NAVI23), radv Mesa 26.2.7-arch1.1, Linux 7.2.14-arch1-1, 3840x2160, commit 963137c40642, dropped: no ``` ``` **seconds 22:15** from present 1065: 367 presents, frame p50 41.2 / p90 43.7 / p99 49.9 / max 63.9 ms, GPU busy 36.7 ms per present AMD Radeon RX 6650 XT (RADV NAVI23), radv Mesa 26.2.7-arch1.1, Linux 7.2.14-arch1-1, 3840x2160, commit 97a3da262189, dropped: no ``` The traces (`aps5-trace-963137c40642-576299.json.gz`, `aps5-trace-97a3da262189-572609.json.gz`) are available on request; I cannot attach files from where I work. ### Checklist - [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) and the licence notice of code adapted from upstream (see AGENTS.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 yet (Ghost of Yōtei still needs the follow-up) - [x] GPUs tested: AMD Radeon RX 6650 XT, RADV Mesa 26.2.7, Linux 7.2 - [x] AI-assisted: yes
MarcZX10 commented 2026-11-18 02:30:55 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-18T02:30:55Z.

Review: APPROVED


Reviewed — looks good

Nothing blocks this change; the focused source review found no verified defect.

What I ran

Reviewed head fa51fe019f7cdc48c15b01e7a3e7a83429b53825. No commands or tests were run. Read review/description.md, review/commits.md, review/manifest.json, review/diff.patch, ShaderDiskCache.hpp, SpirvRuntimeBuffer.cpp, and SpirvBufferFormat.cpp. The review folder’s file listing confirmed both changed files were included; files.json was not available through the reader.

Results

Check Result Note
Changed code review passed Both changed files read
Tests not run No checks performed

Findings

Blocking

None.

Non-blocking

None.

Not verified

The reported benchmark results and test runs were not independently reproduced. No test sources or other callers were read.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5949964257 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/21973#pullrequestreview-5949964257). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-18T02:30:55Z. **Review:** APPROVED --- # Reviewed — looks good Nothing blocks this change; the focused source review found no verified defect. ## What I ran Reviewed head `fa51fe019f7cdc48c15b01e7a3e7a83429b53825`. No commands or tests were run. Read `review/description.md`, `review/commits.md`, `review/manifest.json`, `review/diff.patch`, `ShaderDiskCache.hpp`, `SpirvRuntimeBuffer.cpp`, and `SpirvBufferFormat.cpp`. The review folder’s file listing confirmed both changed files were included; `files.json` was not available through the reader. ## Results | Check | Result | Note | |---|---|---| | Changed code review | passed | Both changed files read | | Tests | not run | No checks performed | ## Findings ### Blocking None. ### Non-blocking None. ## Not verified The reported benchmark results and test runs were not independently reproduced. No test sources or other callers were read. ## To get this to a good state Nothing is required.
MarcZX10 commented 2026-11-19 03:58:06 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-19T03:58:06Z.

Review: COMMENTED


Reviewed — no blocking findings

The changed loop appears to preserve the prior per-component load and conversion behavior; I did not run checks, so the evidence does not justify approval.

What I ran

Reviewed head 072a24657e962f20158d9b877a89d558a81e1df7. I read description.md, commits.md, manifest.json, diff.patch, and the changed code around the modified load logic. No commands or tests were run. The manifest lists two changed files, both included; I read the changed cache version file and relevant portions of the runtime buffer file, not either file in full. No excluded changed files were listed in the manifest. files.json was not available in the review folder.

Results

Check Result Note
Code review passed No concrete defect found in the inspected logic.
Tests and build not run Test results in the description are author-reported.
Full-file review not run The runtime buffer file was read only around the changed function and related helpers.

Negative control

Not run; no test assertion or code-under-test change was available to perform a negative control.

Findings

Blocking

None identified in the inspected code.

Non-blocking

None.

Sources

  • core/shader/recompiler/SpirvBackend/src/SpirvRuntimeBuffer.cpp — modified genericFormattedLoad and neighboring formatted load/store helpers.
  • core/shader/recompiler/ShaderDiskCache.hpp — shader disk cache format version bump.
  • core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/BufferFormat.hpp — format enum used to assess the conversion set.

Not verified

The full contents of core/shader/recompiler/SpirvBackend/src/SpirvRuntimeBuffer.cpp, test/build results on this head, and the reported runtime and performance measurements were not independently verified. The description reports test and capture results; I did not run them.

To get this to a good state

Nothing is required. Optional: run the relevant shader and formatted-buffer tests on this head and share the results if seeking approval.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5969103106 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/21973#pullrequestreview-5969103106). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-19T03:58:06Z. **Review:** COMMENTED --- # Reviewed — no blocking findings The changed loop appears to preserve the prior per-component load and conversion behavior; I did not run checks, so the evidence does not justify approval. ## What I ran Reviewed head `072a24657e962f20158d9b877a89d558a81e1df7`. I read `description.md`, `commits.md`, `manifest.json`, `diff.patch`, and the changed code around the modified load logic. No commands or tests were run. The manifest lists two changed files, both included; I read the changed cache version file and relevant portions of the runtime buffer file, not either file in full. No excluded changed files were listed in the manifest. `files.json` was not available in the review folder. ## Results | Check | Result | Note | |---|---|---| | Code review | passed | No concrete defect found in the inspected logic. | | Tests and build | not run | Test results in the description are author-reported. | | Full-file review | not run | The runtime buffer file was read only around the changed function and related helpers. | ## Negative control Not run; no test assertion or code-under-test change was available to perform a negative control. ## Findings ### Blocking None identified in the inspected code. ### Non-blocking None. ## Sources - `core/shader/recompiler/SpirvBackend/src/SpirvRuntimeBuffer.cpp` — modified `genericFormattedLoad` and neighboring formatted load/store helpers. - `core/shader/recompiler/ShaderDiskCache.hpp` — shader disk cache format version bump. - `core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/BufferFormat.hpp` — format enum used to assess the conversion set. ## Not verified The full contents of `core/shader/recompiler/SpirvBackend/src/SpirvRuntimeBuffer.cpp`, test/build results on this head, and the reported runtime and performance measurements were not independently verified. The description reports test and capture results; I did not run them. ## To get this to a good state Nothing is required. Optional: run the relevant shader and formatted-buffer tests on this head and share the results if seeking approval.
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!21973
No description provided.