perf(shader): prepare table-image packed 32-bit unsigned modes at use #24523

Open
Pipodi wants to merge 9 commits from upstream-pr/24523 into main
Pipodi commented 2026-11-20 18:46:41 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Pipodi on 2026-11-20T18:46:41Z.


What

Image-table images (a T# fetched through a descriptor table) listed the 10_11_11 and 2_10_10_10 UInt and UNorm image modes (formats 37, 41, 44, 48) in every shader from the start, which adds the SPIR-V of those conversion modes to every table-image shader. The preparation now lists them only after a captured table column held one of those formats, read from the converted GCN words, and prepares the program again with them. The retry counter and the new per-image flag are part of the shader cache key and the disk-cache image record. Direct images and the older packed modes stay eager. APS5_EAGER_UNSIGNED_PACKED32_MODES restores the eager lists on every table image.

Commits: perf(shader) (change), test(shader) (nested column trigger, cache key, GCN table entries of the packed formats, retry for table images, run with and without the eager switch), docs(shader) (ENVIRONMENT.md row and debt fragment), test(agc) (_putenv_s on Windows in UploadCacheReadOnlyFlush.cpp, main's test does not build on MinGW without it). After the second main merge: fix(shader) (the ShaderDiskCache.cpp ImageResource field count, 53).

Debt entries added in the fragment docs/dev/debt/changes/perf-table-packed32-modes-at-use.md (shader.md, Functional, four entries):

  • per-column trigger: a program whose snapshot has a flagged column is prepared twice, nothing is kept across runs, the bindless heap path never triggers;
  • the retry flag is per program, not per image;
  • a column that holds only the UNORM codes (37, 44) on an image that is not sRGB-decode compatible still costs one retry for no added mode;
  • a memoised column keeps the flag computed under the GCN guest shader setting of the capture that sealed it.

Both sides compile about 50-100 churned or first-seen compute shaders per warm run on background prepare threads (main's own behaviour; those prepares start before the capture window).

Tested

Windows 11, Ghost of Yōtei (PPSA26344), RTX 4090, NVIDIA 617.42, 3840x2160, i9-13900K. Main 7eb79b0c48f and then main 0c2fee0b6f are merged into the branch (no rewrite of the pushed commits). The first merge kept both sides of two conflicts: main's ImageTableColumnSnapshot::pointerKeyed next to this PR's unsignedPacked32, and main's verifySpannedShuffleThroughMemory next to this PR's packed32 tests in tests/ShaderMemory.cpp. The second merge (9278f24312) kept both sides of the Windows test list in tests/cmake/agc_shader_memory_tests.cmake; main's ImageResource::overwrite and this PR's unsignedPacked32Modes had each moved the ShaderDiskCache.cpp field count to 52, so 440da2025b sets it to 53. Build, ctest and the validation layer below are 440da2025b against plain main 0c2fee0b6f (the validation layer on main: 7eb79b0c48f). The performance captures were taken earlier: A is plain main abc3e4a6920, B is the branch at d659b60f2d3, the same four commits on that base, so the A/B pair is on the PR's own former base; every measurement below used main abc3e4a6920, none was repeated on 7eb79b0c48f or 0c2fee0b6f. git diff abc3e4a6920 d659b60f2d3 --stat is the 19 files, 455 insertions, 7 deletions of this PR.

Build and ctest (440da2025b, MinGW Release): BUILD OK, 6878 tests, 2 failed: agc_driver_linear_target_import_creation and agc_driver_store_over_untracked. Both also fail on plain main 0c2fee0b6f rebuilt on the same machine. The two new tests (agc_shader_unsigned_packed32_modes, agc_shader_unsigned_packed32_modes_eager) pass. Before the second merge, 6254c642f6b had 6717 tests with 1 failed, and plain main 7eb79b0c48f 6715 with the same 1 failed (agc_storage_write_back_host_retile).

Validation layer (440da2025b and 6254c642f6b, plain main 7eb79b0c48f), same machine, ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation VK_LOADER_DEBUG=layer, ctest -R <the 98 image and shader tests that touch tables or packed modes> -V: Insert instance layer "VK_LAYER_KHRONOS_validation" (C:\VulkanSDK\1.4.363.0\Bin\VkLayer_khronos_validation.dll) 37 times in each log (including 440da2025b), no was not found but was requested by env var VK_INSTANCE_LAYERS. main: 96 of 96 passed (the same list without the tests main does not have), PR: 98 of 98 passed on both commits, including agc_shader_unsigned_packed32_modes and agc_shader_unsigned_packed32_modes_eager. VUID- count 0 in both. The same run on abc3e4a6920, 0a025bd3c6a and c8f72e905cc (each with this PR and plain) gave the same result.

Performance, second warm set A1r/B1r/A2r on main abc3e4a6920 (2026-11-20 01:00, idle machine). Same builds, caches (m1119a, o2n1119, not refilled), scene, settings and window as the first set below; order A1r, B1r, A2r. No capture in this set has the long memory_wait stall of the first set (longest frame 8.1-8.3 s in all three).

capture commit window s frame p50 ms p90 ms longest frame ms gpu_busy ms/present busiest worker % Driver.Draw.shader_compile_and_link ms
A1r abc3e4a692 37.5 181.7 1872.9 8264 83.0 87.0 1879
B1r d659b60f2d3c 32.6 176.3 1211.7 8094 85.1 96.7 1629
A2r abc3e4a692 39.0 197.0 1852.5 8296 89.9 92.0 3003
ms per present (phase total / presents) A1r B1r A2r
Driver.Packet 1448.4 1392.2 1626.4
Driver.Packet.memory_wait 745.1 715.8 839.0
Driver.Packet.dispatch 593.9 570.2 653.3
Driver.Dispatch.materialize 384.3 368.0 420.1
Driver.Draw.shader_compile_and_link 31.3 27.1 50.1
Shader.PrepareArtifact 2587.9 1562.2 1374.4
Vulkan.ComputePipeline 0.0 0.1 0.0

In this set B1r is below both A runs on window length (32.6 s against 37.5 and 39.0 s, -13 % and -16 %), p90 and shader_compile_and_link (1629 ms against 1879 and 3003 ms, -13 % and -46 %). Shader.PrepareArtifact inside the window still differs between runs (B1r lies between A1r and A2r), so part of the window gap can come from which programs are prepared in it. A2 is the slowest A run in both sets.

Performance, first warm set A1/B1/A2 on main abc3e4a6920 (2026-11-19, idle machine). A = plain main build abc3e4a6920 (cache m1119a), B = this branch d659b60f2d3 (cache o2n1119), same title, scene, machine and settings, APS5_TRACE_FRAMES=250:60, APS5_PROFILE_DRAW=1, no other trace switches, window f250:60. The caches were filled by one cold run of each build to f330 before the captures; order A1, B1, A2.

capture commit window s frame p50 ms p90 ms longest frame ms gpu_busy ms/present busiest worker % Driver.Draw.shader_compile_and_link ms
A1 abc3e4a692 76.2 187.8 1410.0 49845 77.9 97.1 2046
B1 d659b60f2d3c 95.3 194.0 1792.3 65525 83.8 97.8 2786
A2 abc3e4a692 37.4 185.2 1696.6 8198 80.1 92.0 3050

The window is one long frame (A1 49.8 s, B1 65.5 s, A2 8.2 s, a Driver.Packet.memory_wait on queue worker 0x0 in every capture), so window length and p90 are dominated by that stall and do not separate A from B: B1 is slower than both A1 and A2 on window length and p90. On Driver.Draw.shader_compile_and_link, the metric this PR targets, B1 (2786 ms) is 36 % above A1 (2046 ms) and 9 % below A2 (3050 ms), so one A run is better and one worse than B; these three captures do not show the PR reducing shader compile time or frame time, and I do not claim a runtime gain from them. The PR removes SPIR-V from table-image shaders (see the debt and the new tests); the captured window does not show it. B1 also contains a 57 s Vulkan.ComputePipeline total (958 ms per present) that A1 and A2 do not have, and A1 and A2 carry Shader.PrepareArtifact totals of 42 s and 118 s that B1 does not (15 ms): which large compute programs are prepared inside the window differs between runs, and I have not isolated that from the effect of this change.

tools/trace_digest.py phase totals divided by the 60 presents of the window (sums over all threads, so they can exceed the frame time):

ms per present (phase total / presents) A1 B1 A2
Driver.Packet 2830.1 3551.3 1575.9
Driver.Packet.memory_wait 1444.3 1791.4 789.7
Driver.Packet.dispatch 1278.2 1633.7 658.7
Driver.Dispatch.materialize 388.6 441.8 426.9
Driver.Draw.shader_compile_and_link 34.1 46.4 50.8
Shader.PrepareArtifact 700.8 0.2 1966.5
Vulkan.ComputePipeline 0.0 958.2 0.8

Queue worker 0x0 (the hottest thread) is 97.1 / 97.8 / 92.0 % busy in A1 / B1 / A2; Earlier set on d426f6a6d5 (A3-A5 main, B3-B4 branch, 2026-11-18, different base): shader_compile_and_link 1946-1989 ms on main, 1686-1703 ms on the branch, windows 39.6-42.3 s against 37.0-38.6 s; one more branch capture (B2) ran 15.1 s and is not explained. The 11-18 set and the 11-20 set point the same way as the hypothesis; the 11-19 first set, where A1 and B1 each carry one 50-65 s stall, does not separate A from B. A runtime reduction in shader_compile_and_link or window time is a hypothesis, not a result: the 11-19 set is dominated by the stalls, the 11-20 set has one branch capture between two main captures with different in-window Shader.PrepareArtifact totals, and no set isolates shader preparation and compilation. What the PR shows is the smaller SPIR-V of table-image shaders (new tests, and the cold word counts below). No compile-time number is claimed for this PR, so there are no raw compile timings or module SHA-256 lists; the SPIR-V word counts in the cold paragraph below are the only offline measurement, and they come from the branch alone.

Summary lines (A1, B1, A2)
A1
{"commit":"abc3e4a6920b","dirty":false,"env":{"APS5_HOST_IMPORT_MIB":"16384","APS5_NO_SNAPSHOT_CHECK":"1","APS5_PAD_INPUT_FILE":"<path>","APS5_PREPARED_SPIRV_MIB":"6144","APS5_PROFILE_DRAW":"1","APS5_STAGING_POOL_MIB":"2048","APS5_TRACE_DIR":"<path>","APS5_TRACE_FRAMES":"250:60","APS5_TRACE_SUMMARY_EVERY":"30"},"gpu":"NVIDIA GeForce RTX 4090","driver":"NVIDIA 617.42","os":"Windows 10.0.26300","cpu":"13th Gen Intel(R) Core(TM) i9-13900K","cpu_threads":32,"memory_mib":32476,"title_id":"PPSA26344","title":"Ghost of Yōtei","content_version":"01.008.000","resolution":"3840x2160","window":{"spec":"frames 250:60","first_present":250,"ms":76173.227},"presents":60,"frame_ms":{"p50":187.836,"p90":1410.000,"p99":49845.155,"max":49845.155},"gpu_busy_ms_per_present":77.947,"worker_busy_pct":{"queue worker 0x0":97.064,"queue worker 0x52":0.571,"queue worker 0x20":14.124,"queue worker 0x53":0.000,"queue worker 0x30":80.749,"queue worker 0x38":24.239,"queue worker 0x48":6.458},"phase_totals_ms":{"Driver.Completion":1.051,"Driver.Dispatch":76025.980,"Driver.Dispatch.capture_resources":749.798,"Driver.Dispatch.decode_key_device_setup":4003.883,"Driver.Dispatch.lookup_cache":223.651,"Driver.Dispatch.materialize":23314.297,"Driver.Dispatch.prepared_invocation":14.448,"Driver.Draw":2092.118,"Driver.Draw.device_setup":5.080,"Driver.Draw.draw_enqueued":23.305,"Driver.Draw.post_compile_prepare":0.545,"Driver.Draw.prepare":15.277,"Driver.Draw.shader_compile_and_link":2046.428,"Driver.EndSubmission":216.022,"Driver.Packet":169805.316,"Driver.Packet.device_lock":5.173,"Driver.Packet.dispatch":76690.085,"Driver.Packet.draw":2093.345,"Driver.Packet.execute":272.176,"Driver.Packet.flip_flush":2.708,"Driver.Packet.flush_between_packets":563.941,"Driver.Packet.memory_wait":86659.443,"Driver.Packet.pipeline_drain":612.799,"Driver.Packet.pipeline_prepare":7.621,"Driver.Packet.prepare_memory":2849.126,"Driver.Packet.rendering_wait":0.168,"Driver.Present":433.281,"Driver.Present.acquire_image":0.700,"Driver.Present.device_setup":0.028,"Driver.Present.gpu_mutex_wait":0.138,"Driver.Present.inflight_wait":0.153,"Driver.Present.present_display_buffer":411.998,"Driver.Present.queue_present":18.959,"Driver.Present.release_and_callback":0.074,"Driver.Present.render_fence_wait":1.028,"Driver.Present.resize":0.111,"Driver.Present.validate":0.017,"Driver.Suspend":0.018,"GpuMutex.wait.copy":181.654,"GpuMutex.wait.dispatch":806.431,"GpuMutex.wait.draw":47.773,"GpuMutex.wait.end":160.954,"GpuMutex.wait.fill":201.633,"GpuMutex.wait.flush":552.673,"GpuMutex.wait.hook":514.628,"GpuMutex.wait.indirect":138.362,"GpuMutex.wait.label":404.176,"GpuMutex.wait.other":1843.533,"GpuMutex.wait.present":0.025,"GpuMutex.wait.wait":0.177,"Graphics.Draw":1487.947,"Graphics.Draw.draw_and_resource_release":1472.680,"Graphics.Draw.index_upload":3.469,"Graphics.Draw.validate":8.243,"Graphics.Draw.vertex_upload":2.877,"Graphics.DrawWithRecipe":2036.568,"Graphics.DrawWithRecipe.draw_and_resource_release":167.136,"Graphics.DrawWithRecipe.index_upload":1.217,"Graphics.DrawWithRecipe.validate":1.074,"Graphics.DrawWithRecipe.vertex_upload":0.796,"Graphics.Submit":0.979,"Graphics.Submit.command_end":0.115,"Graphics.Submit.queue_submit":0.842,"Graphics.Wait":381.618,"Graphics.Wait.fence_wait":379.229,"Recorder.Reap":24.511,"Recorder.Submit":143.429,"Recorder.Sync":345.679,"Recorder.WaitSerial":364.843,"Resources.Complete":2278.035,"Resources.Prepare":845.075,"Shader.DrawStage":2030.775,"Shader.DrawStage.capture_resources":40.015,"Shader.DrawStage.materialize":1937.264,"Shader.DrawStage.prepared_invocation":53.330,"Shader.PrepareArtifact":42046.688,"Shader.Register":478.830,"Shader.ResolveAbi":38.228,"Shader.ResolveGraphicsAbi":1.548,"Shader.ResolveGraphicsStagesAbi":56.344,"VideoOut.Flip":440.747,"VideoOut.Flip.completion_mutex_wait":0.069,"VideoOut.Flip.config_mutex_wait":0.007,"VideoOut.Flip.frame_limit":0.032,"VideoOut.Flip.notify_game":3.742,"VideoOut.Flip.present":433.779,"VideoOut.Flip.validate":0.063,"VideoOut.Flip.vblank_wait":0.034,"VideoOut.Flip.window_prepare":0.085,"VideoOut.Flip.window_title":2.877,"VideoOut.Readiness":0.127,"VideoOut.Readiness.locks_validate":0.055,"Vulkan.Acquire":0.644,"Vulkan.Acquire.acquire_fence_wait":0.115,"Vulkan.Acquire.acquire_image":0.374,"Vulkan.Acquire.fence_reset":0.106,"Vulkan.Acquire.retired_swapchains":0.029,"Vulkan.Dispatch":3236.213,"Vulkan.Dispatch.command_record":164.157,"Vulkan.Dispatch.shader_resources":3056.456,"Vulkan.DispatchRecipe":398.395,"Vulkan.DispatchRecipe.command_record":397.488,"Vulkan.DrawFromRecipe":2037.377,"Vulkan.Present":6.047,"Vulkan.Present.command_record_scale":2.476,"Vulkan.Present.pixel_upload":0.166,"Vulkan.Present.queue_submit":3.349,"Vulkan.QueuePresent":18.684,"Vulkan.QueuePresent.queue_present":18.594,"Vulkan.Retire":1.008,"Vulkan.Retire.wait":0.542},"top_phases_ms_per_frame":{"Driver.Packet":2830.089,"Driver.Packet.memory_wait":1444.324,"Driver.Packet.dispatch":1278.168,"Driver.Dispatch":1267.100,"Shader.PrepareArtifact":700.778,"Driver.Dispatch.materialize":388.572,"Driver.Dispatch.decode_key_device_setup":66.731,"Vulkan.Dispatch":53.937},"owned_draw_counts":{},"graphics_track":{"Graphics.Barrier.copy":1130,"Graphics.Barrier.dcc-clear":778,"Graphics.Barrier.dcc-keys":542,"Graphics.Barrier.dispatch-lead":7119,"Graphics.Barrier.dispatch-trail":11338,"Graphics.Barrier.draw":3646,"Graphics.Barrier.fill":1265,"Graphics.Barrier.fill-clear":1206,"Graphics.Barrier.indirect-args":1241,"Graphics.Barrier.input-mirror":23,"Graphics.Barrier.label-run":6304,"Graphics.Barrier.present-blit":120,"Graphics.Barrier.shadow-publish":815,"Graphics.Barrier.staging-in":5718,"Graphics.Barrier.staging-out":2488,"Graphics.Barrier.storage-upload":7710,"Graphics.Barrier.storage-writeback":18647,"Graphics.Barrier.template-refresh":11,"Graphics.BarrierMerged.copy":176,"Graphics.BarrierMerged.dispatch-lead":6701,"Graphics.BarrierMerged.fill":707,"Graphics.BarrierMerged.label-run":17,"Graphics.BarrierMerged.shadow-publish":469,"Graphics.BarrierMerged.staging-in":1683,"Graphics.BarrierMerged.staging-out":2454,"Graphics.BarrierMerged.storage-writeback":2103,"Graphics.Copy":11771,"Graphics.Copy.bytes":12063521800,"Graphics.RenderPass":1833,"Graphics.RenderPass.Close.command":1251,"Graphics.RenderPass.Close.image":247,"Graphics.RenderPass.Close.key":192,"Graphics.RenderPass.Close.label":17,"Graphics.RenderPass.Close.new-batch":126,"Graphics.RenderPass.Continued":59},"trace_dropped":false,"trace":"aps5-trace-abc3e4a6920b-65028.json.gz"}

B1
{"commit":"d659b60f2d3c","dirty":false,"env":{"APS5_HOST_IMPORT_MIB":"16384","APS5_NO_SNAPSHOT_CHECK":"1","APS5_PAD_INPUT_FILE":"<path>","APS5_PREPARED_SPIRV_MIB":"6144","APS5_PROFILE_DRAW":"1","APS5_STAGING_POOL_MIB":"2048","APS5_TRACE_DIR":"<path>","APS5_TRACE_FRAMES":"250:60","APS5_TRACE_SUMMARY_EVERY":"30"},"gpu":"NVIDIA GeForce RTX 4090","driver":"NVIDIA 617.42","os":"Windows 10.0.26300","cpu":"13th Gen Intel(R) Core(TM) i9-13900K","cpu_threads":32,"memory_mib":32476,"title_id":"PPSA26344","title":"Ghost of Yōtei","content_version":"01.008.000","resolution":"3840x2160","window":{"spec":"frames 250:60","first_present":250,"ms":95252.241},"presents":60,"frame_ms":{"p50":194.048,"p90":1792.282,"p99":65525.155,"max":65525.155},"gpu_busy_ms_per_present":83.782,"worker_busy_pct":{"queue worker 0x0":97.779,"queue worker 0x52":0.386,"queue worker 0x53":0.000,"queue worker 0x20":13.523,"queue worker 0x38":21.686,"queue worker 0x30":83.447,"queue worker 0x48":6.980},"phase_totals_ms":{"Driver.Completion":0.749,"Driver.Dispatch":97207.240,"Driver.Dispatch.capture_resources":1031.322,"Driver.Dispatch.decode_key_device_setup":4135.649,"Driver.Dispatch.lookup_cache":236.828,"Driver.Dispatch.materialize":26509.700,"Driver.Dispatch.prepared_invocation":18.553,"Driver.Draw":2856.406,"Driver.Draw.device_setup":5.011,"Driver.Draw.draw_enqueued":47.570,"Driver.Draw.post_compile_prepare":0.566,"Driver.Draw.prepare":15.999,"Driver.Draw.shader_compile_and_link":2785.912,"Driver.EndSubmission":97.284,"Driver.Packet":213077.388,"Driver.Packet.device_lock":5.222,"Driver.Packet.dispatch":98019.895,"Driver.Packet.draw":2857.637,"Driver.Packet.execute":200.700,"Driver.Packet.flip_flush":5.077,"Driver.Packet.flush_between_packets":485.282,"Driver.Packet.memory_wait":107485.774,"Driver.Packet.pipeline_drain":814.538,"Driver.Packet.pipeline_prepare":8.124,"Driver.Packet.prepare_memory":3076.774,"Driver.Packet.rendering_wait":0.117,"Driver.Present":458.221,"Driver.Present.acquire_image":0.631,"Driver.Present.device_setup":0.027,"Driver.Present.gpu_mutex_wait":0.315,"Driver.Present.inflight_wait":0.144,"Driver.Present.present_display_buffer":433.814,"Driver.Present.queue_present":21.563,"Driver.Present.release_and_callback":0.079,"Driver.Present.render_fence_wait":1.451,"Driver.Present.resize":0.104,"Driver.Present.validate":0.020,"Driver.Suspend":0.015,"GpuMutex.wait.copy":135.676,"GpuMutex.wait.dispatch":1083.863,"GpuMutex.wait.draw":147.278,"GpuMutex.wait.end":62.153,"GpuMutex.wait.fill":170.930,"GpuMutex.wait.flush":499.470,"GpuMutex.wait.hook":974.423,"GpuMutex.wait.indirect":150.496,"GpuMutex.wait.label":385.272,"GpuMutex.wait.other":2528.311,"GpuMutex.wait.present":0.210,"GpuMutex.wait.wait":0.084,"Graphics.Draw":1912.724,"Graphics.Draw.draw_and_resource_release":1892.395,"Graphics.Draw.index_upload":4.692,"Graphics.Draw.validate":11.707,"Graphics.Draw.vertex_upload":3.080,"Graphics.DrawWithRecipe":2013.572,"Graphics.DrawWithRecipe.draw_and_resource_release":158.019,"Graphics.DrawWithRecipe.index_upload":0.156,"Graphics.DrawWithRecipe.validate":0.957,"Graphics.DrawWithRecipe.vertex_upload":0.841,"Graphics.Submit":1.393,"Graphics.Submit.command_end":0.131,"Graphics.Submit.queue_submit":1.239,"Graphics.Wait":384.750,"Graphics.Wait.fence_wait":382.700,"Recorder.Reap":32.324,"Recorder.Submit":244.790,"Recorder.Sync":398.250,"Recorder.WaitSerial":360.721,"Resources.Complete":2317.723,"Resources.Prepare":815.737,"Shader.DrawStage":2770.385,"Shader.DrawStage.capture_resources":41.427,"Shader.DrawStage.materialize":2650.996,"Shader.DrawStage.prepared_invocation":77.752,"Shader.PrepareArtifact":14.847,"Shader.Register":394.542,"Shader.ResolveAbi":31.114,"Shader.ResolveGraphicsAbi":1.925,"Shader.ResolveGraphicsStagesAbi":81.147,"VideoOut.Flip":468.024,"VideoOut.Flip.completion_mutex_wait":0.057,"VideoOut.Flip.config_mutex_wait":0.009,"VideoOut.Flip.frame_limit":0.032,"VideoOut.Flip.notify_game":5.533,"VideoOut.Flip.present":458.899,"VideoOut.Flip.validate":0.070,"VideoOut.Flip.vblank_wait":0.034,"VideoOut.Flip.window_prepare":0.086,"VideoOut.Flip.window_title":3.230,"VideoOut.Readiness":0.143,"VideoOut.Readiness.locks_validate":0.078,"Vulkan.Acquire":0.577,"Vulkan.Acquire.acquire_fence_wait":0.105,"Vulkan.Acquire.acquire_image":0.335,"Vulkan.Acquire.fence_reset":0.093,"Vulkan.Acquire.retired_swapchains":0.027,"Vulkan.ComputePipeline":57493.008,"Vulkan.Dispatch":4050.582,"Vulkan.Dispatch.command_record":219.804,"Vulkan.Dispatch.shader_resources":3819.052,"Vulkan.DispatchRecipe":311.566,"Vulkan.DispatchRecipe.command_record":309.793,"Vulkan.DrawFromRecipe":2014.388,"Vulkan.Present":6.967,"Vulkan.Present.command_record_scale":2.346,"Vulkan.Present.pixel_upload":0.155,"Vulkan.Present.queue_submit":4.419,"Vulkan.QueuePresent":21.322,"Vulkan.QueuePresent.queue_present":21.245,"Vulkan.Retire":1.433,"Vulkan.Retire.wait":0.738},"top_phases_ms_per_frame":{"Driver.Packet":3551.290,"Driver.Packet.memory_wait":1791.430,"Driver.Packet.dispatch":1633.665,"Driver.Dispatch":1620.121,"Vulkan.ComputePipeline":958.217,"Driver.Dispatch.materialize":441.828,"Driver.Dispatch.decode_key_device_setup":68.927,"Vulkan.Dispatch":67.510},"owned_draw_counts":{},"graphics_track":{"Graphics.Barrier.copy":1206,"Graphics.Barrier.dcc-clear":780,"Graphics.Barrier.dcc-keys":530,"Graphics.Barrier.dispatch-lead":7959,"Graphics.Barrier.dispatch-trail":12714,"Graphics.Barrier.draw":3853,"Graphics.Barrier.fill":1270,"Graphics.Barrier.fill-clear":1216,"Graphics.Barrier.indirect-args":1252,"Graphics.Barrier.input-mirror":30,"Graphics.Barrier.label-run":6476,"Graphics.Barrier.present-blit":120,"Graphics.Barrier.shadow-publish":858,"Graphics.Barrier.staging-in":8252,"Graphics.Barrier.staging-out":3409,"Graphics.Barrier.storage-upload":8829,"Graphics.Barrier.storage-writeback":21471,"Graphics.Barrier.template-refresh":14,"Graphics.BarrierMerged.copy":180,"Graphics.BarrierMerged.dispatch-lead":7259,"Graphics.BarrierMerged.fill":704,"Graphics.BarrierMerged.label-run":16,"Graphics.BarrierMerged.shadow-publish":478,"Graphics.BarrierMerged.staging-in":1903,"Graphics.BarrierMerged.staging-out":3369,"Graphics.BarrierMerged.storage-writeback":2209,"Graphics.Copy":14249,"Graphics.Copy.bytes":11999071748,"Graphics.RenderPass":1935,"Graphics.RenderPass.Close.command":1306,"Graphics.RenderPass.Close.image":278,"Graphics.RenderPass.Close.key":192,"Graphics.RenderPass.Close.label":16,"Graphics.RenderPass.Close.new-batch":143,"Graphics.RenderPass.Continued":65},"trace_dropped":false,"trace":"aps5-trace-d659b60f2d3c-79276.json.gz"}

A2
{"commit":"abc3e4a6920b","dirty":false,"env":{"APS5_HOST_IMPORT_MIB":"16384","APS5_NO_SNAPSHOT_CHECK":"1","APS5_PAD_INPUT_FILE":"<path>","APS5_PREPARED_SPIRV_MIB":"6144","APS5_PROFILE_DRAW":"1","APS5_STAGING_POOL_MIB":"2048","APS5_TRACE_DIR":"<path>","APS5_TRACE_FRAMES":"250:60","APS5_TRACE_SUMMARY_EVERY":"30"},"gpu":"NVIDIA GeForce RTX 4090","driver":"NVIDIA 617.42","os":"Windows 10.0.26300","cpu":"13th Gen Intel(R) Core(TM) i9-13900K","cpu_threads":32,"memory_mib":32476,"title_id":"PPSA26344","title":"Ghost of Yōtei","content_version":"01.008.000","resolution":"3840x2160","window":{"spec":"frames 250:60","first_present":250,"ms":37352.051},"presents":60,"frame_ms":{"p50":185.200,"p90":1696.569,"p99":8198.270,"max":8198.270},"gpu_busy_ms_per_present":80.101,"worker_busy_pct":{"queue worker 0x0":92.036,"queue worker 0x52":0.915,"queue worker 0x53":0.000,"queue worker 0x20":36.275,"queue worker 0x30":57.118,"queue worker 0x48":15.200,"queue worker 0x38":52.028},"phase_totals_ms":{"Driver.Completion":1.243,"Driver.Dispatch":38744.526,"Driver.Dispatch.capture_resources":915.584,"Driver.Dispatch.decode_key_device_setup":4161.681,"Driver.Dispatch.lookup_cache":237.816,"Driver.Dispatch.materialize":25613.935,"Driver.Dispatch.prepared_invocation":654.016,"Driver.Draw":3107.961,"Driver.Draw.device_setup":5.241,"Driver.Draw.draw_enqueued":33.966,"Driver.Draw.post_compile_prepare":0.570,"Driver.Draw.prepare":16.407,"Driver.Draw.shader_compile_and_link":3050.216,"Driver.EndSubmission":158.401,"Driver.Packet":94554.637,"Driver.Packet.device_lock":5.421,"Driver.Packet.dispatch":39519.669,"Driver.Packet.draw":3109.282,"Driver.Packet.execute":73.006,"Driver.Packet.flip_flush":3.762,"Driver.Packet.flush_between_packets":552.837,"Driver.Packet.memory_wait":47382.441,"Driver.Packet.pipeline_drain":654.438,"Driver.Packet.pipeline_prepare":8.191,"Driver.Packet.prepare_memory":3173.646,"Driver.Packet.rendering_wait":0.107,"Driver.Present":453.757,"Driver.Present.acquire_image":0.697,"Driver.Present.device_setup":0.028,"Driver.Present.gpu_mutex_wait":0.132,"Driver.Present.inflight_wait":0.153,"Driver.Present.present_display_buffer":432.275,"Driver.Present.queue_present":18.622,"Driver.Present.release_and_callback":0.078,"Driver.Present.render_fence_wait":1.575,"Driver.Present.resize":0.116,"Driver.Present.validate":0.016,"Driver.Suspend":0.019,"GpuMutex.wait.copy":8.889,"GpuMutex.wait.dispatch":929.685,"GpuMutex.wait.draw":77.198,"GpuMutex.wait.end":104.123,"GpuMutex.wait.fill":204.945,"GpuMutex.wait.flush":516.343,"GpuMutex.wait.hook":864.660,"GpuMutex.wait.indirect":131.858,"GpuMutex.wait.label":347.635,"GpuMutex.wait.other":2048.348,"GpuMutex.wait.present":0.017,"GpuMutex.wait.wait":0.090,"Graphics.Draw":1621.877,"Graphics.Draw.draw_and_resource_release":1596.705,"Graphics.Draw.index_upload":10.894,"Graphics.Draw.validate":11.454,"Graphics.Draw.vertex_upload":2.038,"Graphics.DrawWithRecipe":2041.253,"Graphics.DrawWithRecipe.draw_and_resource_release":165.911,"Graphics.DrawWithRecipe.index_upload":0.175,"Graphics.DrawWithRecipe.validate":1.046,"Graphics.DrawWithRecipe.vertex_upload":0.800,"Graphics.Submit":2.719,"Graphics.Submit.command_end":0.189,"Graphics.Submit.queue_submit":2.494,"Graphics.Wait":467.111,"Graphics.Wait.fence_wait":465.093,"Recorder.Reap":18.053,"Recorder.Submit":194.342,"Recorder.Sync":416.273,"Recorder.WaitSerial":348.428,"Resources.Complete":2268.398,"Resources.Prepare":723.115,"Shader.DrawStage":3034.980,"Shader.DrawStage.capture_resources":23.683,"Shader.DrawStage.materialize":2928.439,"Shader.DrawStage.prepared_invocation":82.652,"Shader.PrepareArtifact":117990.804,"Shader.Register":486.054,"Shader.ResolveAbi":36.009,"Shader.ResolveGraphicsAbi":1.642,"Shader.ResolveGraphicsStagesAbi":72.521,"VideoOut.Flip":460.382,"VideoOut.Flip.completion_mutex_wait":0.075,"VideoOut.Flip.config_mutex_wait":0.008,"VideoOut.Flip.frame_limit":0.034,"VideoOut.Flip.notify_game":3.103,"VideoOut.Flip.present":454.316,"VideoOut.Flip.validate":0.068,"VideoOut.Flip.vblank_wait":0.037,"VideoOut.Flip.window_prepare":0.088,"VideoOut.Flip.window_title":2.586,"VideoOut.Readiness":0.157,"VideoOut.Readiness.locks_validate":0.083,"Vulkan.Acquire":0.640,"Vulkan.Acquire.acquire_fence_wait":0.121,"Vulkan.Acquire.acquire_image":0.366,"Vulkan.Acquire.fence_reset":0.106,"Vulkan.Acquire.retired_swapchains":0.029,"Vulkan.ComputePipeline":48.967,"Vulkan.Dispatch":3468.650,"Vulkan.Dispatch.command_record":193.503,"Vulkan.Dispatch.shader_resources":3264.900,"Vulkan.DispatchRecipe":441.385,"Vulkan.DispatchRecipe.command_record":440.387,"Vulkan.DrawFromRecipe":2042.113,"Vulkan.Present":12.101,"Vulkan.Present.command_record_scale":2.665,"Vulkan.Present.pixel_upload":0.168,"Vulkan.Present.queue_submit":9.204,"Vulkan.QueuePresent":18.346,"Vulkan.QueuePresent.queue_present":18.250,"Vulkan.Retire":1.555,"Vulkan.Retire.wait":1.075},"top_phases_ms_per_frame":{"Shader.PrepareArtifact":1966.513,"Driver.Packet":1575.911,"Driver.Packet.memory_wait":789.707,"Driver.Packet.dispatch":658.661,"Driver.Dispatch":645.742,"Driver.Dispatch.materialize":426.899,"Driver.Dispatch.decode_key_device_setup":69.361,"Vulkan.Dispatch":57.811},"owned_draw_counts":{},"graphics_track":{"Graphics.Barrier.copy":1190,"Graphics.Barrier.dcc-clear":850,"Graphics.Barrier.dcc-keys":540,"Graphics.Barrier.dispatch-lead":7639,"Graphics.Barrier.dispatch-trail":12347,"Graphics.Barrier.draw":3849,"Graphics.Barrier.fill":1256,"Graphics.Barrier.fill-clear":1216,"Graphics.Barrier.indirect-args":1259,"Graphics.Barrier.input-mirror":25,"Graphics.Barrier.label-run":6392,"Graphics.Barrier.present-blit":120,"Graphics.Barrier.shadow-publish":850,"Graphics.Barrier.staging-in":7116,"Graphics.Barrier.staging-out":3042,"Graphics.Barrier.storage-upload":8819,"Graphics.Barrier.storage-writeback":21203,"Graphics.Barrier.template-refresh":14,"Graphics.BarrierMerged.copy":129,"Graphics.BarrierMerged.dispatch-lead":7226,"Graphics.BarrierMerged.fill":728,"Graphics.BarrierMerged.label-run":19,"Graphics.BarrierMerged.shadow-publish":482,"Graphics.BarrierMerged.staging-in":1932,"Graphics.BarrierMerged.staging-out":3000,"Graphics.BarrierMerged.storage-writeback":2194,"Graphics.Copy":13539,"Graphics.Copy.bytes":12660501292,"Graphics.RenderPass":1921,"Graphics.RenderPass.Close.command":1307,"Graphics.RenderPass.Close.image":273,"Graphics.RenderPass.Close.key":191,"Graphics.RenderPass.Close.label":19,"Graphics.RenderPass.Close.new-batch":131,"Graphics.RenderPass.Continued":65},"trace_dropped":false,"trace":"aps5-trace-abc3e4a6920b-72944.json.gz"}
Summary lines, 2026-11-20 set (A1r, B1r, A2r)
A1r
{"commit":"abc3e4a6920b","dirty":false,"env":{"APS5_HOST_IMPORT_MIB":"16384","APS5_NO_SNAPSHOT_CHECK":"1","APS5_PAD_INPUT_FILE":"<path>","APS5_PREPARED_SPIRV_MIB":"6144","APS5_PROFILE_DRAW":"1","APS5_STAGING_POOL_MIB":"2048","APS5_TRACE_DIR":"<path>","APS5_TRACE_FRAMES":"250:60","APS5_TRACE_SUMMARY_EVERY":"30"},"gpu":"NVIDIA GeForce RTX 4090","driver":"NVIDIA 617.42","os":"Windows 10.0.26300","cpu":"13th Gen Intel(R) Core(TM) i9-13900K","cpu_threads":32,"memory_mib":32476,"title_id":"PPSA26344","title":"Ghost of Yōtei","content_version":"01.008.000","resolution":"3840x2160","window":{"spec":"frames 250:60","first_present":250,"ms":37493.082},"presents":60,"frame_ms":{"p50":181.69,"p90":1872.904,"p99":8264.386,"max":8264.386},"gpu_busy_ms_per_present":83.006,"worker_busy_pct":{"queue worker 0x0":86.961,"queue worker 0x52":0.719,"queue worker 0x53":0.0,"queue worker 0x20":26.926,"queue worker 0x30":54.541,"queue worker 0x38":50.372,"queue worker 0x48":12.71},"phase_totals_ms":{"Driver.Completion":1.002,"Driver.Dispatch":34765.589,"Driver.Dispatch.capture_resources":780.563,"Driver.Dispatch.decode_key_device_setup":4155.212,"Driver.Dispatch.lookup_cache":258.531,"Driver.Dispatch.materialize":23058.905,"Driver.Dispatch.prepared_invocation":10.293,"Driver.Draw":1910.066,"Driver.Draw.device_setup":5.314,"Driver.Draw.draw_enqueued":10.126,"Driver.Draw.post_compile_prepare":0.498,"Driver.Draw.prepare":13.87,"Driver.Draw.shader_compile_and_link":1878.551,"Driver.EndSubmission":167.602,"Driver.Packet":86901.111,"Driver.Packet.device_lock":4.67,"Driver.Packet.dispatch":35633.214,"Driver.Packet.draw":1911.358,"Driver.Packet.execute":85.229,"Driver.Packet.flip_flush":4.848,"Driver.Packet.flush_between_packets":536.054,"Driver.Packet.memory_wait":44703.31,"Driver.Packet.pipeline_drain":802.181,"Driver.Packet.pipeline_prepare":7.188,"Driver.Packet.prepare_memory":3159.05,"Driver.Packet.rendering_wait":0.182,"Driver.Present":498.09,"Driver.Present.acquire_image":0.766,"Driver.Present.device_setup":0.032,"Driver.Present.gpu_mutex_wait":0.194,"Driver.Present.inflight_wait":0.164,"Driver.Present.present_display_buffer":467.899,"Driver.Present.queue_present":24.025,"Driver.Present.release_and_callback":0.083,"Driver.Present.render_fence_wait":4.715,"Driver.Present.resize":0.111,"Driver.Present.validate":0.02,"Driver.Suspend":0.021,"GpuMutex.wait.copy":87.19,"GpuMutex.wait.dispatch":778.279,"GpuMutex.wait.draw":46.213,"GpuMutex.wait.end":112.957,"GpuMutex.wait.fill":207.883,"GpuMutex.wait.flush":519.979,"GpuMutex.wait.hook":692.167,"GpuMutex.wait.indirect":140.286,"GpuMutex.wait.label":368.404,"GpuMutex.wait.other":2096.288,"GpuMutex.wait.present":0.053,"GpuMutex.wait.wait":0.332,"Graphics.Draw":1316.468,"Graphics.Draw.draw_and_resource_release":1306.841,"Graphics.Draw.index_upload":1.169,"Graphics.Draw.validate":7.271,"Graphics.Draw.vertex_upload":0.695,"Graphics.DrawWithRecipe":2255.4,"Graphics.DrawWithRecipe.draw_and_resource_release":196.77,"Graphics.DrawWithRecipe.index_upload":0.203,"Graphics.DrawWithRecipe.validate":1.188,"Graphics.DrawWithRecipe.vertex_upload":0.81,"Graphics.Submit":15.957,"Graphics.Submit.command_end":0.947,"Graphics.Submit.queue_submit":14.834,"Graphics.Wait":1392.404,"Graphics.Wait.fence_wait":1388.586,"Recorder.Reap":18.452,"Recorder.Submit":215.618,"Recorder.Sync":424.536,"Recorder.WaitSerial":361.596,"Resources.Complete":2047.473,"Resources.Prepare":788.679,"Shader.DrawStage":1861.08,"Shader.DrawStage.capture_resources":6.021,"Shader.DrawStage.materialize":1800.002,"Shader.DrawStage.prepared_invocation":54.969,"Shader.PrepareArtifact":155274.717,"Shader.Register":3366.174,"Shader.ResolveAbi":69.94,"Shader.ResolveGraphicsAbi":1.487,"Shader.ResolveGraphicsStagesAbi":121.484,"VideoOut.Flip":509.501,"VideoOut.Flip.completion_mutex_wait":0.091,"VideoOut.Flip.config_mutex_wait":0.008,"VideoOut.Flip.frame_limit":0.036,"VideoOut.Flip.notify_game":6.945,"VideoOut.Flip.present":498.646,"VideoOut.Flip.validate":0.073,"VideoOut.Flip.vblank_wait":0.04,"VideoOut.Flip.window_prepare":0.088,"VideoOut.Flip.window_title":3.484,"VideoOut.Readiness":0.139,"VideoOut.Readiness.locks_validate":0.06,"Vulkan.Acquire":0.705,"Vulkan.Acquire.acquire_fence_wait":0.131,"Vulkan.Acquire.acquire_image":0.404,"Vulkan.Acquire.fence_reset":0.116,"Vulkan.Acquire.retired_swapchains":0.033,"Vulkan.Dispatch":2977.972,"Vulkan.Dispatch.command_record":131.026,"Vulkan.Dispatch.shader_resources":2837.289,"Vulkan.DispatchRecipe":497.808,"Vulkan.DispatchRecipe.command_record":491.766,"Vulkan.DrawFromRecipe":2256.307,"Vulkan.GraphicsPipeline":0.398,"Vulkan.GraphicsPipeline.modules_and_state":0.344,"Vulkan.GraphicsPipelinePrebuild":0.421,"Vulkan.Present":7.372,"Vulkan.Present.command_record_scale":2.833,"Vulkan.Present.pixel_upload":0.185,"Vulkan.Present.queue_submit":4.281,"Vulkan.QueuePresent":23.715,"Vulkan.QueuePresent.queue_present":23.613,"Vulkan.Retire":4.695,"Vulkan.Retire.wait":4.162},"top_phases_ms_per_frame":{"Shader.PrepareArtifact":2587.912,"Driver.Packet":1448.352,"Driver.Packet.memory_wait":745.055,"Driver.Packet.dispatch":593.887,"Driver.Dispatch":579.426,"Driver.Dispatch.materialize":384.315,"Driver.Dispatch.decode_key_device_setup":69.254,"Shader.Register":56.103},"owned_draw_counts":{},"graphics_track":{"Graphics.Barrier.copy":707,"Graphics.Barrier.dcc-clear":820,"Graphics.Barrier.dcc-keys":544,"Graphics.Barrier.dispatch-lead":5656,"Graphics.Barrier.dispatch-trail":8784,"Graphics.Barrier.draw":3068,"Graphics.Barrier.fill":1229,"Graphics.Barrier.fill-clear":1164,"Graphics.Barrier.indirect-args":1195,"Graphics.Barrier.input-mirror":5,"Graphics.Barrier.label-run":5940,"Graphics.Barrier.present-blit":120,"Graphics.Barrier.shadow-publish":674,"Graphics.Barrier.staging-in":2317,"Graphics.Barrier.staging-out":1112,"Graphics.Barrier.storage-upload":4978,"Graphics.Barrier.storage-writeback":12838,"Graphics.Barrier.template-refresh":1,"Graphics.BarrierMerged.copy":157,"Graphics.BarrierMerged.dispatch-lead":5518,"Graphics.BarrierMerged.fill":733,"Graphics.BarrierMerged.label-run":11,"Graphics.BarrierMerged.shadow-publish":394,"Graphics.BarrierMerged.staging-in":1019,"Graphics.BarrierMerged.staging-out":1112,"Graphics.BarrierMerged.storage-writeback":1896,"Graphics.Copy":8254,"Graphics.Copy.bytes":29765022220,"Graphics.RenderPass":1612,"Graphics.RenderPass.Close.command":1064,"Graphics.RenderPass.Close.image":243,"Graphics.RenderPass.Close.key":184,"Graphics.RenderPass.Close.label":11,"Graphics.RenderPass.Close.new-batch":110,"Graphics.RenderPass.Continued":14},"trace_dropped":false,"trace":"aps5-trace-abc3e4a6920b-72216.json.gz"}

B1r
{"commit":"d659b60f2d3c","dirty":false,"env":{"APS5_HOST_IMPORT_MIB":"16384","APS5_NO_SNAPSHOT_CHECK":"1","APS5_PAD_INPUT_FILE":"<path>","APS5_PREPARED_SPIRV_MIB":"6144","APS5_PROFILE_DRAW":"1","APS5_STAGING_POOL_MIB":"2048","APS5_TRACE_DIR":"<path>","APS5_TRACE_FRAMES":"250:60","APS5_TRACE_SUMMARY_EVERY":"30"},"gpu":"NVIDIA GeForce RTX 4090","driver":"NVIDIA 617.42","os":"Windows 10.0.26300","cpu":"13th Gen Intel(R) Core(TM) i9-13900K","cpu_threads":32,"memory_mib":32476,"title_id":"PPSA26344","title":"Ghost of Yōtei","content_version":"01.008.000","resolution":"3840x2160","window":{"spec":"frames 250:60","first_present":250,"ms":32554.511},"presents":60,"frame_ms":{"p50":176.345,"p90":1211.74,"p99":8093.872,"max":8093.872},"gpu_busy_ms_per_present":85.11,"worker_busy_pct":{"queue worker 0x0":96.688,"queue worker 0x52":0.835,"queue worker 0x53":0.0,"queue worker 0x20":31.279,"queue worker 0x30":58.557,"queue worker 0x38":55.07,"queue worker 0x48":14.505},"phase_totals_ms":{"Driver.Completion":1.192,"Driver.Dispatch":33591.197,"Driver.Dispatch.capture_resources":756.904,"Driver.Dispatch.decode_key_device_setup":4177.207,"Driver.Dispatch.lookup_cache":314.61,"Driver.Dispatch.materialize":22077.109,"Driver.Dispatch.prepared_invocation":11.744,"Driver.Draw":1694.046,"Driver.Draw.device_setup":4.978,"Driver.Draw.draw_enqueued":44.208,"Driver.Draw.post_compile_prepare":0.489,"Driver.Draw.prepare":14.316,"Driver.Draw.shader_compile_and_link":1628.7,"Driver.EndSubmission":113.203,"Driver.Packet":83529.701,"Driver.Packet.device_lock":4.85,"Driver.Packet.dispatch":34211.512,"Driver.Packet.draw":1695.291,"Driver.Packet.execute":75.171,"Driver.Packet.flip_flush":3.567,"Driver.Packet.flush_between_packets":584.745,"Driver.Packet.memory_wait":42948.541,"Driver.Packet.pipeline_drain":871.8,"Driver.Packet.pipeline_prepare":7.112,"Driver.Packet.prepare_memory":3075.462,"Driver.Packet.rendering_wait":0.114,"Driver.Present":429.677,"Driver.Present.acquire_image":0.696,"Driver.Present.device_setup":0.027,"Driver.Present.gpu_mutex_wait":0.216,"Driver.Present.inflight_wait":0.154,"Driver.Present.present_display_buffer":404.98,"Driver.Present.queue_present":20.139,"Driver.Present.release_and_callback":0.083,"Driver.Present.render_fence_wait":3.185,"Driver.Present.resize":0.108,"Driver.Present.validate":0.019,"Driver.Suspend":0.018,"GpuMutex.wait.copy":115.164,"GpuMutex.wait.dispatch":608.643,"GpuMutex.wait.draw":84.658,"GpuMutex.wait.end":67.678,"GpuMutex.wait.fill":262.252,"GpuMutex.wait.flush":610.786,"GpuMutex.wait.hook":621.051,"GpuMutex.wait.indirect":128.796,"GpuMutex.wait.label":363.262,"GpuMutex.wait.other":1728.512,"GpuMutex.wait.present":0.105,"GpuMutex.wait.wait":0.276,"Graphics.Draw":1347.827,"Graphics.Draw.draw_and_resource_release":1334.293,"Graphics.Draw.index_upload":3.071,"Graphics.Draw.validate":7.847,"Graphics.Draw.vertex_upload":1.999,"Graphics.DrawWithRecipe":2186.957,"Graphics.DrawWithRecipe.draw_and_resource_release":172.278,"Graphics.DrawWithRecipe.index_upload":0.163,"Graphics.DrawWithRecipe.validate":1.107,"Graphics.DrawWithRecipe.vertex_upload":0.742,"Graphics.Submit":1.434,"Graphics.Submit.command_end":0.13,"Graphics.Submit.queue_submit":1.283,"Graphics.Wait":529.983,"Graphics.Wait.fence_wait":527.628,"Recorder.Reap":18.123,"Recorder.Submit":205.93,"Recorder.Sync":312.647,"Recorder.WaitSerial":437.685,"Resources.Complete":2153.155,"Resources.Prepare":680.679,"Shader.DrawStage":1614.189,"Shader.DrawStage.capture_resources":12.869,"Shader.DrawStage.materialize":1557.948,"Shader.DrawStage.prepared_invocation":43.232,"Shader.PrepareArtifact":93733.628,"Shader.Register":538.73,"Shader.ResolveAbi":44.085,"Shader.ResolveGraphicsAbi":1.569,"Shader.ResolveGraphicsStagesAbi":52.8,"VideoOut.Flip":438.533,"VideoOut.Flip.completion_mutex_wait":0.074,"VideoOut.Flip.config_mutex_wait":0.007,"VideoOut.Flip.frame_limit":0.031,"VideoOut.Flip.notify_game":4.93,"VideoOut.Flip.present":430.32,"VideoOut.Flip.validate":0.067,"VideoOut.Flip.vblank_wait":0.036,"VideoOut.Flip.window_prepare":0.084,"VideoOut.Flip.window_title":2.905,"VideoOut.Readiness":0.131,"VideoOut.Readiness.locks_validate":0.057,"Vulkan.Acquire":0.639,"Vulkan.Acquire.acquire_fence_wait":0.117,"Vulkan.Acquire.acquire_image":0.368,"Vulkan.Acquire.fence_reset":0.104,"Vulkan.Acquire.retired_swapchains":0.031,"Vulkan.ComputePipeline":3.629,"Vulkan.Dispatch":2936.202,"Vulkan.Dispatch.command_record":136.488,"Vulkan.Dispatch.shader_resources":2790.609,"Vulkan.DispatchRecipe":428.882,"Vulkan.DispatchRecipe.command_record":421.709,"Vulkan.DrawFromRecipe":2187.839,"Vulkan.Present":6.173,"Vulkan.Present.command_record_scale":2.354,"Vulkan.Present.pixel_upload":0.157,"Vulkan.Present.queue_submit":3.604,"Vulkan.QueuePresent":19.877,"Vulkan.QueuePresent.queue_present":19.781,"Vulkan.Retire":3.163,"Vulkan.Retire.wait":2.703},"top_phases_ms_per_frame":{"Shader.PrepareArtifact":1562.227,"Driver.Packet":1392.162,"Driver.Packet.memory_wait":715.809,"Driver.Packet.dispatch":570.192,"Driver.Dispatch":559.853,"Driver.Dispatch.materialize":367.952,"Driver.Dispatch.decode_key_device_setup":69.62,"Driver.Packet.prepare_memory":51.258},"owned_draw_counts":{},"graphics_track":{"Graphics.Barrier.copy":956,"Graphics.Barrier.dcc-clear":816,"Graphics.Barrier.dcc-keys":556,"Graphics.Barrier.dispatch-lead":6436,"Graphics.Barrier.dispatch-trail":10296,"Graphics.Barrier.draw":3484,"Graphics.Barrier.fill":1247,"Graphics.Barrier.fill-clear":1186,"Graphics.Barrier.indirect-args":1229,"Graphics.Barrier.input-mirror":21,"Graphics.Barrier.label-run":6271,"Graphics.Barrier.present-blit":120,"Graphics.Barrier.shadow-publish":762,"Graphics.Barrier.staging-in":3444,"Graphics.Barrier.staging-out":1643,"Graphics.Barrier.storage-upload":7216,"Graphics.Barrier.storage-writeback":17583,"Graphics.Barrier.template-refresh":7,"Graphics.BarrierMerged.copy":161,"Graphics.BarrierMerged.dispatch-lead":6318,"Graphics.BarrierMerged.fill":721,"Graphics.BarrierMerged.label-run":10,"Graphics.BarrierMerged.shadow-publish":418,"Graphics.BarrierMerged.staging-in":1474,"Graphics.BarrierMerged.staging-out":1643,"Graphics.BarrierMerged.storage-writeback":2108,"Graphics.Copy":9769,"Graphics.Copy.bytes":12194477994,"Graphics.RenderPass":1787,"Graphics.RenderPass.Close.command":1201,"Graphics.RenderPass.Close.image":262,"Graphics.RenderPass.Close.key":192,"Graphics.RenderPass.Close.label":10,"Graphics.RenderPass.Close.new-batch":122,"Graphics.RenderPass.Continued":59},"trace_dropped":false,"trace":"aps5-trace-d659b60f2d3c-74308.json.gz"}

A2r
{"commit":"abc3e4a6920b","dirty":false,"env":{"APS5_HOST_IMPORT_MIB":"16384","APS5_NO_SNAPSHOT_CHECK":"1","APS5_PAD_INPUT_FILE":"<path>","APS5_PREPARED_SPIRV_MIB":"6144","APS5_PROFILE_DRAW":"1","APS5_STAGING_POOL_MIB":"2048","APS5_TRACE_DIR":"<path>","APS5_TRACE_FRAMES":"250:60","APS5_TRACE_SUMMARY_EVERY":"30"},"gpu":"NVIDIA GeForce RTX 4090","driver":"NVIDIA 617.42","os":"Windows 10.0.26300","cpu":"13th Gen Intel(R) Core(TM) i9-13900K","cpu_threads":32,"memory_mib":32476,"title_id":"PPSA26344","title":"Ghost of Yōtei","content_version":"01.008.000","resolution":"3840x2160","window":{"spec":"frames 250:60","first_present":250,"ms":39047.259},"presents":60,"frame_ms":{"p50":196.996,"p90":1852.496,"p99":8296.07,"max":8296.07},"gpu_busy_ms_per_present":89.937,"worker_busy_pct":{"queue worker 0x0":92.046,"queue worker 0x52":0.904,"queue worker 0x53":0.0,"queue worker 0x20":31.961,"queue worker 0x38":52.328,"queue worker 0x30":57.001,"queue worker 0x48":16.091},"phase_totals_ms":{"Driver.Completion":0.996,"Driver.Dispatch":38413.744,"Driver.Dispatch.capture_resources":1104.11,"Driver.Dispatch.decode_key_device_setup":4338.925,"Driver.Dispatch.lookup_cache":238.043,"Driver.Dispatch.materialize":25207.715,"Driver.Dispatch.prepared_invocation":20.354,"Driver.Draw":3067.917,"Driver.Draw.device_setup":5.098,"Driver.Draw.draw_enqueued":40.686,"Driver.Draw.post_compile_prepare":0.598,"Driver.Draw.prepare":16.73,"Driver.Draw.shader_compile_and_link":3003.267,"Driver.EndSubmission":165.49,"Driver.Packet":97581.012,"Driver.Packet.device_lock":5.737,"Driver.Packet.dispatch":39199.677,"Driver.Packet.draw":3069.17,"Driver.Packet.execute":195.658,"Driver.Packet.flip_flush":7.575,"Driver.Packet.flush_between_packets":474.662,"Driver.Packet.memory_wait":50340.162,"Driver.Packet.pipeline_drain":801.512,"Driver.Packet.pipeline_prepare":9.059,"Driver.Packet.prepare_memory":3402.309,"Driver.Packet.rendering_wait":0.102,"Driver.Present":406.73,"Driver.Present.acquire_image":0.661,"Driver.Present.device_setup":0.027,"Driver.Present.gpu_mutex_wait":0.191,"Driver.Present.inflight_wait":0.15,"Driver.Present.present_display_buffer":380.871,"Driver.Present.queue_present":22.939,"Driver.Present.release_and_callback":0.068,"Driver.Present.render_fence_wait":1.631,"Driver.Present.resize":0.1,"Driver.Present.validate":0.02,"Driver.Suspend":0.015,"GpuMutex.wait.copy":135.238,"GpuMutex.wait.dispatch":911.266,"GpuMutex.wait.draw":65.125,"GpuMutex.wait.end":69.046,"GpuMutex.wait.fill":223.444,"GpuMutex.wait.flush":448.035,"GpuMutex.wait.hook":883.88,"GpuMutex.wait.indirect":131.224,"GpuMutex.wait.label":325.64,"GpuMutex.wait.other":1923.926,"GpuMutex.wait.present":0.064,"GpuMutex.wait.wait":1.063,"Graphics.Draw":1856.697,"Graphics.Draw.draw_and_resource_release":1802.977,"Graphics.Draw.index_upload":7.773,"Graphics.Draw.validate":13.018,"Graphics.Draw.vertex_upload":32.055,"Graphics.DrawWithRecipe":2090.151,"Graphics.DrawWithRecipe.draw_and_resource_release":156.028,"Graphics.DrawWithRecipe.index_upload":0.155,"Graphics.DrawWithRecipe.validate":0.988,"Graphics.DrawWithRecipe.vertex_upload":0.647,"Graphics.Submit":10.869,"Graphics.Submit.command_end":0.671,"Graphics.Submit.queue_submit":10.08,"Graphics.Wait":1197.644,"Graphics.Wait.fence_wait":1195.232,"Recorder.Reap":19.145,"Recorder.Submit":245.418,"Recorder.Sync":470.4,"Recorder.WaitSerial":435.287,"Resources.Complete":2468.172,"Resources.Prepare":694.427,"Shader.DrawStage":2986.294,"Shader.DrawStage.capture_resources":30.443,"Shader.DrawStage.materialize":2858.46,"Shader.DrawStage.prepared_invocation":97.174,"Shader.PrepareArtifact":82463.237,"Shader.Register":2022.462,"Shader.ResolveAbi":33.883,"Shader.ResolveGraphicsAbi":1.942,"Shader.ResolveGraphicsStagesAbi":75.813,"VideoOut.Flip":415.263,"VideoOut.Flip.completion_mutex_wait":0.063,"VideoOut.Flip.config_mutex_wait":0.007,"VideoOut.Flip.frame_limit":0.03,"VideoOut.Flip.notify_game":4.171,"VideoOut.Flip.present":407.367,"VideoOut.Flip.validate":0.063,"VideoOut.Flip.vblank_wait":0.037,"VideoOut.Flip.window_prepare":0.081,"VideoOut.Flip.window_title":3.385,"VideoOut.Readiness":0.12,"VideoOut.Readiness.locks_validate":0.053,"Vulkan.Acquire":0.607,"Vulkan.Acquire.acquire_fence_wait":0.11,"Vulkan.Acquire.acquire_image":0.354,"Vulkan.Acquire.fence_reset":0.096,"Vulkan.Acquire.retired_swapchains":0.028,"Vulkan.Dispatch":3732.856,"Vulkan.Dispatch.command_record":265.576,"Vulkan.Dispatch.shader_resources":3443.688,"Vulkan.DispatchRecipe":343.334,"Vulkan.DispatchRecipe.command_record":340.122,"Vulkan.DrawFromRecipe":2091.009,"Vulkan.Present":5.932,"Vulkan.Present.command_record_scale":2.216,"Vulkan.Present.pixel_upload":0.147,"Vulkan.Present.queue_submit":3.518,"Vulkan.QueuePresent":22.688,"Vulkan.QueuePresent.queue_present":22.596,"Vulkan.Retire":1.611,"Vulkan.Retire.wait":1.019},"top_phases_ms_per_frame":{"Driver.Packet":1626.35,"Shader.PrepareArtifact":1374.387,"Driver.Packet.memory_wait":839.003,"Driver.Packet.dispatch":653.328,"Driver.Dispatch":640.229,"Driver.Dispatch.materialize":420.129,"Driver.Dispatch.decode_key_device_setup":72.315,"Vulkan.Dispatch":62.214},"owned_draw_counts":{},"graphics_track":{"Graphics.Barrier.copy":1301,"Graphics.Barrier.dcc-clear":904,"Graphics.Barrier.dcc-keys":528,"Graphics.Barrier.dispatch-lead":8684,"Graphics.Barrier.dispatch-trail":13813,"Graphics.Barrier.draw":3990,"Graphics.Barrier.fill":1287,"Graphics.Barrier.fill-clear":1230,"Graphics.Barrier.indirect-args":1263,"Graphics.Barrier.input-mirror":30,"Graphics.Barrier.label-run":6615,"Graphics.Barrier.present-blit":120,"Graphics.Barrier.shadow-publish":879,"Graphics.Barrier.staging-in":9837,"Graphics.Barrier.staging-out":4000,"Graphics.Barrier.storage-upload":10040,"Graphics.Barrier.storage-writeback":23989,"Graphics.Barrier.template-refresh":18,"Graphics.BarrierMerged.copy":138,"Graphics.BarrierMerged.dispatch-lead":7655,"Graphics.BarrierMerged.fill":691,"Graphics.BarrierMerged.label-run":17,"Graphics.BarrierMerged.shadow-publish":485,"Graphics.BarrierMerged.staging-in":2080,"Graphics.BarrierMerged.staging-out":3952,"Graphics.BarrierMerged.storage-writeback":2280,"Graphics.Copy":16267,"Graphics.Copy.bytes":25484171350,"Graphics.RenderPass":1995,"Graphics.RenderPass.Close.command":1346,"Graphics.RenderPass.Close.image":294,"Graphics.RenderPass.Close.key":191,"Graphics.RenderPass.Close.label":17,"Graphics.RenderPass.Close.new-batch":147,"Graphics.RenderPass.Continued":67},"trace_dropped":false,"trace":"aps5-trace-abc3e4a6920b-68724.json.gz"}

The six traces are available on request.

Cold, not part of the claim: two cold runs of this branch with the switch unset and set (APS5_EAGER_UNSIGNED_PACKED32_MODES), both stopped at the 3000 s cap before f850. The first large compute program in the unset run has 1.238M SPIR-V words and takes 112 s to prepare, with the switch set 1.581M words and 142 s (-22 % words, -30 s). Frame times were equal up to f640. These two runs differ only by the switch on one binary; main was measured only in the warm runs above.

Checklist

  • Based on current main (0c2fee0b6f merged in); no other open PR implements the same functions (tools/pr_overlap.py --branch HEAD fails closed: it could not confirm overlap with the open PRs that touch the same files, mostly tests/ShaderMemory.cpp, CacheKey.hpp, Recompiler.hpp and docs/dev/ENVIRONMENT.md; gh search prs for packed32, 10_11_11, unsigned packed and table image modes finds none that prepares table-image packed 32-bit unsigned modes at use)
  • 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 (none added)
  • 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 (none added)
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: NVIDIA GeForce RTX 4090, driver 617.42, Windows 11 (10.0.26300)
  • AI-assisted: yes

Depends on: none
AI-assisted: yes

🤖 Generated with Claude Code

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5418564861 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/24523). Originally posted by [Pipodi](https://github.com/Pipodi) on 2026-11-20T18:46:41Z. --- ### What Image-table images (a T# fetched through a descriptor table) listed the 10_11_11 and 2_10_10_10 UInt and UNorm image modes (formats 37, 41, 44, 48) in every shader from the start, which adds the SPIR-V of those conversion modes to every table-image shader. The preparation now lists them only after a captured table column held one of those formats, read from the converted GCN words, and prepares the program again with them. The retry counter and the new per-image flag are part of the shader cache key and the disk-cache image record. Direct images and the older packed modes stay eager. `APS5_EAGER_UNSIGNED_PACKED32_MODES` restores the eager lists on every table image. Commits: `perf(shader)` (change), `test(shader)` (nested column trigger, cache key, GCN table entries of the packed formats, retry for table images, run with and without the eager switch), `docs(shader)` (ENVIRONMENT.md row and debt fragment), `test(agc)` (`_putenv_s` on Windows in `UploadCacheReadOnlyFlush.cpp`, main's test does not build on MinGW without it). After the second main merge: `fix(shader)` (the `ShaderDiskCache.cpp` `ImageResource` field count, 53). Debt entries added in the fragment `docs/dev/debt/changes/perf-table-packed32-modes-at-use.md` (shader.md, Functional, four entries): - per-column trigger: a program whose snapshot has a flagged column is prepared twice, nothing is kept across runs, the bindless heap path never triggers; - the retry flag is per program, not per image; - a column that holds only the UNORM codes (37, 44) on an image that is not sRGB-decode compatible still costs one retry for no added mode; - a memoised column keeps the flag computed under the GCN guest shader setting of the capture that sealed it. Both sides compile about 50-100 churned or first-seen compute shaders per warm run on background prepare threads (main's own behaviour; those prepares start before the capture window). ### Tested Windows 11, Ghost of Yōtei (PPSA26344), RTX 4090, NVIDIA 617.42, 3840x2160, i9-13900K. Main `7eb79b0c48f` and then main `0c2fee0b6f` are merged into the branch (no rewrite of the pushed commits). The first merge kept both sides of two conflicts: main's `ImageTableColumnSnapshot::pointerKeyed` next to this PR's `unsignedPacked32`, and main's `verifySpannedShuffleThroughMemory` next to this PR's packed32 tests in `tests/ShaderMemory.cpp`. The second merge (`9278f24312`) kept both sides of the Windows test list in `tests/cmake/agc_shader_memory_tests.cmake`; main's `ImageResource::overwrite` and this PR's `unsignedPacked32Modes` had each moved the `ShaderDiskCache.cpp` field count to 52, so `440da2025b` sets it to 53. Build, ctest and the validation layer below are `440da2025b` against plain main `0c2fee0b6f` (the validation layer on main: `7eb79b0c48f`). The performance captures were taken earlier: A is plain main `abc3e4a6920`, B is the branch at `d659b60f2d3`, the same four commits on that base, so the A/B pair is on the PR's own former base; every measurement below used main `abc3e4a6920`, none was repeated on `7eb79b0c48f` or `0c2fee0b6f`. `git diff abc3e4a6920 d659b60f2d3 --stat` is the 19 files, 455 insertions, 7 deletions of this PR. Build and ctest (`440da2025b`, MinGW Release): BUILD OK, 6878 tests, 2 failed: `agc_driver_linear_target_import_creation` and `agc_driver_store_over_untracked`. Both also fail on plain main `0c2fee0b6f` rebuilt on the same machine. The two new tests (`agc_shader_unsigned_packed32_modes`, `agc_shader_unsigned_packed32_modes_eager`) pass. Before the second merge, `6254c642f6b` had 6717 tests with 1 failed, and plain main `7eb79b0c48f` 6715 with the same 1 failed (`agc_storage_write_back_host_retile`). Validation layer (`440da2025b` and `6254c642f6b`, plain main `7eb79b0c48f`), same machine, `ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation VK_LOADER_DEBUG=layer`, `ctest -R <the 98 image and shader tests that touch tables or packed modes> -V`: `Insert instance layer "VK_LAYER_KHRONOS_validation" (C:\VulkanSDK\1.4.363.0\Bin\VkLayer_khronos_validation.dll)` 37 times in each log (including `440da2025b`), no `was not found but was requested by env var VK_INSTANCE_LAYERS`. main: 96 of 96 passed (the same list without the tests main does not have), PR: 98 of 98 passed on both commits, including `agc_shader_unsigned_packed32_modes` and `agc_shader_unsigned_packed32_modes_eager`. `VUID-` count 0 in both. The same run on `abc3e4a6920`, `0a025bd3c6a` and `c8f72e905cc` (each with this PR and plain) gave the same result. Performance, second warm set A1r/B1r/A2r on main `abc3e4a6920` (2026-11-20 01:00, idle machine). Same builds, caches (`m1119a`, `o2n1119`, not refilled), scene, settings and window as the first set below; order A1r, B1r, A2r. No capture in this set has the long `memory_wait` stall of the first set (longest frame 8.1-8.3 s in all three). | capture | commit | window s | frame p50 ms | p90 ms | longest frame ms | gpu_busy ms/present | busiest worker % | Driver.Draw.shader_compile_and_link ms | |---|---|---|---|---|---|---|---|---| | A1r | abc3e4a6920b | 37.5 | 181.7 | 1872.9 | 8264 | 83.0 | 87.0 | 1879 | | B1r | d659b60f2d3c | 32.6 | 176.3 | 1211.7 | 8094 | 85.1 | 96.7 | 1629 | | A2r | abc3e4a6920b | 39.0 | 197.0 | 1852.5 | 8296 | 89.9 | 92.0 | 3003 | | ms per present (phase total / presents) | A1r | B1r | A2r | |---|---|---|---| | Driver.Packet | 1448.4 | 1392.2 | 1626.4 | | Driver.Packet.memory_wait | 745.1 | 715.8 | 839.0 | | Driver.Packet.dispatch | 593.9 | 570.2 | 653.3 | | Driver.Dispatch.materialize | 384.3 | 368.0 | 420.1 | | Driver.Draw.shader_compile_and_link | 31.3 | 27.1 | 50.1 | | Shader.PrepareArtifact | 2587.9 | 1562.2 | 1374.4 | | Vulkan.ComputePipeline | 0.0 | 0.1 | 0.0 | In this set B1r is below both A runs on window length (32.6 s against 37.5 and 39.0 s, -13 % and -16 %), p90 and `shader_compile_and_link` (1629 ms against 1879 and 3003 ms, -13 % and -46 %). `Shader.PrepareArtifact` inside the window still differs between runs (B1r lies between A1r and A2r), so part of the window gap can come from which programs are prepared in it. A2 is the slowest A run in both sets. Performance, first warm set A1/B1/A2 on main `abc3e4a6920` (2026-11-19, idle machine). A = plain main build `abc3e4a6920` (cache `m1119a`), B = this branch `d659b60f2d3` (cache `o2n1119`), same title, scene, machine and settings, `APS5_TRACE_FRAMES=250:60`, `APS5_PROFILE_DRAW=1`, no other trace switches, window f250:60. The caches were filled by one cold run of each build to f330 before the captures; order A1, B1, A2. | capture | commit | window s | frame p50 ms | p90 ms | longest frame ms | gpu_busy ms/present | busiest worker % | Driver.Draw.shader_compile_and_link ms | |---|---|---|---|---|---|---|---|---| | A1 | abc3e4a6920b | 76.2 | 187.8 | 1410.0 | 49845 | 77.9 | 97.1 | 2046 | | B1 | d659b60f2d3c | 95.3 | 194.0 | 1792.3 | 65525 | 83.8 | 97.8 | 2786 | | A2 | abc3e4a6920b | 37.4 | 185.2 | 1696.6 | 8198 | 80.1 | 92.0 | 3050 | The window is one long frame (A1 49.8 s, B1 65.5 s, A2 8.2 s, a `Driver.Packet.memory_wait` on queue worker 0x0 in every capture), so window length and p90 are dominated by that stall and do not separate A from B: B1 is slower than both A1 and A2 on window length and p90. On `Driver.Draw.shader_compile_and_link`, the metric this PR targets, B1 (2786 ms) is 36 % above A1 (2046 ms) and 9 % below A2 (3050 ms), so one A run is better and one worse than B; these three captures do not show the PR reducing shader compile time or frame time, and I do not claim a runtime gain from them. The PR removes SPIR-V from table-image shaders (see the debt and the new tests); the captured window does not show it. B1 also contains a 57 s `Vulkan.ComputePipeline` total (958 ms per present) that A1 and A2 do not have, and A1 and A2 carry `Shader.PrepareArtifact` totals of 42 s and 118 s that B1 does not (15 ms): which large compute programs are prepared inside the window differs between runs, and I have not isolated that from the effect of this change. `tools/trace_digest.py` phase totals divided by the 60 presents of the window (sums over all threads, so they can exceed the frame time): | ms per present (phase total / presents) | A1 | B1 | A2 | |---|---|---|---| | Driver.Packet | 2830.1 | 3551.3 | 1575.9 | | Driver.Packet.memory_wait | 1444.3 | 1791.4 | 789.7 | | Driver.Packet.dispatch | 1278.2 | 1633.7 | 658.7 | | Driver.Dispatch.materialize | 388.6 | 441.8 | 426.9 | | Driver.Draw.shader_compile_and_link | 34.1 | 46.4 | 50.8 | | Shader.PrepareArtifact | 700.8 | 0.2 | 1966.5 | | Vulkan.ComputePipeline | 0.0 | 958.2 | 0.8 | Queue worker 0x0 (the hottest thread) is 97.1 / 97.8 / 92.0 % busy in A1 / B1 / A2; Earlier set on `d426f6a6d5` (A3-A5 main, B3-B4 branch, 2026-11-18, different base): `shader_compile_and_link` 1946-1989 ms on main, 1686-1703 ms on the branch, windows 39.6-42.3 s against 37.0-38.6 s; one more branch capture (B2) ran 15.1 s and is not explained. The 11-18 set and the 11-20 set point the same way as the hypothesis; the 11-19 first set, where A1 and B1 each carry one 50-65 s stall, does not separate A from B. A runtime reduction in `shader_compile_and_link` or window time is a hypothesis, not a result: the 11-19 set is dominated by the stalls, the 11-20 set has one branch capture between two main captures with different in-window `Shader.PrepareArtifact` totals, and no set isolates shader preparation and compilation. What the PR shows is the smaller SPIR-V of table-image shaders (new tests, and the cold word counts below). No compile-time number is claimed for this PR, so there are no raw compile timings or module SHA-256 lists; the SPIR-V word counts in the cold paragraph below are the only offline measurement, and they come from the branch alone. <details><summary>Summary lines (A1, B1, A2)</summary> ``` A1 {"commit":"abc3e4a6920b","dirty":false,"env":{"APS5_HOST_IMPORT_MIB":"16384","APS5_NO_SNAPSHOT_CHECK":"1","APS5_PAD_INPUT_FILE":"<path>","APS5_PREPARED_SPIRV_MIB":"6144","APS5_PROFILE_DRAW":"1","APS5_STAGING_POOL_MIB":"2048","APS5_TRACE_DIR":"<path>","APS5_TRACE_FRAMES":"250:60","APS5_TRACE_SUMMARY_EVERY":"30"},"gpu":"NVIDIA GeForce RTX 4090","driver":"NVIDIA 617.42","os":"Windows 10.0.26300","cpu":"13th Gen Intel(R) Core(TM) i9-13900K","cpu_threads":32,"memory_mib":32476,"title_id":"PPSA26344","title":"Ghost of Yōtei","content_version":"01.008.000","resolution":"3840x2160","window":{"spec":"frames 250:60","first_present":250,"ms":76173.227},"presents":60,"frame_ms":{"p50":187.836,"p90":1410.000,"p99":49845.155,"max":49845.155},"gpu_busy_ms_per_present":77.947,"worker_busy_pct":{"queue worker 0x0":97.064,"queue worker 0x52":0.571,"queue worker 0x20":14.124,"queue worker 0x53":0.000,"queue worker 0x30":80.749,"queue worker 0x38":24.239,"queue worker 0x48":6.458},"phase_totals_ms":{"Driver.Completion":1.051,"Driver.Dispatch":76025.980,"Driver.Dispatch.capture_resources":749.798,"Driver.Dispatch.decode_key_device_setup":4003.883,"Driver.Dispatch.lookup_cache":223.651,"Driver.Dispatch.materialize":23314.297,"Driver.Dispatch.prepared_invocation":14.448,"Driver.Draw":2092.118,"Driver.Draw.device_setup":5.080,"Driver.Draw.draw_enqueued":23.305,"Driver.Draw.post_compile_prepare":0.545,"Driver.Draw.prepare":15.277,"Driver.Draw.shader_compile_and_link":2046.428,"Driver.EndSubmission":216.022,"Driver.Packet":169805.316,"Driver.Packet.device_lock":5.173,"Driver.Packet.dispatch":76690.085,"Driver.Packet.draw":2093.345,"Driver.Packet.execute":272.176,"Driver.Packet.flip_flush":2.708,"Driver.Packet.flush_between_packets":563.941,"Driver.Packet.memory_wait":86659.443,"Driver.Packet.pipeline_drain":612.799,"Driver.Packet.pipeline_prepare":7.621,"Driver.Packet.prepare_memory":2849.126,"Driver.Packet.rendering_wait":0.168,"Driver.Present":433.281,"Driver.Present.acquire_image":0.700,"Driver.Present.device_setup":0.028,"Driver.Present.gpu_mutex_wait":0.138,"Driver.Present.inflight_wait":0.153,"Driver.Present.present_display_buffer":411.998,"Driver.Present.queue_present":18.959,"Driver.Present.release_and_callback":0.074,"Driver.Present.render_fence_wait":1.028,"Driver.Present.resize":0.111,"Driver.Present.validate":0.017,"Driver.Suspend":0.018,"GpuMutex.wait.copy":181.654,"GpuMutex.wait.dispatch":806.431,"GpuMutex.wait.draw":47.773,"GpuMutex.wait.end":160.954,"GpuMutex.wait.fill":201.633,"GpuMutex.wait.flush":552.673,"GpuMutex.wait.hook":514.628,"GpuMutex.wait.indirect":138.362,"GpuMutex.wait.label":404.176,"GpuMutex.wait.other":1843.533,"GpuMutex.wait.present":0.025,"GpuMutex.wait.wait":0.177,"Graphics.Draw":1487.947,"Graphics.Draw.draw_and_resource_release":1472.680,"Graphics.Draw.index_upload":3.469,"Graphics.Draw.validate":8.243,"Graphics.Draw.vertex_upload":2.877,"Graphics.DrawWithRecipe":2036.568,"Graphics.DrawWithRecipe.draw_and_resource_release":167.136,"Graphics.DrawWithRecipe.index_upload":1.217,"Graphics.DrawWithRecipe.validate":1.074,"Graphics.DrawWithRecipe.vertex_upload":0.796,"Graphics.Submit":0.979,"Graphics.Submit.command_end":0.115,"Graphics.Submit.queue_submit":0.842,"Graphics.Wait":381.618,"Graphics.Wait.fence_wait":379.229,"Recorder.Reap":24.511,"Recorder.Submit":143.429,"Recorder.Sync":345.679,"Recorder.WaitSerial":364.843,"Resources.Complete":2278.035,"Resources.Prepare":845.075,"Shader.DrawStage":2030.775,"Shader.DrawStage.capture_resources":40.015,"Shader.DrawStage.materialize":1937.264,"Shader.DrawStage.prepared_invocation":53.330,"Shader.PrepareArtifact":42046.688,"Shader.Register":478.830,"Shader.ResolveAbi":38.228,"Shader.ResolveGraphicsAbi":1.548,"Shader.ResolveGraphicsStagesAbi":56.344,"VideoOut.Flip":440.747,"VideoOut.Flip.completion_mutex_wait":0.069,"VideoOut.Flip.config_mutex_wait":0.007,"VideoOut.Flip.frame_limit":0.032,"VideoOut.Flip.notify_game":3.742,"VideoOut.Flip.present":433.779,"VideoOut.Flip.validate":0.063,"VideoOut.Flip.vblank_wait":0.034,"VideoOut.Flip.window_prepare":0.085,"VideoOut.Flip.window_title":2.877,"VideoOut.Readiness":0.127,"VideoOut.Readiness.locks_validate":0.055,"Vulkan.Acquire":0.644,"Vulkan.Acquire.acquire_fence_wait":0.115,"Vulkan.Acquire.acquire_image":0.374,"Vulkan.Acquire.fence_reset":0.106,"Vulkan.Acquire.retired_swapchains":0.029,"Vulkan.Dispatch":3236.213,"Vulkan.Dispatch.command_record":164.157,"Vulkan.Dispatch.shader_resources":3056.456,"Vulkan.DispatchRecipe":398.395,"Vulkan.DispatchRecipe.command_record":397.488,"Vulkan.DrawFromRecipe":2037.377,"Vulkan.Present":6.047,"Vulkan.Present.command_record_scale":2.476,"Vulkan.Present.pixel_upload":0.166,"Vulkan.Present.queue_submit":3.349,"Vulkan.QueuePresent":18.684,"Vulkan.QueuePresent.queue_present":18.594,"Vulkan.Retire":1.008,"Vulkan.Retire.wait":0.542},"top_phases_ms_per_frame":{"Driver.Packet":2830.089,"Driver.Packet.memory_wait":1444.324,"Driver.Packet.dispatch":1278.168,"Driver.Dispatch":1267.100,"Shader.PrepareArtifact":700.778,"Driver.Dispatch.materialize":388.572,"Driver.Dispatch.decode_key_device_setup":66.731,"Vulkan.Dispatch":53.937},"owned_draw_counts":{},"graphics_track":{"Graphics.Barrier.copy":1130,"Graphics.Barrier.dcc-clear":778,"Graphics.Barrier.dcc-keys":542,"Graphics.Barrier.dispatch-lead":7119,"Graphics.Barrier.dispatch-trail":11338,"Graphics.Barrier.draw":3646,"Graphics.Barrier.fill":1265,"Graphics.Barrier.fill-clear":1206,"Graphics.Barrier.indirect-args":1241,"Graphics.Barrier.input-mirror":23,"Graphics.Barrier.label-run":6304,"Graphics.Barrier.present-blit":120,"Graphics.Barrier.shadow-publish":815,"Graphics.Barrier.staging-in":5718,"Graphics.Barrier.staging-out":2488,"Graphics.Barrier.storage-upload":7710,"Graphics.Barrier.storage-writeback":18647,"Graphics.Barrier.template-refresh":11,"Graphics.BarrierMerged.copy":176,"Graphics.BarrierMerged.dispatch-lead":6701,"Graphics.BarrierMerged.fill":707,"Graphics.BarrierMerged.label-run":17,"Graphics.BarrierMerged.shadow-publish":469,"Graphics.BarrierMerged.staging-in":1683,"Graphics.BarrierMerged.staging-out":2454,"Graphics.BarrierMerged.storage-writeback":2103,"Graphics.Copy":11771,"Graphics.Copy.bytes":12063521800,"Graphics.RenderPass":1833,"Graphics.RenderPass.Close.command":1251,"Graphics.RenderPass.Close.image":247,"Graphics.RenderPass.Close.key":192,"Graphics.RenderPass.Close.label":17,"Graphics.RenderPass.Close.new-batch":126,"Graphics.RenderPass.Continued":59},"trace_dropped":false,"trace":"aps5-trace-abc3e4a6920b-65028.json.gz"} B1 {"commit":"d659b60f2d3c","dirty":false,"env":{"APS5_HOST_IMPORT_MIB":"16384","APS5_NO_SNAPSHOT_CHECK":"1","APS5_PAD_INPUT_FILE":"<path>","APS5_PREPARED_SPIRV_MIB":"6144","APS5_PROFILE_DRAW":"1","APS5_STAGING_POOL_MIB":"2048","APS5_TRACE_DIR":"<path>","APS5_TRACE_FRAMES":"250:60","APS5_TRACE_SUMMARY_EVERY":"30"},"gpu":"NVIDIA GeForce RTX 4090","driver":"NVIDIA 617.42","os":"Windows 10.0.26300","cpu":"13th Gen Intel(R) Core(TM) i9-13900K","cpu_threads":32,"memory_mib":32476,"title_id":"PPSA26344","title":"Ghost of Yōtei","content_version":"01.008.000","resolution":"3840x2160","window":{"spec":"frames 250:60","first_present":250,"ms":95252.241},"presents":60,"frame_ms":{"p50":194.048,"p90":1792.282,"p99":65525.155,"max":65525.155},"gpu_busy_ms_per_present":83.782,"worker_busy_pct":{"queue worker 0x0":97.779,"queue worker 0x52":0.386,"queue worker 0x53":0.000,"queue worker 0x20":13.523,"queue worker 0x38":21.686,"queue worker 0x30":83.447,"queue worker 0x48":6.980},"phase_totals_ms":{"Driver.Completion":0.749,"Driver.Dispatch":97207.240,"Driver.Dispatch.capture_resources":1031.322,"Driver.Dispatch.decode_key_device_setup":4135.649,"Driver.Dispatch.lookup_cache":236.828,"Driver.Dispatch.materialize":26509.700,"Driver.Dispatch.prepared_invocation":18.553,"Driver.Draw":2856.406,"Driver.Draw.device_setup":5.011,"Driver.Draw.draw_enqueued":47.570,"Driver.Draw.post_compile_prepare":0.566,"Driver.Draw.prepare":15.999,"Driver.Draw.shader_compile_and_link":2785.912,"Driver.EndSubmission":97.284,"Driver.Packet":213077.388,"Driver.Packet.device_lock":5.222,"Driver.Packet.dispatch":98019.895,"Driver.Packet.draw":2857.637,"Driver.Packet.execute":200.700,"Driver.Packet.flip_flush":5.077,"Driver.Packet.flush_between_packets":485.282,"Driver.Packet.memory_wait":107485.774,"Driver.Packet.pipeline_drain":814.538,"Driver.Packet.pipeline_prepare":8.124,"Driver.Packet.prepare_memory":3076.774,"Driver.Packet.rendering_wait":0.117,"Driver.Present":458.221,"Driver.Present.acquire_image":0.631,"Driver.Present.device_setup":0.027,"Driver.Present.gpu_mutex_wait":0.315,"Driver.Present.inflight_wait":0.144,"Driver.Present.present_display_buffer":433.814,"Driver.Present.queue_present":21.563,"Driver.Present.release_and_callback":0.079,"Driver.Present.render_fence_wait":1.451,"Driver.Present.resize":0.104,"Driver.Present.validate":0.020,"Driver.Suspend":0.015,"GpuMutex.wait.copy":135.676,"GpuMutex.wait.dispatch":1083.863,"GpuMutex.wait.draw":147.278,"GpuMutex.wait.end":62.153,"GpuMutex.wait.fill":170.930,"GpuMutex.wait.flush":499.470,"GpuMutex.wait.hook":974.423,"GpuMutex.wait.indirect":150.496,"GpuMutex.wait.label":385.272,"GpuMutex.wait.other":2528.311,"GpuMutex.wait.present":0.210,"GpuMutex.wait.wait":0.084,"Graphics.Draw":1912.724,"Graphics.Draw.draw_and_resource_release":1892.395,"Graphics.Draw.index_upload":4.692,"Graphics.Draw.validate":11.707,"Graphics.Draw.vertex_upload":3.080,"Graphics.DrawWithRecipe":2013.572,"Graphics.DrawWithRecipe.draw_and_resource_release":158.019,"Graphics.DrawWithRecipe.index_upload":0.156,"Graphics.DrawWithRecipe.validate":0.957,"Graphics.DrawWithRecipe.vertex_upload":0.841,"Graphics.Submit":1.393,"Graphics.Submit.command_end":0.131,"Graphics.Submit.queue_submit":1.239,"Graphics.Wait":384.750,"Graphics.Wait.fence_wait":382.700,"Recorder.Reap":32.324,"Recorder.Submit":244.790,"Recorder.Sync":398.250,"Recorder.WaitSerial":360.721,"Resources.Complete":2317.723,"Resources.Prepare":815.737,"Shader.DrawStage":2770.385,"Shader.DrawStage.capture_resources":41.427,"Shader.DrawStage.materialize":2650.996,"Shader.DrawStage.prepared_invocation":77.752,"Shader.PrepareArtifact":14.847,"Shader.Register":394.542,"Shader.ResolveAbi":31.114,"Shader.ResolveGraphicsAbi":1.925,"Shader.ResolveGraphicsStagesAbi":81.147,"VideoOut.Flip":468.024,"VideoOut.Flip.completion_mutex_wait":0.057,"VideoOut.Flip.config_mutex_wait":0.009,"VideoOut.Flip.frame_limit":0.032,"VideoOut.Flip.notify_game":5.533,"VideoOut.Flip.present":458.899,"VideoOut.Flip.validate":0.070,"VideoOut.Flip.vblank_wait":0.034,"VideoOut.Flip.window_prepare":0.086,"VideoOut.Flip.window_title":3.230,"VideoOut.Readiness":0.143,"VideoOut.Readiness.locks_validate":0.078,"Vulkan.Acquire":0.577,"Vulkan.Acquire.acquire_fence_wait":0.105,"Vulkan.Acquire.acquire_image":0.335,"Vulkan.Acquire.fence_reset":0.093,"Vulkan.Acquire.retired_swapchains":0.027,"Vulkan.ComputePipeline":57493.008,"Vulkan.Dispatch":4050.582,"Vulkan.Dispatch.command_record":219.804,"Vulkan.Dispatch.shader_resources":3819.052,"Vulkan.DispatchRecipe":311.566,"Vulkan.DispatchRecipe.command_record":309.793,"Vulkan.DrawFromRecipe":2014.388,"Vulkan.Present":6.967,"Vulkan.Present.command_record_scale":2.346,"Vulkan.Present.pixel_upload":0.155,"Vulkan.Present.queue_submit":4.419,"Vulkan.QueuePresent":21.322,"Vulkan.QueuePresent.queue_present":21.245,"Vulkan.Retire":1.433,"Vulkan.Retire.wait":0.738},"top_phases_ms_per_frame":{"Driver.Packet":3551.290,"Driver.Packet.memory_wait":1791.430,"Driver.Packet.dispatch":1633.665,"Driver.Dispatch":1620.121,"Vulkan.ComputePipeline":958.217,"Driver.Dispatch.materialize":441.828,"Driver.Dispatch.decode_key_device_setup":68.927,"Vulkan.Dispatch":67.510},"owned_draw_counts":{},"graphics_track":{"Graphics.Barrier.copy":1206,"Graphics.Barrier.dcc-clear":780,"Graphics.Barrier.dcc-keys":530,"Graphics.Barrier.dispatch-lead":7959,"Graphics.Barrier.dispatch-trail":12714,"Graphics.Barrier.draw":3853,"Graphics.Barrier.fill":1270,"Graphics.Barrier.fill-clear":1216,"Graphics.Barrier.indirect-args":1252,"Graphics.Barrier.input-mirror":30,"Graphics.Barrier.label-run":6476,"Graphics.Barrier.present-blit":120,"Graphics.Barrier.shadow-publish":858,"Graphics.Barrier.staging-in":8252,"Graphics.Barrier.staging-out":3409,"Graphics.Barrier.storage-upload":8829,"Graphics.Barrier.storage-writeback":21471,"Graphics.Barrier.template-refresh":14,"Graphics.BarrierMerged.copy":180,"Graphics.BarrierMerged.dispatch-lead":7259,"Graphics.BarrierMerged.fill":704,"Graphics.BarrierMerged.label-run":16,"Graphics.BarrierMerged.shadow-publish":478,"Graphics.BarrierMerged.staging-in":1903,"Graphics.BarrierMerged.staging-out":3369,"Graphics.BarrierMerged.storage-writeback":2209,"Graphics.Copy":14249,"Graphics.Copy.bytes":11999071748,"Graphics.RenderPass":1935,"Graphics.RenderPass.Close.command":1306,"Graphics.RenderPass.Close.image":278,"Graphics.RenderPass.Close.key":192,"Graphics.RenderPass.Close.label":16,"Graphics.RenderPass.Close.new-batch":143,"Graphics.RenderPass.Continued":65},"trace_dropped":false,"trace":"aps5-trace-d659b60f2d3c-79276.json.gz"} A2 {"commit":"abc3e4a6920b","dirty":false,"env":{"APS5_HOST_IMPORT_MIB":"16384","APS5_NO_SNAPSHOT_CHECK":"1","APS5_PAD_INPUT_FILE":"<path>","APS5_PREPARED_SPIRV_MIB":"6144","APS5_PROFILE_DRAW":"1","APS5_STAGING_POOL_MIB":"2048","APS5_TRACE_DIR":"<path>","APS5_TRACE_FRAMES":"250:60","APS5_TRACE_SUMMARY_EVERY":"30"},"gpu":"NVIDIA GeForce RTX 4090","driver":"NVIDIA 617.42","os":"Windows 10.0.26300","cpu":"13th Gen Intel(R) Core(TM) i9-13900K","cpu_threads":32,"memory_mib":32476,"title_id":"PPSA26344","title":"Ghost of Yōtei","content_version":"01.008.000","resolution":"3840x2160","window":{"spec":"frames 250:60","first_present":250,"ms":37352.051},"presents":60,"frame_ms":{"p50":185.200,"p90":1696.569,"p99":8198.270,"max":8198.270},"gpu_busy_ms_per_present":80.101,"worker_busy_pct":{"queue worker 0x0":92.036,"queue worker 0x52":0.915,"queue worker 0x53":0.000,"queue worker 0x20":36.275,"queue worker 0x30":57.118,"queue worker 0x48":15.200,"queue worker 0x38":52.028},"phase_totals_ms":{"Driver.Completion":1.243,"Driver.Dispatch":38744.526,"Driver.Dispatch.capture_resources":915.584,"Driver.Dispatch.decode_key_device_setup":4161.681,"Driver.Dispatch.lookup_cache":237.816,"Driver.Dispatch.materialize":25613.935,"Driver.Dispatch.prepared_invocation":654.016,"Driver.Draw":3107.961,"Driver.Draw.device_setup":5.241,"Driver.Draw.draw_enqueued":33.966,"Driver.Draw.post_compile_prepare":0.570,"Driver.Draw.prepare":16.407,"Driver.Draw.shader_compile_and_link":3050.216,"Driver.EndSubmission":158.401,"Driver.Packet":94554.637,"Driver.Packet.device_lock":5.421,"Driver.Packet.dispatch":39519.669,"Driver.Packet.draw":3109.282,"Driver.Packet.execute":73.006,"Driver.Packet.flip_flush":3.762,"Driver.Packet.flush_between_packets":552.837,"Driver.Packet.memory_wait":47382.441,"Driver.Packet.pipeline_drain":654.438,"Driver.Packet.pipeline_prepare":8.191,"Driver.Packet.prepare_memory":3173.646,"Driver.Packet.rendering_wait":0.107,"Driver.Present":453.757,"Driver.Present.acquire_image":0.697,"Driver.Present.device_setup":0.028,"Driver.Present.gpu_mutex_wait":0.132,"Driver.Present.inflight_wait":0.153,"Driver.Present.present_display_buffer":432.275,"Driver.Present.queue_present":18.622,"Driver.Present.release_and_callback":0.078,"Driver.Present.render_fence_wait":1.575,"Driver.Present.resize":0.116,"Driver.Present.validate":0.016,"Driver.Suspend":0.019,"GpuMutex.wait.copy":8.889,"GpuMutex.wait.dispatch":929.685,"GpuMutex.wait.draw":77.198,"GpuMutex.wait.end":104.123,"GpuMutex.wait.fill":204.945,"GpuMutex.wait.flush":516.343,"GpuMutex.wait.hook":864.660,"GpuMutex.wait.indirect":131.858,"GpuMutex.wait.label":347.635,"GpuMutex.wait.other":2048.348,"GpuMutex.wait.present":0.017,"GpuMutex.wait.wait":0.090,"Graphics.Draw":1621.877,"Graphics.Draw.draw_and_resource_release":1596.705,"Graphics.Draw.index_upload":10.894,"Graphics.Draw.validate":11.454,"Graphics.Draw.vertex_upload":2.038,"Graphics.DrawWithRecipe":2041.253,"Graphics.DrawWithRecipe.draw_and_resource_release":165.911,"Graphics.DrawWithRecipe.index_upload":0.175,"Graphics.DrawWithRecipe.validate":1.046,"Graphics.DrawWithRecipe.vertex_upload":0.800,"Graphics.Submit":2.719,"Graphics.Submit.command_end":0.189,"Graphics.Submit.queue_submit":2.494,"Graphics.Wait":467.111,"Graphics.Wait.fence_wait":465.093,"Recorder.Reap":18.053,"Recorder.Submit":194.342,"Recorder.Sync":416.273,"Recorder.WaitSerial":348.428,"Resources.Complete":2268.398,"Resources.Prepare":723.115,"Shader.DrawStage":3034.980,"Shader.DrawStage.capture_resources":23.683,"Shader.DrawStage.materialize":2928.439,"Shader.DrawStage.prepared_invocation":82.652,"Shader.PrepareArtifact":117990.804,"Shader.Register":486.054,"Shader.ResolveAbi":36.009,"Shader.ResolveGraphicsAbi":1.642,"Shader.ResolveGraphicsStagesAbi":72.521,"VideoOut.Flip":460.382,"VideoOut.Flip.completion_mutex_wait":0.075,"VideoOut.Flip.config_mutex_wait":0.008,"VideoOut.Flip.frame_limit":0.034,"VideoOut.Flip.notify_game":3.103,"VideoOut.Flip.present":454.316,"VideoOut.Flip.validate":0.068,"VideoOut.Flip.vblank_wait":0.037,"VideoOut.Flip.window_prepare":0.088,"VideoOut.Flip.window_title":2.586,"VideoOut.Readiness":0.157,"VideoOut.Readiness.locks_validate":0.083,"Vulkan.Acquire":0.640,"Vulkan.Acquire.acquire_fence_wait":0.121,"Vulkan.Acquire.acquire_image":0.366,"Vulkan.Acquire.fence_reset":0.106,"Vulkan.Acquire.retired_swapchains":0.029,"Vulkan.ComputePipeline":48.967,"Vulkan.Dispatch":3468.650,"Vulkan.Dispatch.command_record":193.503,"Vulkan.Dispatch.shader_resources":3264.900,"Vulkan.DispatchRecipe":441.385,"Vulkan.DispatchRecipe.command_record":440.387,"Vulkan.DrawFromRecipe":2042.113,"Vulkan.Present":12.101,"Vulkan.Present.command_record_scale":2.665,"Vulkan.Present.pixel_upload":0.168,"Vulkan.Present.queue_submit":9.204,"Vulkan.QueuePresent":18.346,"Vulkan.QueuePresent.queue_present":18.250,"Vulkan.Retire":1.555,"Vulkan.Retire.wait":1.075},"top_phases_ms_per_frame":{"Shader.PrepareArtifact":1966.513,"Driver.Packet":1575.911,"Driver.Packet.memory_wait":789.707,"Driver.Packet.dispatch":658.661,"Driver.Dispatch":645.742,"Driver.Dispatch.materialize":426.899,"Driver.Dispatch.decode_key_device_setup":69.361,"Vulkan.Dispatch":57.811},"owned_draw_counts":{},"graphics_track":{"Graphics.Barrier.copy":1190,"Graphics.Barrier.dcc-clear":850,"Graphics.Barrier.dcc-keys":540,"Graphics.Barrier.dispatch-lead":7639,"Graphics.Barrier.dispatch-trail":12347,"Graphics.Barrier.draw":3849,"Graphics.Barrier.fill":1256,"Graphics.Barrier.fill-clear":1216,"Graphics.Barrier.indirect-args":1259,"Graphics.Barrier.input-mirror":25,"Graphics.Barrier.label-run":6392,"Graphics.Barrier.present-blit":120,"Graphics.Barrier.shadow-publish":850,"Graphics.Barrier.staging-in":7116,"Graphics.Barrier.staging-out":3042,"Graphics.Barrier.storage-upload":8819,"Graphics.Barrier.storage-writeback":21203,"Graphics.Barrier.template-refresh":14,"Graphics.BarrierMerged.copy":129,"Graphics.BarrierMerged.dispatch-lead":7226,"Graphics.BarrierMerged.fill":728,"Graphics.BarrierMerged.label-run":19,"Graphics.BarrierMerged.shadow-publish":482,"Graphics.BarrierMerged.staging-in":1932,"Graphics.BarrierMerged.staging-out":3000,"Graphics.BarrierMerged.storage-writeback":2194,"Graphics.Copy":13539,"Graphics.Copy.bytes":12660501292,"Graphics.RenderPass":1921,"Graphics.RenderPass.Close.command":1307,"Graphics.RenderPass.Close.image":273,"Graphics.RenderPass.Close.key":191,"Graphics.RenderPass.Close.label":19,"Graphics.RenderPass.Close.new-batch":131,"Graphics.RenderPass.Continued":65},"trace_dropped":false,"trace":"aps5-trace-abc3e4a6920b-72944.json.gz"} ``` </details> <details><summary>Summary lines, 2026-11-20 set (A1r, B1r, A2r)</summary> ``` A1r {"commit":"abc3e4a6920b","dirty":false,"env":{"APS5_HOST_IMPORT_MIB":"16384","APS5_NO_SNAPSHOT_CHECK":"1","APS5_PAD_INPUT_FILE":"<path>","APS5_PREPARED_SPIRV_MIB":"6144","APS5_PROFILE_DRAW":"1","APS5_STAGING_POOL_MIB":"2048","APS5_TRACE_DIR":"<path>","APS5_TRACE_FRAMES":"250:60","APS5_TRACE_SUMMARY_EVERY":"30"},"gpu":"NVIDIA GeForce RTX 4090","driver":"NVIDIA 617.42","os":"Windows 10.0.26300","cpu":"13th Gen Intel(R) Core(TM) i9-13900K","cpu_threads":32,"memory_mib":32476,"title_id":"PPSA26344","title":"Ghost of Yōtei","content_version":"01.008.000","resolution":"3840x2160","window":{"spec":"frames 250:60","first_present":250,"ms":37493.082},"presents":60,"frame_ms":{"p50":181.69,"p90":1872.904,"p99":8264.386,"max":8264.386},"gpu_busy_ms_per_present":83.006,"worker_busy_pct":{"queue worker 0x0":86.961,"queue worker 0x52":0.719,"queue worker 0x53":0.0,"queue worker 0x20":26.926,"queue worker 0x30":54.541,"queue worker 0x38":50.372,"queue worker 0x48":12.71},"phase_totals_ms":{"Driver.Completion":1.002,"Driver.Dispatch":34765.589,"Driver.Dispatch.capture_resources":780.563,"Driver.Dispatch.decode_key_device_setup":4155.212,"Driver.Dispatch.lookup_cache":258.531,"Driver.Dispatch.materialize":23058.905,"Driver.Dispatch.prepared_invocation":10.293,"Driver.Draw":1910.066,"Driver.Draw.device_setup":5.314,"Driver.Draw.draw_enqueued":10.126,"Driver.Draw.post_compile_prepare":0.498,"Driver.Draw.prepare":13.87,"Driver.Draw.shader_compile_and_link":1878.551,"Driver.EndSubmission":167.602,"Driver.Packet":86901.111,"Driver.Packet.device_lock":4.67,"Driver.Packet.dispatch":35633.214,"Driver.Packet.draw":1911.358,"Driver.Packet.execute":85.229,"Driver.Packet.flip_flush":4.848,"Driver.Packet.flush_between_packets":536.054,"Driver.Packet.memory_wait":44703.31,"Driver.Packet.pipeline_drain":802.181,"Driver.Packet.pipeline_prepare":7.188,"Driver.Packet.prepare_memory":3159.05,"Driver.Packet.rendering_wait":0.182,"Driver.Present":498.09,"Driver.Present.acquire_image":0.766,"Driver.Present.device_setup":0.032,"Driver.Present.gpu_mutex_wait":0.194,"Driver.Present.inflight_wait":0.164,"Driver.Present.present_display_buffer":467.899,"Driver.Present.queue_present":24.025,"Driver.Present.release_and_callback":0.083,"Driver.Present.render_fence_wait":4.715,"Driver.Present.resize":0.111,"Driver.Present.validate":0.02,"Driver.Suspend":0.021,"GpuMutex.wait.copy":87.19,"GpuMutex.wait.dispatch":778.279,"GpuMutex.wait.draw":46.213,"GpuMutex.wait.end":112.957,"GpuMutex.wait.fill":207.883,"GpuMutex.wait.flush":519.979,"GpuMutex.wait.hook":692.167,"GpuMutex.wait.indirect":140.286,"GpuMutex.wait.label":368.404,"GpuMutex.wait.other":2096.288,"GpuMutex.wait.present":0.053,"GpuMutex.wait.wait":0.332,"Graphics.Draw":1316.468,"Graphics.Draw.draw_and_resource_release":1306.841,"Graphics.Draw.index_upload":1.169,"Graphics.Draw.validate":7.271,"Graphics.Draw.vertex_upload":0.695,"Graphics.DrawWithRecipe":2255.4,"Graphics.DrawWithRecipe.draw_and_resource_release":196.77,"Graphics.DrawWithRecipe.index_upload":0.203,"Graphics.DrawWithRecipe.validate":1.188,"Graphics.DrawWithRecipe.vertex_upload":0.81,"Graphics.Submit":15.957,"Graphics.Submit.command_end":0.947,"Graphics.Submit.queue_submit":14.834,"Graphics.Wait":1392.404,"Graphics.Wait.fence_wait":1388.586,"Recorder.Reap":18.452,"Recorder.Submit":215.618,"Recorder.Sync":424.536,"Recorder.WaitSerial":361.596,"Resources.Complete":2047.473,"Resources.Prepare":788.679,"Shader.DrawStage":1861.08,"Shader.DrawStage.capture_resources":6.021,"Shader.DrawStage.materialize":1800.002,"Shader.DrawStage.prepared_invocation":54.969,"Shader.PrepareArtifact":155274.717,"Shader.Register":3366.174,"Shader.ResolveAbi":69.94,"Shader.ResolveGraphicsAbi":1.487,"Shader.ResolveGraphicsStagesAbi":121.484,"VideoOut.Flip":509.501,"VideoOut.Flip.completion_mutex_wait":0.091,"VideoOut.Flip.config_mutex_wait":0.008,"VideoOut.Flip.frame_limit":0.036,"VideoOut.Flip.notify_game":6.945,"VideoOut.Flip.present":498.646,"VideoOut.Flip.validate":0.073,"VideoOut.Flip.vblank_wait":0.04,"VideoOut.Flip.window_prepare":0.088,"VideoOut.Flip.window_title":3.484,"VideoOut.Readiness":0.139,"VideoOut.Readiness.locks_validate":0.06,"Vulkan.Acquire":0.705,"Vulkan.Acquire.acquire_fence_wait":0.131,"Vulkan.Acquire.acquire_image":0.404,"Vulkan.Acquire.fence_reset":0.116,"Vulkan.Acquire.retired_swapchains":0.033,"Vulkan.Dispatch":2977.972,"Vulkan.Dispatch.command_record":131.026,"Vulkan.Dispatch.shader_resources":2837.289,"Vulkan.DispatchRecipe":497.808,"Vulkan.DispatchRecipe.command_record":491.766,"Vulkan.DrawFromRecipe":2256.307,"Vulkan.GraphicsPipeline":0.398,"Vulkan.GraphicsPipeline.modules_and_state":0.344,"Vulkan.GraphicsPipelinePrebuild":0.421,"Vulkan.Present":7.372,"Vulkan.Present.command_record_scale":2.833,"Vulkan.Present.pixel_upload":0.185,"Vulkan.Present.queue_submit":4.281,"Vulkan.QueuePresent":23.715,"Vulkan.QueuePresent.queue_present":23.613,"Vulkan.Retire":4.695,"Vulkan.Retire.wait":4.162},"top_phases_ms_per_frame":{"Shader.PrepareArtifact":2587.912,"Driver.Packet":1448.352,"Driver.Packet.memory_wait":745.055,"Driver.Packet.dispatch":593.887,"Driver.Dispatch":579.426,"Driver.Dispatch.materialize":384.315,"Driver.Dispatch.decode_key_device_setup":69.254,"Shader.Register":56.103},"owned_draw_counts":{},"graphics_track":{"Graphics.Barrier.copy":707,"Graphics.Barrier.dcc-clear":820,"Graphics.Barrier.dcc-keys":544,"Graphics.Barrier.dispatch-lead":5656,"Graphics.Barrier.dispatch-trail":8784,"Graphics.Barrier.draw":3068,"Graphics.Barrier.fill":1229,"Graphics.Barrier.fill-clear":1164,"Graphics.Barrier.indirect-args":1195,"Graphics.Barrier.input-mirror":5,"Graphics.Barrier.label-run":5940,"Graphics.Barrier.present-blit":120,"Graphics.Barrier.shadow-publish":674,"Graphics.Barrier.staging-in":2317,"Graphics.Barrier.staging-out":1112,"Graphics.Barrier.storage-upload":4978,"Graphics.Barrier.storage-writeback":12838,"Graphics.Barrier.template-refresh":1,"Graphics.BarrierMerged.copy":157,"Graphics.BarrierMerged.dispatch-lead":5518,"Graphics.BarrierMerged.fill":733,"Graphics.BarrierMerged.label-run":11,"Graphics.BarrierMerged.shadow-publish":394,"Graphics.BarrierMerged.staging-in":1019,"Graphics.BarrierMerged.staging-out":1112,"Graphics.BarrierMerged.storage-writeback":1896,"Graphics.Copy":8254,"Graphics.Copy.bytes":29765022220,"Graphics.RenderPass":1612,"Graphics.RenderPass.Close.command":1064,"Graphics.RenderPass.Close.image":243,"Graphics.RenderPass.Close.key":184,"Graphics.RenderPass.Close.label":11,"Graphics.RenderPass.Close.new-batch":110,"Graphics.RenderPass.Continued":14},"trace_dropped":false,"trace":"aps5-trace-abc3e4a6920b-72216.json.gz"} B1r {"commit":"d659b60f2d3c","dirty":false,"env":{"APS5_HOST_IMPORT_MIB":"16384","APS5_NO_SNAPSHOT_CHECK":"1","APS5_PAD_INPUT_FILE":"<path>","APS5_PREPARED_SPIRV_MIB":"6144","APS5_PROFILE_DRAW":"1","APS5_STAGING_POOL_MIB":"2048","APS5_TRACE_DIR":"<path>","APS5_TRACE_FRAMES":"250:60","APS5_TRACE_SUMMARY_EVERY":"30"},"gpu":"NVIDIA GeForce RTX 4090","driver":"NVIDIA 617.42","os":"Windows 10.0.26300","cpu":"13th Gen Intel(R) Core(TM) i9-13900K","cpu_threads":32,"memory_mib":32476,"title_id":"PPSA26344","title":"Ghost of Yōtei","content_version":"01.008.000","resolution":"3840x2160","window":{"spec":"frames 250:60","first_present":250,"ms":32554.511},"presents":60,"frame_ms":{"p50":176.345,"p90":1211.74,"p99":8093.872,"max":8093.872},"gpu_busy_ms_per_present":85.11,"worker_busy_pct":{"queue worker 0x0":96.688,"queue worker 0x52":0.835,"queue worker 0x53":0.0,"queue worker 0x20":31.279,"queue worker 0x30":58.557,"queue worker 0x38":55.07,"queue worker 0x48":14.505},"phase_totals_ms":{"Driver.Completion":1.192,"Driver.Dispatch":33591.197,"Driver.Dispatch.capture_resources":756.904,"Driver.Dispatch.decode_key_device_setup":4177.207,"Driver.Dispatch.lookup_cache":314.61,"Driver.Dispatch.materialize":22077.109,"Driver.Dispatch.prepared_invocation":11.744,"Driver.Draw":1694.046,"Driver.Draw.device_setup":4.978,"Driver.Draw.draw_enqueued":44.208,"Driver.Draw.post_compile_prepare":0.489,"Driver.Draw.prepare":14.316,"Driver.Draw.shader_compile_and_link":1628.7,"Driver.EndSubmission":113.203,"Driver.Packet":83529.701,"Driver.Packet.device_lock":4.85,"Driver.Packet.dispatch":34211.512,"Driver.Packet.draw":1695.291,"Driver.Packet.execute":75.171,"Driver.Packet.flip_flush":3.567,"Driver.Packet.flush_between_packets":584.745,"Driver.Packet.memory_wait":42948.541,"Driver.Packet.pipeline_drain":871.8,"Driver.Packet.pipeline_prepare":7.112,"Driver.Packet.prepare_memory":3075.462,"Driver.Packet.rendering_wait":0.114,"Driver.Present":429.677,"Driver.Present.acquire_image":0.696,"Driver.Present.device_setup":0.027,"Driver.Present.gpu_mutex_wait":0.216,"Driver.Present.inflight_wait":0.154,"Driver.Present.present_display_buffer":404.98,"Driver.Present.queue_present":20.139,"Driver.Present.release_and_callback":0.083,"Driver.Present.render_fence_wait":3.185,"Driver.Present.resize":0.108,"Driver.Present.validate":0.019,"Driver.Suspend":0.018,"GpuMutex.wait.copy":115.164,"GpuMutex.wait.dispatch":608.643,"GpuMutex.wait.draw":84.658,"GpuMutex.wait.end":67.678,"GpuMutex.wait.fill":262.252,"GpuMutex.wait.flush":610.786,"GpuMutex.wait.hook":621.051,"GpuMutex.wait.indirect":128.796,"GpuMutex.wait.label":363.262,"GpuMutex.wait.other":1728.512,"GpuMutex.wait.present":0.105,"GpuMutex.wait.wait":0.276,"Graphics.Draw":1347.827,"Graphics.Draw.draw_and_resource_release":1334.293,"Graphics.Draw.index_upload":3.071,"Graphics.Draw.validate":7.847,"Graphics.Draw.vertex_upload":1.999,"Graphics.DrawWithRecipe":2186.957,"Graphics.DrawWithRecipe.draw_and_resource_release":172.278,"Graphics.DrawWithRecipe.index_upload":0.163,"Graphics.DrawWithRecipe.validate":1.107,"Graphics.DrawWithRecipe.vertex_upload":0.742,"Graphics.Submit":1.434,"Graphics.Submit.command_end":0.13,"Graphics.Submit.queue_submit":1.283,"Graphics.Wait":529.983,"Graphics.Wait.fence_wait":527.628,"Recorder.Reap":18.123,"Recorder.Submit":205.93,"Recorder.Sync":312.647,"Recorder.WaitSerial":437.685,"Resources.Complete":2153.155,"Resources.Prepare":680.679,"Shader.DrawStage":1614.189,"Shader.DrawStage.capture_resources":12.869,"Shader.DrawStage.materialize":1557.948,"Shader.DrawStage.prepared_invocation":43.232,"Shader.PrepareArtifact":93733.628,"Shader.Register":538.73,"Shader.ResolveAbi":44.085,"Shader.ResolveGraphicsAbi":1.569,"Shader.ResolveGraphicsStagesAbi":52.8,"VideoOut.Flip":438.533,"VideoOut.Flip.completion_mutex_wait":0.074,"VideoOut.Flip.config_mutex_wait":0.007,"VideoOut.Flip.frame_limit":0.031,"VideoOut.Flip.notify_game":4.93,"VideoOut.Flip.present":430.32,"VideoOut.Flip.validate":0.067,"VideoOut.Flip.vblank_wait":0.036,"VideoOut.Flip.window_prepare":0.084,"VideoOut.Flip.window_title":2.905,"VideoOut.Readiness":0.131,"VideoOut.Readiness.locks_validate":0.057,"Vulkan.Acquire":0.639,"Vulkan.Acquire.acquire_fence_wait":0.117,"Vulkan.Acquire.acquire_image":0.368,"Vulkan.Acquire.fence_reset":0.104,"Vulkan.Acquire.retired_swapchains":0.031,"Vulkan.ComputePipeline":3.629,"Vulkan.Dispatch":2936.202,"Vulkan.Dispatch.command_record":136.488,"Vulkan.Dispatch.shader_resources":2790.609,"Vulkan.DispatchRecipe":428.882,"Vulkan.DispatchRecipe.command_record":421.709,"Vulkan.DrawFromRecipe":2187.839,"Vulkan.Present":6.173,"Vulkan.Present.command_record_scale":2.354,"Vulkan.Present.pixel_upload":0.157,"Vulkan.Present.queue_submit":3.604,"Vulkan.QueuePresent":19.877,"Vulkan.QueuePresent.queue_present":19.781,"Vulkan.Retire":3.163,"Vulkan.Retire.wait":2.703},"top_phases_ms_per_frame":{"Shader.PrepareArtifact":1562.227,"Driver.Packet":1392.162,"Driver.Packet.memory_wait":715.809,"Driver.Packet.dispatch":570.192,"Driver.Dispatch":559.853,"Driver.Dispatch.materialize":367.952,"Driver.Dispatch.decode_key_device_setup":69.62,"Driver.Packet.prepare_memory":51.258},"owned_draw_counts":{},"graphics_track":{"Graphics.Barrier.copy":956,"Graphics.Barrier.dcc-clear":816,"Graphics.Barrier.dcc-keys":556,"Graphics.Barrier.dispatch-lead":6436,"Graphics.Barrier.dispatch-trail":10296,"Graphics.Barrier.draw":3484,"Graphics.Barrier.fill":1247,"Graphics.Barrier.fill-clear":1186,"Graphics.Barrier.indirect-args":1229,"Graphics.Barrier.input-mirror":21,"Graphics.Barrier.label-run":6271,"Graphics.Barrier.present-blit":120,"Graphics.Barrier.shadow-publish":762,"Graphics.Barrier.staging-in":3444,"Graphics.Barrier.staging-out":1643,"Graphics.Barrier.storage-upload":7216,"Graphics.Barrier.storage-writeback":17583,"Graphics.Barrier.template-refresh":7,"Graphics.BarrierMerged.copy":161,"Graphics.BarrierMerged.dispatch-lead":6318,"Graphics.BarrierMerged.fill":721,"Graphics.BarrierMerged.label-run":10,"Graphics.BarrierMerged.shadow-publish":418,"Graphics.BarrierMerged.staging-in":1474,"Graphics.BarrierMerged.staging-out":1643,"Graphics.BarrierMerged.storage-writeback":2108,"Graphics.Copy":9769,"Graphics.Copy.bytes":12194477994,"Graphics.RenderPass":1787,"Graphics.RenderPass.Close.command":1201,"Graphics.RenderPass.Close.image":262,"Graphics.RenderPass.Close.key":192,"Graphics.RenderPass.Close.label":10,"Graphics.RenderPass.Close.new-batch":122,"Graphics.RenderPass.Continued":59},"trace_dropped":false,"trace":"aps5-trace-d659b60f2d3c-74308.json.gz"} A2r {"commit":"abc3e4a6920b","dirty":false,"env":{"APS5_HOST_IMPORT_MIB":"16384","APS5_NO_SNAPSHOT_CHECK":"1","APS5_PAD_INPUT_FILE":"<path>","APS5_PREPARED_SPIRV_MIB":"6144","APS5_PROFILE_DRAW":"1","APS5_STAGING_POOL_MIB":"2048","APS5_TRACE_DIR":"<path>","APS5_TRACE_FRAMES":"250:60","APS5_TRACE_SUMMARY_EVERY":"30"},"gpu":"NVIDIA GeForce RTX 4090","driver":"NVIDIA 617.42","os":"Windows 10.0.26300","cpu":"13th Gen Intel(R) Core(TM) i9-13900K","cpu_threads":32,"memory_mib":32476,"title_id":"PPSA26344","title":"Ghost of Yōtei","content_version":"01.008.000","resolution":"3840x2160","window":{"spec":"frames 250:60","first_present":250,"ms":39047.259},"presents":60,"frame_ms":{"p50":196.996,"p90":1852.496,"p99":8296.07,"max":8296.07},"gpu_busy_ms_per_present":89.937,"worker_busy_pct":{"queue worker 0x0":92.046,"queue worker 0x52":0.904,"queue worker 0x53":0.0,"queue worker 0x20":31.961,"queue worker 0x38":52.328,"queue worker 0x30":57.001,"queue worker 0x48":16.091},"phase_totals_ms":{"Driver.Completion":0.996,"Driver.Dispatch":38413.744,"Driver.Dispatch.capture_resources":1104.11,"Driver.Dispatch.decode_key_device_setup":4338.925,"Driver.Dispatch.lookup_cache":238.043,"Driver.Dispatch.materialize":25207.715,"Driver.Dispatch.prepared_invocation":20.354,"Driver.Draw":3067.917,"Driver.Draw.device_setup":5.098,"Driver.Draw.draw_enqueued":40.686,"Driver.Draw.post_compile_prepare":0.598,"Driver.Draw.prepare":16.73,"Driver.Draw.shader_compile_and_link":3003.267,"Driver.EndSubmission":165.49,"Driver.Packet":97581.012,"Driver.Packet.device_lock":5.737,"Driver.Packet.dispatch":39199.677,"Driver.Packet.draw":3069.17,"Driver.Packet.execute":195.658,"Driver.Packet.flip_flush":7.575,"Driver.Packet.flush_between_packets":474.662,"Driver.Packet.memory_wait":50340.162,"Driver.Packet.pipeline_drain":801.512,"Driver.Packet.pipeline_prepare":9.059,"Driver.Packet.prepare_memory":3402.309,"Driver.Packet.rendering_wait":0.102,"Driver.Present":406.73,"Driver.Present.acquire_image":0.661,"Driver.Present.device_setup":0.027,"Driver.Present.gpu_mutex_wait":0.191,"Driver.Present.inflight_wait":0.15,"Driver.Present.present_display_buffer":380.871,"Driver.Present.queue_present":22.939,"Driver.Present.release_and_callback":0.068,"Driver.Present.render_fence_wait":1.631,"Driver.Present.resize":0.1,"Driver.Present.validate":0.02,"Driver.Suspend":0.015,"GpuMutex.wait.copy":135.238,"GpuMutex.wait.dispatch":911.266,"GpuMutex.wait.draw":65.125,"GpuMutex.wait.end":69.046,"GpuMutex.wait.fill":223.444,"GpuMutex.wait.flush":448.035,"GpuMutex.wait.hook":883.88,"GpuMutex.wait.indirect":131.224,"GpuMutex.wait.label":325.64,"GpuMutex.wait.other":1923.926,"GpuMutex.wait.present":0.064,"GpuMutex.wait.wait":1.063,"Graphics.Draw":1856.697,"Graphics.Draw.draw_and_resource_release":1802.977,"Graphics.Draw.index_upload":7.773,"Graphics.Draw.validate":13.018,"Graphics.Draw.vertex_upload":32.055,"Graphics.DrawWithRecipe":2090.151,"Graphics.DrawWithRecipe.draw_and_resource_release":156.028,"Graphics.DrawWithRecipe.index_upload":0.155,"Graphics.DrawWithRecipe.validate":0.988,"Graphics.DrawWithRecipe.vertex_upload":0.647,"Graphics.Submit":10.869,"Graphics.Submit.command_end":0.671,"Graphics.Submit.queue_submit":10.08,"Graphics.Wait":1197.644,"Graphics.Wait.fence_wait":1195.232,"Recorder.Reap":19.145,"Recorder.Submit":245.418,"Recorder.Sync":470.4,"Recorder.WaitSerial":435.287,"Resources.Complete":2468.172,"Resources.Prepare":694.427,"Shader.DrawStage":2986.294,"Shader.DrawStage.capture_resources":30.443,"Shader.DrawStage.materialize":2858.46,"Shader.DrawStage.prepared_invocation":97.174,"Shader.PrepareArtifact":82463.237,"Shader.Register":2022.462,"Shader.ResolveAbi":33.883,"Shader.ResolveGraphicsAbi":1.942,"Shader.ResolveGraphicsStagesAbi":75.813,"VideoOut.Flip":415.263,"VideoOut.Flip.completion_mutex_wait":0.063,"VideoOut.Flip.config_mutex_wait":0.007,"VideoOut.Flip.frame_limit":0.03,"VideoOut.Flip.notify_game":4.171,"VideoOut.Flip.present":407.367,"VideoOut.Flip.validate":0.063,"VideoOut.Flip.vblank_wait":0.037,"VideoOut.Flip.window_prepare":0.081,"VideoOut.Flip.window_title":3.385,"VideoOut.Readiness":0.12,"VideoOut.Readiness.locks_validate":0.053,"Vulkan.Acquire":0.607,"Vulkan.Acquire.acquire_fence_wait":0.11,"Vulkan.Acquire.acquire_image":0.354,"Vulkan.Acquire.fence_reset":0.096,"Vulkan.Acquire.retired_swapchains":0.028,"Vulkan.Dispatch":3732.856,"Vulkan.Dispatch.command_record":265.576,"Vulkan.Dispatch.shader_resources":3443.688,"Vulkan.DispatchRecipe":343.334,"Vulkan.DispatchRecipe.command_record":340.122,"Vulkan.DrawFromRecipe":2091.009,"Vulkan.Present":5.932,"Vulkan.Present.command_record_scale":2.216,"Vulkan.Present.pixel_upload":0.147,"Vulkan.Present.queue_submit":3.518,"Vulkan.QueuePresent":22.688,"Vulkan.QueuePresent.queue_present":22.596,"Vulkan.Retire":1.611,"Vulkan.Retire.wait":1.019},"top_phases_ms_per_frame":{"Driver.Packet":1626.35,"Shader.PrepareArtifact":1374.387,"Driver.Packet.memory_wait":839.003,"Driver.Packet.dispatch":653.328,"Driver.Dispatch":640.229,"Driver.Dispatch.materialize":420.129,"Driver.Dispatch.decode_key_device_setup":72.315,"Vulkan.Dispatch":62.214},"owned_draw_counts":{},"graphics_track":{"Graphics.Barrier.copy":1301,"Graphics.Barrier.dcc-clear":904,"Graphics.Barrier.dcc-keys":528,"Graphics.Barrier.dispatch-lead":8684,"Graphics.Barrier.dispatch-trail":13813,"Graphics.Barrier.draw":3990,"Graphics.Barrier.fill":1287,"Graphics.Barrier.fill-clear":1230,"Graphics.Barrier.indirect-args":1263,"Graphics.Barrier.input-mirror":30,"Graphics.Barrier.label-run":6615,"Graphics.Barrier.present-blit":120,"Graphics.Barrier.shadow-publish":879,"Graphics.Barrier.staging-in":9837,"Graphics.Barrier.staging-out":4000,"Graphics.Barrier.storage-upload":10040,"Graphics.Barrier.storage-writeback":23989,"Graphics.Barrier.template-refresh":18,"Graphics.BarrierMerged.copy":138,"Graphics.BarrierMerged.dispatch-lead":7655,"Graphics.BarrierMerged.fill":691,"Graphics.BarrierMerged.label-run":17,"Graphics.BarrierMerged.shadow-publish":485,"Graphics.BarrierMerged.staging-in":2080,"Graphics.BarrierMerged.staging-out":3952,"Graphics.BarrierMerged.storage-writeback":2280,"Graphics.Copy":16267,"Graphics.Copy.bytes":25484171350,"Graphics.RenderPass":1995,"Graphics.RenderPass.Close.command":1346,"Graphics.RenderPass.Close.image":294,"Graphics.RenderPass.Close.key":191,"Graphics.RenderPass.Close.label":17,"Graphics.RenderPass.Close.new-batch":147,"Graphics.RenderPass.Continued":67},"trace_dropped":false,"trace":"aps5-trace-abc3e4a6920b-68724.json.gz"} ``` </details> The six traces are available on request. Cold, not part of the claim: two cold runs of this branch with the switch unset and set (`APS5_EAGER_UNSIGNED_PACKED32_MODES`), both stopped at the 3000 s cap before f850. The first large compute program in the unset run has 1.238M SPIR-V words and takes 112 s to prepare, with the switch set 1.581M words and 142 s (-22 % words, -30 s). Frame times were equal up to f640. These two runs differ only by the switch on one binary; main was measured only in the warm runs above. ### Checklist - [x] Based on current `main` (`0c2fee0b6f` merged in); no other open PR implements the same functions (`tools/pr_overlap.py --branch HEAD` fails closed: it could not confirm overlap with the open PRs that touch the same files, mostly `tests/ShaderMemory.cpp`, `CacheKey.hpp`, `Recompiler.hpp` and `docs/dev/ENVIRONMENT.md`; `gh search prs` for packed32, 10_11_11, unsigned packed and table image modes finds none that prepares table-image packed 32-bit unsigned modes at use) - [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 (none added) - [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 (none added) - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: NVIDIA GeForce RTX 4090, driver 617.42, Windows 11 (10.0.26300) - [x] AI-assisted: yes Depends on: none AI-assisted: yes 🤖 Generated with [Claude Code](https://claude.com/claude-code)
MarcZX10 commented 2026-11-20 19:10:52 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-20T19:10:52Z.

Review: COMMENTED


Reviewed — comments

The change has no verified blocking defect, but the supplied performance evidence does not establish the stated likely runtime reduction, and one oversized changed test file was not fully reviewed.

What I ran

  • Reviewed PR head 1f13675bc0faaabf73b6558732e55be19646fe76 using the prepared diff and repo_read.py.
  • No commands or tests were run. The build, test, and validation results in the description are author-reported.

Results

Check Result Note
Source review not run Targeted source reads only
Tests not run Author-reported results only
Negative control not run No independent negative control

Negative control

Not run; no independent test execution was available.

Findings

Blocking

None.

Non-blocking

  • The performance evidence is inconclusive: the first warm set is dominated by long stalls, and the later warm set has only one branch capture between two baseline captures, with different in-window preparation totals. The description itself says the captures do not isolate the change. Consider presenting the runtime reduction as a hypothesis until matched captures isolate shader preparation and compilation. Changed-line reference: docs/dev/debt/changes/perf-table-packed32-modes-at-use.md:8.

Sources

Not verified

  • core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp was too large for the review folder; its added test diff was inspected, but the full head file was not read.
  • No tests, build, or validation-layer checks were run in this review.
  • Targeted reads covered relevant implementation areas; the other changed files were not all read in full. The prepared folder listed 18 changed files as included and one as excluded.

To get this to a good state

Nothing is required. Optionally, provide matched captures that isolate the shader preparation and compilation effect before describing a runtime reduction.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5998028933 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/24523#pullrequestreview-5998028933). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-20T19:10:52Z. **Review:** COMMENTED --- # Reviewed — comments The change has no verified blocking defect, but the supplied performance evidence does not establish the stated likely runtime reduction, and one oversized changed test file was not fully reviewed. ## What I ran - Reviewed PR head `1f13675bc0faaabf73b6558732e55be19646fe76` using the prepared diff and `repo_read.py`. - No commands or tests were run. The build, test, and validation results in the description are author-reported. ## Results | Check | Result | Note | |---|---|---| | Source review | not run | Targeted source reads only | | Tests | not run | Author-reported results only | | Negative control | not run | No independent negative control | ## Negative control Not run; no independent test execution was available. ## Findings ### Blocking None. ### Non-blocking - The performance evidence is inconclusive: the first warm set is dominated by long stalls, and the later warm set has only one branch capture between two baseline captures, with different in-window preparation totals. The description itself says the captures do not isolate the change. Consider presenting the runtime reduction as a hypothesis until matched captures isolate shader preparation and compilation. Changed-line reference: `docs/dev/debt/changes/perf-table-packed32-modes-at-use.md:8`. ## Sources - [Performance debt note at the reviewed commit](https://github.com/boykopovar/AnyPS5/blob/1f13675bc0faaabf73b6558732e55be19646fe76/docs/dev/debt/changes/perf-table-packed32-modes-at-use.md) - [Packed-mode trigger at the reviewed commit](https://github.com/boykopovar/AnyPS5/blob/1f13675bc0faaabf73b6558732e55be19646fe76/core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp) ## Not verified - `core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp` was too large for the review folder; its added test diff was inspected, but the full head file was not read. - No tests, build, or validation-layer checks were run in this review. - Targeted reads covered relevant implementation areas; the other changed files were not all read in full. The prepared folder listed 18 changed files as included and one as excluded. ## To get this to a good state Nothing is required. Optionally, provide matched captures that isolate the shader preparation and compilation effect before describing a runtime reduction.
MarcZX10 commented 2026-11-22 12:45:46 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-22T12:45:46Z.

Review: APPROVED


Reviewed — looks good

Nothing blocks this change; the review supports merging, and the author-reported checks include the new packed mode tests.

What I ran

Reviewed head 6254c642f6b44ddf494c4fefa8935f6d5c3aa122 against the prepared diff. I did not run commands or tests.

Results

Check Result Note
Code review passed Changed logic and targeted callers inspected
Build and tests not run Results below are author-reported
Validation layer not run Results below are author-reported

Findings

Blocking

None.

Non-blocking

None.

Not verified

Build, ctest, Vulkan validation and runtime performance were not independently verified. The description reports a successful build and 6,717 tests with one failure also present on main; the two new tests pass. It also reports 98/98 targeted validation tests passing with zero VUIDs. The performance captures do not establish a runtime improvement, as the description notes.

Read: description.md, commits.md, manifest.json, diff.patch; changed source files listed below. Excluded: files.json was unavailable through the review reader. No changed files were excluded by the manifest.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6012331280 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/24523#pullrequestreview-6012331280). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-22T12:45:46Z. **Review:** APPROVED --- # Reviewed — looks good Nothing blocks this change; the review supports merging, and the author-reported checks include the new packed mode tests. ## What I ran Reviewed head `6254c642f6b44ddf494c4fefa8935f6d5c3aa122` against the prepared diff. I did not run commands or tests. ## Results | Check | Result | Note | |---|---|---| | Code review | passed | Changed logic and targeted callers inspected | | Build and tests | not run | Results below are author-reported | | Validation layer | not run | Results below are author-reported | ## Findings ### Blocking None. ### Non-blocking None. ## Not verified Build, ctest, Vulkan validation and runtime performance were not independently verified. The description reports a successful build and 6,717 tests with one failure also present on main; the two new tests pass. It also reports 98/98 targeted validation tests passing with zero VUIDs. The performance captures do not establish a runtime improvement, as the description notes. Read: `description.md`, `commits.md`, `manifest.json`, `diff.patch`; changed source files listed below. Excluded: `files.json` was unavailable through the review reader. No changed files were excluded by the manifest. ## To get this to a good state Nothing is required.
MarcZX10 commented 2026-11-25 04:29:29 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-25T04:29:29Z.

Review: COMMENTED


Reviewed — no blocking findings

The inspected implementation has no verified blocking defect, but the review is incomplete because not every changed file was read.

What I ran

Reviewed head 440da2025b8307ef077a37e9be9fb617df99d265 using repo_read.py to inspect the prepared description, commits, manifest, diff, changed-file listing, and selected source ranges. No build or tests were run.

Results

Check Result Note
Targeted source inspection passed Retry and packed-mode paths inspected
Build and tests not run No execution performed
Full changed-file review not run Several changed files were not read

Findings

Blocking

None in the code inspected.

Non-blocking

None.

Sources

Inspected changed code in ResourceMaterializer.cpp, Recompiler.cpp, CacheKey.hpp, and Recompiler.hpp, along with relevant portions of ShaderMemory.cpp. The implementation records packed formats while materializing table columns, retries compilation when a supported table image needs those modes, and includes the retry state in cache keys.

Not verified

The full text of ShaderMemory.cpp was excluded from the review folder because it was too large; only targeted ranges were read through repo_read.py. Other changed files listed in the manifest were not read. No build, tests, or runtime behavior was independently verified. The author's description reports build, test, validation-layer, and performance results; those were not run here.

To get this to a good state

Nothing is required. Optional: complete review of the remaining changed files and run the relevant checks before treating this as a complete review.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6051871216 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/24523#pullrequestreview-6051871216). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-25T04:29:29Z. **Review:** COMMENTED --- # Reviewed — no blocking findings The inspected implementation has no verified blocking defect, but the review is incomplete because not every changed file was read. ## What I ran Reviewed head `440da2025b8307ef077a37e9be9fb617df99d265` using `repo_read.py` to inspect the prepared description, commits, manifest, diff, changed-file listing, and selected source ranges. No build or tests were run. ## Results | Check | Result | Note | |---|---|---| | Targeted source inspection | passed | Retry and packed-mode paths inspected | | Build and tests | not run | No execution performed | | Full changed-file review | not run | Several changed files were not read | ## Findings ### Blocking None in the code inspected. ### Non-blocking None. ## Sources Inspected changed code in `ResourceMaterializer.cpp`, `Recompiler.cpp`, `CacheKey.hpp`, and `Recompiler.hpp`, along with relevant portions of `ShaderMemory.cpp`. The implementation records packed formats while materializing table columns, retries compilation when a supported table image needs those modes, and includes the retry state in cache keys. ## Not verified The full text of `ShaderMemory.cpp` was excluded from the review folder because it was too large; only targeted ranges were read through `repo_read.py`. Other changed files listed in the manifest were not read. No build, tests, or runtime behavior was independently verified. The author's description reports build, test, validation-layer, and performance results; those were not run here. ## To get this to a good state Nothing is required. Optional: complete review of the remaining changed files and run the relevant checks before treating this as a complete review.
MarcZX10 commented 2026-11-25 19:53:50 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-25T19:53:50Z.

Review: APPROVED


Reviewed — looks good

The reviewed change consistently defers packed 32-bit unsigned table-image modes until a captured table column contains one of the supported formats, and the author-reported tests pass on the stated revision; I found no verified blocking defect.

What I ran

Reviewed head 211ece964079578e27977e2622212d85573c74d6. I read the prepared description, commits, manifest, and patch, then used repo_read.py to inspect changed code and relevant callers at the pinned head. No commands or tests were run by me.

Files read: core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp, core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp, core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp, core/libs/prx/libSceAgcDriver/tests/cmake/agc_shader_memory_tests.cmake, core/libs/prx/libSceAgcDriver/tests/execution/ImageTable.cpp, core/shader/recompiler/CMakeLists.txt, core/shader/recompiler/CacheKey.hpp, core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/ResourcePlan.hpp, core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp, core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp, core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp, core/shader/recompiler/RdnaDecoder/include/RdnaDecoder/RdnaDescriptorFormat.hpp, core/shader/recompiler/RdnaDecoder/src/RdnaDescriptorFormat.cpp, core/shader/recompiler/Recompiler.cpp, core/shader/recompiler/Recompiler.hpp, core/shader/recompiler/ShaderDiskCache.cpp, docs/dev/ENVIRONMENT.md, and docs/dev/debt/changes/perf-table-packed32-modes-at-use.md. All 19 changed files listed in the manifest as reviewed were read. files.json and the ruling file were not read; the manifest lists one changed file excluded by size, but its changed lines were read through repo_read.py.

Results

Check Result Note
Code review passed No blocking defect found
Build and tests not run Results reported in PR description
Runtime performance not run Captures do not establish a runtime gain

Findings

Blocking

None.

Non-blocking

None.

Not verified

I did not independently reproduce the reported MinGW build, ctest, validation-layer runs, or performance captures. The description reports the two added tests passing and two pre-existing ctest failures also present on main. Runtime performance remains unverified by the supplied captures, which the author describes as inconclusive.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6064047733 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/24523#pullrequestreview-6064047733). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-25T19:53:50Z. **Review:** APPROVED --- # Reviewed — looks good The reviewed change consistently defers packed 32-bit unsigned table-image modes until a captured table column contains one of the supported formats, and the author-reported tests pass on the stated revision; I found no verified blocking defect. ## What I ran Reviewed head `211ece964079578e27977e2622212d85573c74d6`. I read the prepared description, commits, manifest, and patch, then used `repo_read.py` to inspect changed code and relevant callers at the pinned head. No commands or tests were run by me. Files read: `core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp`, `core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp`, `core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp`, `core/libs/prx/libSceAgcDriver/tests/cmake/agc_shader_memory_tests.cmake`, `core/libs/prx/libSceAgcDriver/tests/execution/ImageTable.cpp`, `core/shader/recompiler/CMakeLists.txt`, `core/shader/recompiler/CacheKey.hpp`, `core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/ResourcePlan.hpp`, `core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp`, `core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp`, `core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp`, `core/shader/recompiler/RdnaDecoder/include/RdnaDecoder/RdnaDescriptorFormat.hpp`, `core/shader/recompiler/RdnaDecoder/src/RdnaDescriptorFormat.cpp`, `core/shader/recompiler/Recompiler.cpp`, `core/shader/recompiler/Recompiler.hpp`, `core/shader/recompiler/ShaderDiskCache.cpp`, `docs/dev/ENVIRONMENT.md`, and `docs/dev/debt/changes/perf-table-packed32-modes-at-use.md`. All 19 changed files listed in the manifest as reviewed were read. `files.json` and the ruling file were not read; the manifest lists one changed file excluded by size, but its changed lines were read through `repo_read.py`. ## Results | Check | Result | Note | |---|---|---| | Code review | passed | No blocking defect found | | Build and tests | not run | Results reported in PR description | | Runtime performance | not run | Captures do not establish a runtime gain | ## Findings ### Blocking None. ### Non-blocking None. ## Not verified I did not independently reproduce the reported MinGW build, ctest, validation-layer runs, or performance captures. The description reports the two added tests passing and two pre-existing ctest failures also present on main. Runtime performance remains unverified by the supplied captures, which the author describes as inconclusive. ## To get this to a good state Nothing is required.
MarcZX10 commented 2026-11-26 10:27:41 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-26T10:27:41Z.

Review: COMMENTED


Reviewed — no blocking findings

Nothing blocks this; the points below are optional.

What I ran

Reviewed the prepared diff and changed code at head 153f91d1261621382d55d67c701ac5b34191bf36 using repo_read.py. I ran no shell commands or tests. The description reports build, ctest, and validation-layer results from earlier commits; those results are author-reported, not verified here.

Results

Check Result Note
Changed-code review passed Inspected all 18 changed files
Build and tests not run Author reports results from an earlier commit
Validation layer not run Author reports results from earlier commits
Negative control not run The eager-mode test is author-reported

Findings

Blocking

None.

Non-blocking

None.

Sources

Not verified

No build, tests, or validation-layer checks were run in this review. The change description reports those checks on commit 440da2025b, not the reviewed head. The review folder omitted the full text of ShaderMemory.cpp due to size; I read its added range through repo_read.py. Other unchanged portions of changed files were not read.

To get this to a good state

Nothing is required. Optional: confirm the targeted checks on the reviewed head before relying on the reported results.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6072422099 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/24523#pullrequestreview-6072422099). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-26T10:27:41Z. **Review:** COMMENTED --- # Reviewed — no blocking findings Nothing blocks this; the points below are optional. ## What I ran Reviewed the prepared diff and changed code at head `153f91d1261621382d55d67c701ac5b34191bf36` using `repo_read.py`. I ran no shell commands or tests. The description reports build, ctest, and validation-layer results from earlier commits; those results are author-reported, not verified here. ## Results | Check | Result | Note | |---|---|---| | Changed-code review | passed | Inspected all 18 changed files | | Build and tests | not run | Author reports results from an earlier commit | | Validation layer | not run | Author reports results from earlier commits | | Negative control | not run | The eager-mode test is author-reported | ## Findings ### Blocking None. ### Non-blocking None. ## Sources - The packed-format flag is detected while sealing a captured table column and propagated into its snapshot: [ResourceMaterializer.cpp at the reviewed head](https://github.com/boykopovar/AnyPS5/blob/153f91d1261621382d55d67c701ac5b34191bf36/core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp#L1094). - Table capture requests a retry when a supported image table contains a flagged column: [ResourceMaterializer.cpp at the reviewed head](https://github.com/boykopovar/AnyPS5/blob/153f91d1261621382d55d67c701ac5b34191bf36/core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp#L1904). - The retry state is included in cache keys, and the eager environment switch is documented in code: [CacheKey.hpp at the reviewed head](https://github.com/boykopovar/AnyPS5/blob/153f91d1261621382d55d67c701ac5b34191bf36/core/shader/recompiler/CacheKey.hpp#L58), [Recompiler.hpp at the reviewed head](https://github.com/boykopovar/AnyPS5/blob/153f91d1261621382d55d67c701ac5b34191bf36/core/shader/recompiler/Recompiler.hpp#L327). ## Not verified No build, tests, or validation-layer checks were run in this review. The change description reports those checks on commit `440da2025b`, not the reviewed head. The review folder omitted the full text of `ShaderMemory.cpp` due to size; I read its added range through `repo_read.py`. Other unchanged portions of changed files were not read. ## To get this to a good state Nothing is required. Optional: confirm the targeted checks on the reviewed head before relying on the reported results.
ligmaSec commented 2026-12-03 21:43:19 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by ligmaSec on 2026-12-03T21:43:19Z.

Review: COMMENTED


The nested-column and memoized-column cases are useful here because the packed-mode trigger has to survive sealing and reuse. I traced the retry through the full shader key and the separate disk-cache representation. Please keep the eager control in the same correctness run as the default path so a cache-key regression is visible in both modes. The paired table tests and new packed-mode cases are queued on lavapipe. I did not repeat the title timing.

AI-assisted: yes.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6179124388 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/24523#pullrequestreview-6179124388). Originally posted by [ligmaSec](https://github.com/ligmaSec) on 2026-12-03T21:43:19Z. **Review:** COMMENTED --- The nested-column and memoized-column cases are useful here because the packed-mode trigger has to survive sealing and reuse. I traced the retry through the full shader key and the separate disk-cache representation. Please keep the eager control in the same correctness run as the default path so a cache-key regression is visible in both modes. The paired table tests and new packed-mode cases are queued on lavapipe. I did not repeat the title timing. AI-assisted: yes.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/24523:upstream-pr/24523'
git switch 'upstream-pr/24523'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/24523'
git switch 'upstream-pr/24523'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/24523'
git switch 'upstream-pr/24523'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/24523'
git switch 'main'
git merge --squash 'upstream-pr/24523'
git switch 'main'
git merge --ff-only 'upstream-pr/24523'
git switch 'main'
git merge 'upstream-pr/24523'
git push origin 'main'
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!24523
No description provided.