Skip to content

feat(agc): emulate mesh pipeline draws with a compute pass when VK_EXT_mesh_shader is unavailable - #17611

Open
SuarezPM wants to merge 15 commits into
boykopovar:mainfrom
SuarezPM:ai/mesh-fallback-compute
Open

SuarezPM wants to merge 15 commits into
boykopovar:mainfrom
SuarezPM:ai/mesh-fallback-compute

Conversation

@SuarezPM

@SuarezPM SuarezPM commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

What

Emulates mesh-path draws through a compute pass on devices without VK_EXT_mesh_shader (or with APS5_FORCE_MESH_COMPUTE=1). Supported subset only (see Known limitations). Supersedes #9356: commits c0faaaf, fe9ac93 and ecf0a2b by @billythemenace2 are cherry-picked with authorship preserved, reconciled onto current main (recompile-request serialization 64, disk-cache format 97) with fallback hardening and tests; commit 479fb1c and the merge are mine.

Activation matrix (capability x flag):

  • device with mesh shaders, no flag: native mesh path (unchanged)
  • device without mesh shaders: compute fallback (automatic; exercised with APS5_NO_MESH_SHADER=1)
  • APS5_FORCE_MESH_COMPUTE=1: compute fallback even on mesh-capable devices, to compare native vs fallback pixels
  • layout==0 mesh draw on a mesh device: native layer-window path (returns early, no compute)
  • oversized layers on a mesh device (more than maxMeshOutputLayers): native layer-window path, not compute (draw-time decision matches the compile-time one)
  • mesh-path points output and tessellation capture in the fallback: throw (no silent wrong render)

Tested

Linux x86_64, NVIDIA GeForce RTX 2060 SUPER (driver 615.78.08). Unit/execution coverage local (below) plus real-hardware runs by contributors (see Real hardware):

  • focal set (mesh/layered/graphics/shader-memory/request-serializer, 22 tests): default 22/22; APS5_FORCE_MESH_COMPUTE=1: 22/22 + 1 skip (mesh barycentric, expected message); APS5_NO_MESH_SHADER=1: 22/22 + 8 pre-existing skips, 0 fail
  • Rebase re-verification on RTX 2060 SUPER (driver 620.70.06, Linux x86_64, 23 tests after main added agc_driver_layered_volume_mesh): default 23/23; APS5_FORCE_MESH_COMPUTE=1: 22 pass + 1 skip (mesh barycentric, expected message); APS5_NO_MESH_SHADER=1: 14 pass + 9 pre-existing skips (mesh-less skip guards, follow-up), 0 fail
  • Vulkan validation (ANYPS5_REQUIRE_VULKAN=1, ANYPS5_NO_SHADER_CACHE=1, VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation, -V logs): default 22/22, VUID-=0, no missing-layer warnings; FORCE 22/22 + 1 skip, VUID-=0; NOMESH 22/22 + 8 skips, VUID-=0
  • Rebase validation-layer comparison on the same machine/GPU (validation layer build older than system headers, so both sides log the same pre-existing pNext-chain and SPIR-V capability VUIDs): same 3 VUID types and per-test counts on main and this branch, same single pre-existing vector_window_writes failure on both, no missing-layer warnings either side, no new VUIDs from this branch
  • Real hardware without VK_EXT_mesh_shader (thanks @sherySJ and @GiannisG1): Intel HD 520 (Mesa ANV) — mesh, layered_volume_draw, graphics pass, 0 validation errors; NVIDIA GTX 1050 Ti (Pascal) and Intel HD 630 (Mesa ANV) — agc_driver_mesh now runs and passes (skips on main), no new VUIDs vs main; 34 homebrew titles on the GTX (headless Xvfb, 90 s each): 12 that died on "device does not support mesh shaders" now run the full session, 19 advance to the honest barycentric refusal, Rush 2 / Wave Race advance to the FMASK gap, Doom 3 BFG stops where main stops (headless run proves progress, not correct pixels)
  • Apple M4 MoltenVK 1.4.2 without VK_EXT_mesh_shader on head de5c510 (thanks @Jazeupoi): vkQuake renders 1166 frames ~44 fps with correct drawing where main stops at startup; 15 catalog homebrew titles 15 s each: 8 run with correct UI (SpeedBreaker 57 FPS, PSXS5 37, SwanStationPS5 60, DevilutionX 60, PSFlyCast 40, OGBox 39, Mario 64 52, FBNeo 60), 4 pass mesh draws then stop at 8-sample target vs 1/2/4 offered (not from this PR), 2 stop at barycentric feat(agc): emulate mesh-fallback barycentrics through tessellation #9387, PS5SX2 stops at viewport depth [-1,1] without depth_range_unrestricted
  • NVIDIA GTX 1060 3GB (Pascal, driver 581.80), Windows 11 (thanks @vgpastor): ccleste stops at the declared barycentric refusal with this head alone (12.5 s) exactly as on main (18.4 s); combined with an adapted feat(agc): emulate mesh-fallback barycentrics through tessellation #9387 carry plus the carry author's cache-policy guard and fix(agc): allow opting out of the separate presentation queue #24931, it runs 900.3 s with 34,794 presents, 0 VUID lines and no device loss (the full 33 MB trace read to EOF, no dropped events), with gameplay visually confirmed across the session; the same four focused graphics/mesh/barycentric tests pass, no skips. Those are follow-up commits, not part of this PR. The FIFO present-queue device loss on this GPU is fix(agc): allow opting out of the separate presentation queue #24931 plus APS5_NO_PRESENT_QUEUE=1, also orthogonal
  • AMD RX 5700 XT (RDNA1, gfx1010, driver 32.0.21045.5002), Windows 11 (thanks @DannyOppenheimer): 41 mesh/layered/graphics/barycentric/shader-memory/serializer tests on main b8b8f49250 and on the same tree with this head merged, both 0 failed and 0 VUIDs with the layer inserted in every Vulkan test. agc_driver_mesh skips on main and passes here; agc_driver_layered_volume_draw takes the target.meshAsCompute branch and its "mesh draw run as compute" check passes. First RDNA1 (gfx1010) data point, one generation from the console's gfx1013
  • AMD Radeon R9700 (RDNA4, gfx1201) with mesh shaders, Windows (thanks @Helldiverr): six focused tests pass 3/3 on all modes with 0 VUIDs, on the native mesh path by default and through the compute pass with APS5_FORCE_MESH_COMPUTE=1; a temporary probe counted 40 compute dispatches in the forced run (37 in agc_driver_mesh, 13 of them indirect) and removing the two dispatches fails exactly the three tests that depend on them. First run where both routes execute on one card
  • NVIDIA GTX 1050 Ti (Pascal, driver 580.178.04), Linux, SPIR-V 1.3 target without VK_EXT_mesh_shader (thanks @GiannisG1): 47 catalog titles that stop at the mesh-stage recompile on main, 90 s each headless Xvfb, head 59203ed861 merged onto main e09d1349b5 with -DANYPS5_ENABLE_SPIRV_TOOLS=ON -- 20 keep running the full session vs 0 on main (Crux2, DK64 Rekompiled, DevilutionX x2, James Pond 2, Links Awakening, Mario 64, OGBox, PSFlyCast, Rush 2, Second Coat London, Shining Force III, Ship of Harkinian, SpeedBreaker, SwanStationPS5, TrinityX360, VLC, Wave Race 64, Wind Waker HD, osu!); 25 stop at the mesh-path pixel shader (stage 5) with SPV_EXT_mesh_shader extension requires SPIR-V 1.4 or later (log-confirmed: Lantern Miner shader 0x200790c00 stage 5; pixel module still declares the mesh extension on the compute path -- emitter follow-up, not this PR); Conker (guest memory unreadable at 0x4009000000 after passing the mesh draws, honest throw, separate triage still open) and ProsperoAI (debug-label run 7199688305: no host device loss, title-side 10 s fence timeout + abort; cold cache ~5.5 s preparing draw-8 pair 0x201d80900/0x201d80f00, warm cache reaches the same stage-5 emitter ceiling at 0x201d86400 as the 25; dispatch 1x1x1 rules out huge dispatch; Dean flag withdrawn, emitter follow-up covers it)
  • Merged current main (bc4cddf422, perf(agc): prebuild graphics pipeline shader libraries off the GpuMutex on first visit #25434 included) and fixed the prebuild collision it introduced: Pipeline::Prebuild returns false when MeshDrawRunsAsCompute is set, so the compiled mesh program is never handed to a graphics pipeline library on a device without VK_EXT_mesh_shader, and the constructor now requires that no stage is still Mesh when meshCompute is set. Re-verified with the validation layer: 23 focused tests pass in default, APS5_FORCE_MESH_COMPUTE=1 and APS5_NO_MESH_SHADER=1, 0 VUID- lines, layer inserted in every run
  • python3 tools/check_conventions.py --base origin/main: All conventions checks passed
  • Serialization 64 (blacklist 58-61 kept) / format 97 taken on this branch (at base time main was at 63/96; since then main has taken 64 (split-state) / 65 (windowSelects) and format 100, so both numbers now collide — renumber to 66 / 101 rides the rebase, see ligmaSec review 6179820998 and replies 7438333597)

Known limitations (follow-ups, not in this PR): compute readbacks have no eviction yet; multi-record CPU indirect mesh draws run as compute throw instead of dispatching per record (see debt entry); a mesh shader writing a viewport index other than the fallback path has no dedicated throw (no cheap signal; documented for review); no execution-level test pins the per-draw meshAsCompute override; no defensive meshAsCompute => !meshWindowBuffer assert in Recompiler/SpirvEmitter (only the two driver constructors set the flags).

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none (supersedes feat(agc): run mesh-path draws through a compute pass on devices without mesh shaders #9356, does not close it; will comment there)
  • Unblocks: none
  • GPUs tested: NVIDIA GeForce RTX 2060 SUPER, driver 615.78.08, Linux x86_64 (AGC/shader-recompiler validation-layer runs) + contributor runs: Intel HD 520 (Mesa ANV), NVIDIA GTX 1050 Ti (Pascal), Intel HD 630 (Mesa ANV), llvmpipe; 34 homebrew titles on the GTX (headless); Apple M4 MoltenVK 1.4.2 without mesh shaders: vkQuake + 15 catalog titles on de5c510; NVIDIA GTX 1060 3GB (Pascal) on Windows 11, ccleste with the combined feat(agc): emulate mesh-fallback barycentrics through tessellation #9387 carry; AMD RX 5700 XT (RDNA1) on Windows 11, 41-test A/B against main; AMD R9700 (RDNA4) on Windows, both routes on one card with a negative control; NVIDIA GTX 1050 Ti title run 20/47 full-session (pixel-stage ceiling is follow-up)
  • AI-assisted: yes

Overlap note: tools/pr_overlap.py fails closed listing open PRs with adjacent files (the tool timed out on a full scan here, so this note is manual). #16413 landed and is integrated in this branch (its async MaterializeInBackground path now hosts the re-derived per-draw override; no action left). #15548 stacks on top of this PR and needs a rebase after landing (size asserts already account for the mesh key field). Manually compared hunk-by-hunk against current main: #15917 touches adjacent lines in the same functions (buildTarget, emitVariant, SpirvTarget, cache-key append, Emit mesh-window area; different lines, should auto-merge); #16115, #16260, #16088, #16474, #16887 share files but all hunks are 25+ lines away; docs-only adjacency in ENVIRONMENT.md/debt files is append-style. #9356 overlap is by design (superseded).

billythemenace2 and others added 5 commits November 8, 2026 18:21
…out mesh shaders

A mesh-path draw (the NGG primitive shader path) needed VK_EXT_mesh_shader.
On a device without it, or for a draw whose targets have more layers than
the device's maxMeshOutputLayers, the mesh program is now compiled as a
GLCompute shader (SpirvTarget::meshAsCompute) that writes the draw's
primitives and vertex records to a device buffer behind a
VkDrawIndirectCommand header. A generated readback vertex shader
(BuildMeshReadbackVertexShader) reads the records back for a triangle or
line list drawn with vkCmdDrawIndirect, carrying position, parameters,
clip and cull distances and the provoking vertex's layer.

- The compute pass has its own pipeline layout with a compute push range;
  the draw's independent-sets layout lost the device on RDNA1.
- The pass pins the program's subgroup size where the device allows it and
  refuses compute subgroups narrower than the wave, except the 32-lane
  subgroups that run a wave-64 program in paired lanes.
- MeshDrawRunsAsCompute decides per draw: always without mesh shaders, and
  on a device with them when MeshDrawLayers exceeds maxMeshOutputLayers.
- APS5_NO_MESH_SHADER=1 leaves VK_EXT_mesh_shader off.
- Serialization version 43 stores meshAsCompute; the shader disk cache
  format is 45 for the record layout field.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…nd it

From review of the mesh compute fallback:
- An indirect mesh draw run as compute sized its output buffer for four
  instances, and a record with more drew nothing. Its record is now read
  on the CPU (IndirectDrawPath::MeshCompute, which waits for the producer
  like the other CPU-read paths), and the buffer is sized from the groups
  and instances it resolves to. Mesh.cpp draws an indirect record with six
  instances.
- The output buffer is bounded: a draw that needs more than 256 MiB
  (MeshComputeOutputLimitBytes) or maxStorageBufferRange throws.
- docs/dev/ARCHITECTURE.md describes the compute pass and the readback
  vertex stage.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
main gained mesh-path point output with register and exported point
sizes. The compute fallback's vertex record carries no point size and its
readback draws triangle or line lists, so a mesh program with point output
run as compute now throws instead of failing to emit; agc_driver_mesh runs
its point cases on the native mesh stage only, and the debt file lists it.
Rebased onto main: serialization version 45 after main's point and fused
arithmetic fields, shader disk cache format 46.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…aders

Supersedes boykopovar#9356 by billythemenace2; commits c0faaaf, fe9ac93 and ecf0a2b cherry-picked with authorship preserved, reconciled onto current main (serialization 57, disk-cache format 61) with fallback hardening and tests.
@sherySJ

sherySJ commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

@SuarezPM as promised, the Intel HD 520 run.

Intel HD 520 (Mesa 26.2.5, Vulkan 1.4.363, no VK_EXT_mesh_shader), kernel 7.2.8, Release, Khronos validation layer 1.4.363, head 1e6ee87, ANYPS5_GPU=Intel ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1:

Test Runs Result Validation errors Warnings
agc_driver_mesh 3 passed 0 0
agc_driver_layered_volume_draw 3 passed 0 0
agc_driver_graphics 3 passed 0 0 (layer not inserted for this test)
agc_mesh_output_budget, request_serializer 1 passed 0 0
agc_driver_mesh_provoking_vertex, _index_cache, _draw_relocation, _provoking_layer, _barycentric_emulation 1 skipped, no VK_EXT_mesh_shader 0 0
agc_driver_mesh_vector_window_waves, _vector_window_writes, agc_driver_layered_volume_mesh 1 skipped, unsupported host subgroup layout 0 0

On llvmpipe agc_driver_mesh skips (no mesh shader compiler) and agc_driver_layered_volume_draw passes.

Compared with the earlier #9356 run on the same machine (f49a25a), agc_driver_mesh and agc_driver_graphics are unchanged, agc_driver_layered_volume_draw no longer logs the 10 layerCount-compatibility warnings (cause not bisected), and the five mesh tests that skipped there still skip, so none of them runs through the fallback on this device. If they should cover it on mesh-less hardware, their VK_EXT_mesh_shader skip guards would need to accept meshAsCompute.

This PR sets FormatVersion 61 and request serializer version 57, which #17056 also claims, so whichever merges second needs to bump both.

AI-assisted: yes.

@github-actions

github-actions Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.

Pull request Conflicting files (lines on main) Same exports Same new files
PR 9356 core/shader/recompiler/SpirvBackend/src/MeshReadbackVertexShader.cpp
PR 9387 core/shader/recompiler/SpirvBackend/src/MeshReadbackVertexShader.cpp

Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.

Pull request Shared files not compared
PR 1395 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 1896 docs/dev/ENVIRONMENT.md
PR 4448 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 4472 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
docs/dev/ENVIRONMENT.md
PR 4847 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 5609 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Pipeline.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Shaders.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 5925 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Draw.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Pipeline.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/shader/recompiler/CMakeLists.txt
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
docs/dev/ARCHITECTURE.md
PR 6186 core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
docs/dev/ENVIRONMENT.md
PR 6188 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Draw.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/shader/recompiler/Recompiler.hpp
PR 6280 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 6412 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
docs/dev/ARCHITECTURE.md
PR 6488 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
core/shader/recompiler/SpirvBackend/src/SpirvEmitter.cpp
PR 6553 core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 6743 docs/dev/ARCHITECTURE.md
PR 6808 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6924 core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
docs/dev/ENVIRONMENT.md
PR 7002 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
PR 7085 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 7256 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 7275 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp
docs/dev/ENVIRONMENT.md
PR 7392 core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hpp
core/shader/recompiler/SpirvBackend/src/SpirvEmitter.cpp
PR 7642 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Pipeline.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Shaders.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderValidation.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/libs/prx/libSceAgcDriver/tests/Mesh.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/CMakeLists.txt
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitter.hpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hpp
core/shader/recompiler/SpirvBackend/src/SpirvEmitter.cpp
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvEmitterHelpers.cpp
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvModuleSetup.cpp
core/shader/recompiler/SpirvBackend/src/SpirvModuleEmitter.cpp
core/shader/recompiler/tests/RequestSerializerTests.cpp
docs/dev/ARCHITECTURE.md
docs/dev/ENVIRONMENT.md
PR 7643 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
docs/dev/ENVIRONMENT.md
PR 7668 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 7684 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
docs/dev/ARCHITECTURE.md
PR 7689 core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 8246 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/ENVIRONMENT.md
PR 9289 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
docs/dev/ENVIRONMENT.md
PR 9345 docs/dev/ENVIRONMENT.md
PR 9356 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Draw.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Pipeline.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Shaders.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderValidation.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/libs/prx/libSceAgcDriver/tests/Mesh.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/libs/prx/libSceAgcDriver/tests/execution/LayeredVolumeDraw.cpp
core/shader/recompiler/CMakeLists.txt
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitter.hpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hpp
core/shader/recompiler/SpirvBackend/src/MeshReadbackVertexShader.cpp
core/shader/recompiler/SpirvBackend/src/SpirvEmitter.cpp
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvEmitterHelpers.cpp
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvModuleSetup.cpp
core/shader/recompiler/SpirvBackend/src/SpirvModuleEmitter.cpp
core/shader/recompiler/tests/RequestSerializerTests.cpp
docs/dev/ARCHITECTURE.md
docs/dev/ENVIRONMENT.md
PR 9387 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Draw.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Pipeline.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Shaders.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderValidation.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/libs/prx/libSceAgcDriver/tests/Mesh.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/libs/prx/libSceAgcDriver/tests/execution/LayeredVolumeDraw.cpp
core/shader/recompiler/CMakeLists.txt
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitter.hpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hpp
core/shader/recompiler/SpirvBackend/src/MeshReadbackVertexShader.cpp
core/shader/recompiler/SpirvBackend/src/SpirvEmitter.cpp
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvEmitterHelpers.cpp
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvModuleSetup.cpp
core/shader/recompiler/SpirvBackend/src/SpirvModuleEmitter.cpp
core/shader/recompiler/tests/RequestSerializerTests.cpp
docs/dev/ARCHITECTURE.md
docs/dev/ENVIRONMENT.md
PR 9508 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Draw.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Pipeline.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Shaders.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderValidation.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/libs/prx/libSceAgcDriver/tests/Mesh.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/CMakeLists.txt
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitter.hpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hpp
core/shader/recompiler/SpirvBackend/src/SpirvEmitter.cpp
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvEmitterHelpers.cpp
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvModuleSetup.cpp
core/shader/recompiler/SpirvBackend/src/SpirvModuleEmitter.cpp
core/shader/recompiler/tests/RequestSerializerTests.cpp
docs/dev/ARCHITECTURE.md
docs/dev/ENVIRONMENT.md
PR 9633 core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 9712 core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/ENVIRONMENT.md
PR 9748 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/shader/recompiler/SpirvBackend/src/SpirvModuleEmitter.cpp
PR 9749 core/shader/recompiler/ShaderDiskCache.cpp
PR 9790 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/ShaderDiskCache.hpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hpp
PR 9852 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
docs/dev/ENVIRONMENT.md
PR 9895 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 9897 core/libs/prx/libSceAgcDriver/Graphics/include/Draw.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 9915 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 9969 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hpp
PR 10193 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Pipeline.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Shaders.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderValidation.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/libs/prx/libSceAgcDriver/tests/Mesh.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/CMakeLists.txt
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitter.hpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hpp
core/shader/recompiler/SpirvBackend/src/SpirvEmitter.cpp
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvEmitterHelpers.cpp
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvModuleSetup.cpp
core/shader/recompiler/SpirvBackend/src/SpirvModuleEmitter.cpp
core/shader/recompiler/tests/RequestSerializerTests.cpp
docs/dev/ARCHITECTURE.md
docs/dev/ENVIRONMENT.md
PR 10351 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Draw.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderValidation.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hpp
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvEmitterHelpers.cpp
core/shader/recompiler/SpirvBackend/src/SpirvModuleEmitter.cpp
PR 10359 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/tests/RequestSerializerTests.cpp
PR 10497 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
PR 10867 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/SpirvBackend/src/SpirvEmitter.cpp
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvEmitterHelpers.cpp
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvModuleSetup.cpp
PR 11435 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
docs/dev/ENVIRONMENT.md
PR 11444 core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
PR 11452 core/libs/prx/libSceAgcDriver/Graphics/include/Draw.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
PR 11483 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitter.hpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hpp
core/shader/recompiler/SpirvBackend/src/SpirvEmitter.cpp
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvModuleSetup.cpp
core/shader/recompiler/SpirvBackend/src/SpirvModuleEmitter.cpp
core/shader/recompiler/tests/RequestSerializerTests.cpp
PR 11551 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvEmitterHelpers.cpp
core/shader/recompiler/SpirvBackend/src/SpirvModuleEmitter.cpp
core/shader/recompiler/tests/RequestSerializerTests.cpp
PR 11587 core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
PR 11825 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 11914 core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp
PR 12324 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/CMakeLists.txt
core/shader/recompiler/Recompiler.cpp
docs/dev/ENVIRONMENT.md
PR 12544 docs/dev/ENVIRONMENT.md
PR 12568 core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
PR 12746 docs/dev/ENVIRONMENT.md
PR 12828 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/CMakeLists.txt
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 12849 docs/dev/ENVIRONMENT.md
PR 12863 docs/dev/ENVIRONMENT.md
PR 12944 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitter.hpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hpp
core/shader/recompiler/SpirvBackend/src/SpirvEmitter.cpp
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvEmitterHelpers.cpp
core/shader/recompiler/SpirvBackend/src/SpirvModuleEmitter.cpp
PR 13147 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
PR 13148 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
PR 13809 core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
docs/dev/ENVIRONMENT.md
PR 13863 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
docs/dev/ENVIRONMENT.md
PR 13920 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
docs/dev/ENVIRONMENT.md
PR 13928 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Pipeline.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Shaders.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderValidation.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/libs/prx/libSceAgcDriver/tests/Mesh.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/CMakeLists.txt
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitter.hpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hpp
core/shader/recompiler/SpirvBackend/src/SpirvEmitter.cpp
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvEmitterHelpers.cpp
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvModuleSetup.cpp
core/shader/recompiler/SpirvBackend/src/SpirvModuleEmitter.cpp
core/shader/recompiler/tests/RequestSerializerTests.cpp
docs/dev/ARCHITECTURE.md
docs/dev/ENVIRONMENT.md
PR 13929 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Pipeline.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Shaders.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderValidation.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/libs/prx/libSceAgcDriver/tests/Mesh.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/CMakeLists.txt
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitter.hpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hpp
core/shader/recompiler/SpirvBackend/src/SpirvEmitter.cpp
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvEmitterHelpers.cpp
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvModuleSetup.cpp
core/shader/recompiler/SpirvBackend/src/SpirvModuleEmitter.cpp
core/shader/recompiler/tests/RequestSerializerTests.cpp
docs/dev/ARCHITECTURE.md
docs/dev/ENVIRONMENT.md
PR 14032 core/libs/prx/libSceAgcDriver/Graphics/include/Draw.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 14217 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitter.hpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hpp
core/shader/recompiler/SpirvBackend/src/SpirvEmitter.cpp
PR 14218 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitter.hpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hpp
core/shader/recompiler/SpirvBackend/src/SpirvEmitter.cpp
PR 14260 core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hpp
docs/dev/ENVIRONMENT.md
PR 14262 docs/dev/ENVIRONMENT.md
PR 14473 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 14853 core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 14871 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvEmitterHelpers.cpp
PR 14944 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 15136 core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
PR 15296 core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 15343 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Pipeline.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderValidation.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.hpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitter.hpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hpp
core/shader/recompiler/SpirvBackend/src/SpirvEmitter.cpp
core/shader/recompiler/tests/RequestSerializerTests.cpp
PR 15456 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
docs/dev/ARCHITECTURE.md
docs/dev/ENVIRONMENT.md
PR 15488 core/shader/recompiler/CMakeLists.txt
PR 15529 docs/dev/ARCHITECTURE.md
docs/dev/ENVIRONMENT.md
PR 15555 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hpp
PR 15570 core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/ENVIRONMENT.md
PR 16217 docs/dev/ENVIRONMENT.md
PR 16260 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 16321 core/shader/recompiler/ShaderDiskCache.cpp
PR 16354 docs/dev/ENVIRONMENT.md
PR 16371 docs/dev/ENVIRONMENT.md
PR 16372 docs/dev/ENVIRONMENT.md
PR 16427 core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
docs/dev/ENVIRONMENT.md
PR 16472 core/shader/recompiler/ShaderDiskCache.cpp
PR 16571 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvEmitterHelpers.cpp
PR 16631 core/shader/recompiler/ShaderDiskCache.cpp
PR 16793 docs/dev/ENVIRONMENT.md
PR 16796 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 16812 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hpp
PR 16814 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hpp
PR 16831 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
docs/dev/ARCHITECTURE.md
docs/dev/ENVIRONMENT.md
PR 16879 core/libs/prx/libSceAgcDriver/Graphics/include/Draw.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
PR 16935 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 16953 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
docs/dev/ARCHITECTURE.md
docs/dev/ENVIRONMENT.md
PR 17022 core/libs/prx/libSceAgcDriver/Graphics/include/Draw.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Pipeline.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderValidation.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/shader/recompiler/CMakeLists.txt
PR 17056 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderValidation.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hpp
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvEmitterHelpers.cpp
core/shader/recompiler/tests/RequestSerializerTests.cpp
PR 17259 docs/dev/ENVIRONMENT.md
PR 17261 docs/dev/ENVIRONMENT.md
PR 17555 docs/dev/ENVIRONMENT.md
PR 17556 docs/dev/ENVIRONMENT.md
PR 17557 docs/dev/ENVIRONMENT.md
PR 17558 docs/dev/ENVIRONMENT.md
PR 17719 docs/dev/ENVIRONMENT.md
PR 17729 docs/dev/ENVIRONMENT.md
PR 17943 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Draw.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
docs/dev/ARCHITECTURE.md
docs/dev/ENVIRONMENT.md
PR 18029 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
docs/dev/ARCHITECTURE.md
docs/dev/ENVIRONMENT.md
PR 18082 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/shader/recompiler/ShaderDiskCache.cpp
docs/dev/ARCHITECTURE.md
docs/dev/ENVIRONMENT.md
PR 18106 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hpp
PR 18107 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hpp
PR 18173 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
docs/dev/ENVIRONMENT.md
PR 18177 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
PR 18226 docs/dev/ARCHITECTURE.md
docs/dev/ENVIRONMENT.md
PR 18293 docs/dev/ENVIRONMENT.md
PR 18693 docs/dev/ENVIRONMENT.md
PR 18829 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
docs/dev/ENVIRONMENT.md
PR 19096 core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hpp
PR 19429 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 19479 core/shader/recompiler/SpirvBackend/src/SpirvEmitter.cpp
PR 19557 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 19620 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 19710 core/shader/recompiler/Recompiler.hpp
PR 19821 core/libs/prx/libSceAgcDriver/Graphics/src/ShaderValidation.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvEmitterHelpers.cpp
core/shader/recompiler/SpirvBackend/src/SpirvModuleEmitter.cpp
core/shader/recompiler/tests/RequestSerializerTests.cpp
PR 19852 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 20010 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/SpirvBackend/src/SpirvModuleEmitter.cpp
core/shader/recompiler/tests/RequestSerializerTests.cpp
PR 20030 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/tests/RequestSerializerTests.cpp
PR 20041 core/libs/prx/libSceAgcDriver/Graphics/include/Draw.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
docs/dev/ARCHITECTURE.md
docs/dev/ENVIRONMENT.md
PR 20111 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/tests/RequestSerializerTests.cpp
PR 20130 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Shaders.hpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 20153 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/tests/RequestSerializerTests.cpp
PR 20172 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
docs/dev/ENVIRONMENT.md
PR 20248 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvEmitterHelpers.cpp
docs/dev/ENVIRONMENT.md
PR 20518 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp
core/libs/prx/libSceAgcDriver/tests/Mesh.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/SpirvBackend/src/SpirvModuleEmitter.cpp
core/shader/recompiler/tests/RequestSerializerTests.cpp
docs/dev/ENVIRONMENT.md
PR 20519 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Pipeline.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Shaders.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderValidation.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/CMakeLists.txt
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitter.hpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hpp
core/shader/recompiler/SpirvBackend/src/SpirvEmitter.cpp
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvEmitterHelpers.cpp
core/shader/recompiler/SpirvBackend/src/SpirvModuleEmitter.cpp
docs/dev/ENVIRONMENT.md
PR 20728 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 20891 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 20944 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 21211 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
docs/dev/ENVIRONMENT.md
PR 21240 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 21303 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
docs/dev/ENVIRONMENT.md
PR 21460 docs/dev/ENVIRONMENT.md
PR 21649 docs/dev/ENVIRONMENT.md
PR 21745 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 21763 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 21776 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
core/shader/recompiler/SpirvBackend/src/SpirvEmitter.cpp
PR 21923 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Draw.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
PR 21948 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 21970 core/shader/recompiler/ShaderDiskCache.hpp
PR 21971 core/shader/recompiler/ShaderDiskCache.hpp
PR 22001 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 22025 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Draw.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
docs/dev/ENVIRONMENT.md
PR 22029 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
PR 22034 core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hpp
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvModuleSetup.cpp
PR 22071 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitter.hpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hpp
core/shader/recompiler/SpirvBackend/src/SpirvEmitter.cpp
core/shader/recompiler/tests/RequestSerializerTests.cpp
docs/dev/ENVIRONMENT.md
PR 22140 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
PR 22190 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
docs/dev/ENVIRONMENT.md
PR 22251 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/tests/RequestSerializerTests.cpp
PR 22328 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/tests/RequestSerializerTests.cpp
PR 22424 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Pipeline.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Shaders.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderValidation.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/CMakeLists.txt
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitter.hpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hpp
core/shader/recompiler/SpirvBackend/src/SpirvEmitter.cpp
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvEmitterHelpers.cpp
core/shader/recompiler/SpirvBackend/src/SpirvModuleEmitter.cpp
docs/dev/ARCHITECTURE.md
docs/dev/ENVIRONMENT.md
PR 22434 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
docs/dev/ARCHITECTURE.md
docs/dev/ENVIRONMENT.md
Report truncated: 301 more lines omitted.

@SuarezPM

SuarezPM commented Nov 9, 2026

Copy link
Copy Markdown
Contributor Author

@sherySJ thank you for the HD 520 run — passing with 0 validation errors on real mesh-less hardware (Mesa ANV, no VK_EXT_mesh_shader) is exactly the evidence this fallback was missing, and it closes the hardware gap in our Tested section. The vanished layerCount-compatibility warnings in layered_volume_draw are a welcome bonus.

Acknowledged on the version race: if #17056 merges first with 57/61, I will rebase and bump this PR to 58/62 (writer + bound + meshAsCompute gate + test assertions + FormatVersion) with fresh validation evidence, never resolving by keeping the shared numbers.

On the skip guards: agreed, the five mesh tests skipping on no-VK_EXT_mesh_shader means the fallback path has no test coverage on the very devices it targets. I would rather not widen test semantics inside this PR without @oneandonlydean's call — happy to do it here if he wants it, otherwise I will open a follow-up letting those guards accept meshAsCompute so mesh-less hardware exercises the fallback. Let me know your preference.

@sherySJ

sherySJ commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

@SuarezPM a follow-up sounds right to me: it keeps this PR's review on the fallback itself. When it is up, tag me and I will run those five tests on the HD 520 with the layer, so the follow-up gets the same mesh-less evidence.

@GiannisG1

Copy link
Copy Markdown
Contributor

Results from devices without VK_EXT_mesh_shader, where the fallback runs natively: an NVIDIA GTX 1050 Ti (Pascal, 580.178.04), an Intel HD Graphics 630 (Mesa 25.2.8 ANV) and llvmpipe (Mesa 25.2.8). Linux Mint 22.3, GCC 13.3.0, Release. Head 1e6ee875e3, compared with its base main 78acbbf639.

Tests. I ran the 17 mesh, layered, agc_driver_graphics, agc_shader_memory and request_serializer tests on each device, with VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation (1.3.275), ANYPS5_REQUIRE_VULKAN=1 and ANYPS5_NO_SHADER_CACHE=1:

  • main: 8 pass and 9 mesh tests skip on all three devices.
  • This PR: agc_driver_mesh now runs and passes on the GTX and the HD 630; llvmpipe still skips it. The other 8 skips are unchanged (6 × skipped, the device has no VK_EXT_mesh_shader, 1 × … or VK_EXT_shader_viewport_index_layer, 1 × the host subgroup layout), and the rest pass.
  • agc_mesh_output_budget passes on all three devices.
  • tools/check_skips.py: exit 0 everywhere. VUIDs are the same on main and this PR: 45 VUID-VkDeviceCreateInfo-pNext-pNext lines on the GTX and llvmpipe, none on the HD 630.

Titles. I reran the 34 ps5-homebrew-catalog titles that stopped on the mesh path in my last batch on main 105c9e4d91 (11-08): headless on the GTX under Xvfb, 90 s each. 27 of them stopped with AGC graphics: device does not support mesh shaders, and 7 with the barycentric refusal below. With this PR:

  • 12 run for the full 90 s without stopping: VLC, SpeedBreaker, SwanStationPS5, Second Coat: London, PSFlyCast, Crux2, DevilutionX, Mario 64, Ship of Harkinian, James Pond 2, Wind Waker HD, Link's Awakening. Under Xvfb I can't see what they draw, so this only says they keep running.
  • 19 stop at AGC driver: a pixel shader on the mesh path reads barycentrics, and this device has neither VK_KHR_fragment_shader_barycentric nor mesh shaders (VK_EXT_mesh_shader), so they cannot be provided or emulated. That is the 7 from before (PS5X360, ccleste, PSteroid5, PSXS5, ReKHCoM, Porpoise, Genesis Plus GX) plus 12 that used to stop earlier: RommPS, ProsperoAI, PSP5, Mortalfin, Seedee5, MihawkOS, PS5SX2, PSSwanStation, Dusklight, Eternal Darkness, Art Swap, ProsperoCraft. So on Pascal, barycentrics on the compute path now block most of the rest.
  • Rush 2 Recompiled and Wave Race 64 Recompiled get further and stop at FMASK CMASK compression is implemented only for 8-sample, 8-fragment FMASK.
  • Doom 3 BFG stops at AGC driver: guest memory is not readable at 0x400d900000, the same stop it had on main before it reached the mesh check (AGC: a guest unmap of direct memory that an already submitted DCB still reads stops Doom 3 BFG (PPSA99313) at "guest memory is not readable at 0x4009b00000" #8648).

The HD 630 can't present under Xvfb, so the titles ran on the GTX only.

@SteelCrab

Copy link
Copy Markdown
Contributor

Hi @SuarezPM @Gonic0, the current overlap scan for draft #16391 (WGSL/native-cache compatibility), against main a55d18f626, reports conflicts with #17611 and its dependent #15548 in CacheKey.hpp, Recompiler.hpp, and the artifact/result size assertions in ShaderDiskCache.cpp.

Would #16391 → #17611 → #15548 fit your plans? The later integration must retain the mesh-as-compute target field and your serialization/cache format changes, keep the WGSL-only key suffix after native fields, and recalculate combined size assertions. If your stack is ready to land first, I can follow it instead. I have not tested the combined runtime behavior and am not recording this as agreed until you confirm.

AI-assisted: yes.

@SuarezPM

SuarezPM commented Nov 9, 2026

Copy link
Copy Markdown
Contributor Author

@GiannisG1 thank you for taking this to real hardware — this is the strongest evidence the PR has. Twelve titles going from instant death on the mesh check to full 90 s runs is exactly what the fallback exists for, and zero new VUIDs across three mesh-less devices is the validation result I could not produce here.

Two honest caveats I am keeping: headless Xvfb proves they keep running, not that they render correctly, so pixel verification stays open. And on Pascal the barycentric refusal is now the next wall for most of the rest — that is the declared limitation (follow-up territory, see #9387), and refusing loudly is the correct behavior until someone builds that path. Thanks again for the three-device matrix.

@SuarezPM

SuarezPM commented Nov 9, 2026

Copy link
Copy Markdown
Contributor Author

@SteelCrab thanks for the careful scan — and for asking instead of assuming. The proposed stack works for me, with a preference for #17611 first: it is green, review-ready and carries hardware evidence, while #16391 is still a draft, so landing ours first means you integrate onto a stable base rather than us rebasing onto a moving one. I confirm the constraints either way: the mesh-as-compute target field stays, serialization 57 and format 61 stay, the WGSL-only key suffix stays after the native fields, and the size assertions get recalculated for the combined key. Final order is @oneandonlydean's call and I am flexible if he wants it the other way — just ping me the day the first of the two lands so I can rebase the other one the same day.

@oneandonlydean

Copy link
Copy Markdown
Collaborator

Hi @SuarezPM,

Thanks, the compute pass reads well: the output is sized from the same group count the dispatch uses, indirect mesh draws on this path are resolved on the host before the size is taken, and the version bumps cover the new request field and artifact member.

One blocker, on devices that do have VK_EXT_mesh_shader:

  • core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp lines 1303-1305 send a mesh-path draw to the compute pass whenever MeshDrawLayers(state) (the larger of the colour layers, colour depth and depth slices) exceeds maxMeshOutputLayers, even with mesh shaders present.
  • But VulkanDevice.cpp line 4654 compiles mesh programs with the compute record layout only when the device has no mesh shaders (target.meshAsCompute = !state->meshShader || forceMeshCompute). So on a mesh device the program has meshRecordLayout == 0, and MeshComputeStages (lines 1354-1357) returns no compute stages.
  • Pipeline.cpp line 507, planDraw and recordDraw still call MeshDrawRunsAsCompute directly. The pipeline is built without a compute stage, and recordMeshCompute then throws at line 2729 ("the pipeline has no compute stage for its mesh program").

Example: the existing LayeredVolumeDraw mesh case (a 34-slice volume) on a device that reports 8 mesh output layers. On main it takes the mesh layer-window path in Draw. With this PR each window still carries color.depth == 34, so the draw goes to compute and throws. The same happens for a mesh draw into any target with more than 8 layers or slices that exports no layer, which drew natively before. It doesn't show on hardware with a 2048-layer limit.

Could the draw-time decision match the compile-time one? The simplest fix is state.stages.mesh && (forced || !context.meshShader), keeping the existing window path for oversized layers on mesh devices. The tests at core/libs/prx/libSceAgcDriver/tests/Graphics.cpp around line 12589 that expect compute on a mesh device with 8 layers would change with it.

Smaller notes, not blocking:

  • ShaderValidation.cpp line 251 now accepts the 64-bit/BDA capabilities for native mesh shaders whatever their bdaAbiVersion, not only for the compute and readback stages. Was that intended for native mesh too?
  • The readback-shader cache in MeshComputeStages is a static map keyed by variant id that is never trimmed. That's fine for a fallback, but worth a comment.

The draw-time MeshDrawRunsAsCompute decision now matches the compile-time one (mesh && (forced || !meshShader)): on mesh-capable devices oversized-layer draws stay on the native layer-window replay instead of throwing in recordMeshCompute, whose pipeline has no compute stage there. Removes the now-unused MeshDrawLayers helper, scopes the BDA capability allowance to the compute/readback stages, documents the readback cache, and rewords the ARCHITECTURE section. Tests updated plus a literal 34-slice/8-layer regression.
@SuarezPM

SuarezPM commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor Author

@oneandonlydean thanks — sharp catch, and you are right about why it hid here: this card reports 2048 mesh output layers, so the oversized-layers branch never fired locally. Fixed in 7957c8e:

Blocker. MeshDrawRunsAsCompute is now mesh && (forced || no-mesh-shader) at both draw-time sites (the shared 3-arg overload, so DrawCapture matches too), and the now-unused MeshDrawLayers helper plus its header declaration are gone. Oversized layers on mesh devices stay on the layer-window replay; compute only fires where the program was compiled with the record layout. The ARCHITECTURE.md sentence describing the old rule is reworded. Tests: the 32-slice/8-layer and depth-slice cases now assert the native window path, plus a literal 34-slice/8-layer regression mirroring your example. Re-verified from a clean build: 22/22 in default, FORCE (+1 expected skip) and NOMESH (+8 pre-existing skips), and -V validation runs with 0 VUIDs and no missing-layer warnings in all three modes.

ShaderValidation:251. The mesh term came along with #9356, and on reflection it does not belong to native mesh: main lives without that relaxation today, so I scoped the allowance to the two new stages (meshCompute and meshReadback). Native validation behavior is now identical to main.

Readback map. Agreed it deserves a record, but a code comment would break the no-comments rule, so I put it where the project keeps this class of notes instead: new entry in docs/dev/debt/libSceAgcDriver.md (Functional), with the LRU-or-cap follow-up spelled out. The PR body already listed it as a known limitation.

One thing I could not cover here: a device with few mesh output layers running the layered-volume mesh case end to end — my 2048-layer card cannot produce that shape. If you have such hardware handy, that is the run I would trust most.

@Gonic0

Gonic0 commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Fine with me. #15548's own commit only touches the recorder, Draw.cpp and its test; the CacheKey.hpp, Recompiler.hpp and ShaderDiskCache.cpp overlap comes from #17611 underneath it. So whichever order you and @SuarezPM settle on, I'll rebase #15548 onto what has merged and recheck the size asserts then. No preference on #16391 vs #17611 going first.

AI-assisted: yes

@SuarezPM

SuarezPM commented Nov 9, 2026

Copy link
Copy Markdown
Contributor Author

@Gonic0 thanks — noted, and that stacking makes it easy: once either #17611 or #16391 lands, the other rebases and #15548 follows on top with the size asserts rechecked. Nothing needed from my side until Dean picks the order.

sherySJ added a commit to sherySJ/AnyPS5 that referenced this pull request Nov 9, 2026
sherySJ added a commit to sherySJ/AnyPS5 that referenced this pull request Nov 9, 2026
… no longer has

A mesh-capable device no longer runs a draw as compute because of its layer count, so the mesh-mode pixel shader gap in the barycentric entry cannot occur.
@GiannisG1

Copy link
Copy Markdown
Contributor

Data from a GPU without mesh shaders, running real titles: a GTX 1050 Ti (Pascal, NVIDIA 580.178.04 on Linux), which has no VK_EXT_mesh_shader and so gets a SPIR-V 1.3 target. The build uses -DANYPS5_ENABLE_SPIRV_TOOLS=ON, as main's Linux job does. I merged head 59203ed861 onto main e09d1349b5 and ran the 47 ps5-homebrew-catalog titles that stop at a mesh-stage recompile on main, 90 s each, headless under Xvfb.

GTX 1050 Ti main (d237f5d065, same machine and catalog) this PR
still running after 90 s 0 20
stopped 47 26
crashed 0 1
  • On main, all 47 stop at the mesh-stage (stage 7) recompile. With SPIRV-Tools on, the error is SPIRV-Tools: module version exceeds requested SPIR-V target; in our 11-20 build without SPIRV-Tools, 32 of them stopped at device does not support mesh shaders and 9 at the mesh path's barycentrics.
  • With this PR, 20 keep running for the whole 90 s: Crux2, DK64 Rekongpiled, DevilutionX, DevilutionX for PlayStation 5, James Pond 2: Codename RoboCod, Link’s Awakening for PS5, Mario 64, OGBox, PSFlyCast, Rush 2 Recompiled, Second Coat: London, Shining Force III, Ship of Harkinian (Vulkan), SpeedBreaker (NFS: Most Wanted), SwanStationPS5, TrinityX360, VLC, Wave Race 64 Recompiled, Wind Waker HD, osu!.
  • 25 stop at the next shader, the mesh path's pixel shader (stage 5), with SPIR-V validation before optimization failed: SPV_EXT_mesh_shader extension requires SPIR-V version 1.4 or later. OpExtension "SPV_EXT_mesh_shader". The pixel shader still declares SPV_EXT_mesh_shader although the draw now goes through the compute pass, on a device that has neither the extension nor a SPIR-V 1.4 target. A build without SPIRV-Tools does not validate, so that module would reach a driver without the extension.
  • One title, Conker's Bad Fur Day, stops at AGC driver: guest memory is not readable at 0x4009000000 (range 0x4009000000+0x60000), and one, ProsperoAI, aborts with signal 6.

I can attach logs, or rerun on a new head.

@SuarezPM

Copy link
Copy Markdown
Contributor Author

@GiannisG1 thank you — this is the strongest title-level signal we have on a mesh-less Pascal part: 0/47 still running on main vs 20/47 running the full 90 s with this head, same machine and catalog, headless Xvfb. I read it as the fallback doing its job (mesh-stage recompile gone) and the next shader becoming the new ceiling, which is exactly what a subset-only fallback should show.

On the 25 that stop at stage 5: your reading looks right, and it points at the emitter, not the validation. Recompiler.cpp:861 sets meshBarycentricPixel for any fragment with graphics->mesh, SpirvEmitter.cpp:293 keeps state.meshAsCompute true only for the Mesh stage, so the pixel shader keeps the mesh path, and SpirvEmitterHelpers.cpp:260-261 emits CapabilityMeshShadingEXT + SPV_EXT_mesh_shader for the PerPrimitiveEXT positions input while the module header stays SPIR-V 1.3 for non-mesh stages (SpirvEmitterState ctor). That combination is invalid on a device with neither the extension nor a 1.4 target, so SPIRV-Tools fails it before optimization. A build without ANYPS5_ENABLE_SPIRV_TOOLS would not validate and would hand that module to a driver without the extension, so the fix has to be in the emitter, not in disabling validation.

Most likely those 25 are hitting the declared barycentric limitation through the wrong error: on the compute fallback there is no barycentric path, so a mesh-path pixel shader that reads barycentrics should get the honest refusal (the #9387 follow-up), not a mesh-extension pixel module. I am keeping it out of this PR to avoid widening scope after review, and I have it as the pixel-side item of the guard follow-up alongside the per-record dispatch.

To pin it, could you attach one full log for a single failing title from the 25 (command, stage 5 validation lines plus the surrounding shader-compile lines)? That tells us whether it is always the PerPrimitiveEXT positions input or another mesh-extension use in the pixel module. No rerun needed on a new head until that fix is up.

Conker (guest memory is not readable at 0x4009000000) and ProsperoAI (signal 6) look separate from the mesh path — if you still have them, a main-vs-PR pair of logs for those two would say whether they are pre-existing on this catalog or introduced here.

I have added your GTX 1050 Ti row to Tested as combined title evidence (20 running / 25 pixel-stage ceiling / 1 + 1 separate), worded so it cannot be read as per-title support.

AI-assisted: yes.

@GiannisG1

Copy link
Copy Markdown
Contributor

Logs as asked, from the same runs as the table above. Each title is relinked with relinker --to-intel and started as ./app.elf from its run directory, with ANYPS5_GPU="GTX 1050" under Xvfb and a 90 s limit. Paths are shortened to <work>, and lines over 400 characters (the base64 RecompileRequest blobs) are cut; I can send the full ones.

One of the 25 stage-5 stops, complete: Lantern Miner (PPSA58001) on this PR:

Lantern Miner, #17611 59203ed (full log)
[src/HostCpu.cpp:220 operator()] host CPU Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz: has SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, POPCNT, LZCNT, BMI1, BMI2, MOVBE, CMPXCHG16B, LAHF/SAHF, AVX, AVX2, FMA, F16C, AES, PCLMULQDQ, RDRAND, RDSEED, ADX, CLFLUSHOPT, XSAVEOPT, XSAVEC, PREFETCHW, OS AVX state (XCR0); lacks SHA, CLWB, RDPID, SSE4A, CLZERO
[src/Thread.cpp:1011 RunThread] RunThread entry=0xb7fb30 arg=0x2000000640 self=0x71cff2f20160
[src/Thread.cpp:1011 RunThread] RunThread entry=0xb7fed0 arg=(nil) self=0x3dee77a0
[debug:0] [LanternMiner] Lantern Miner starts; data dir /data/lantern-miner
[debug:0] [LanternMiner] PASS vkCreateInstance (0)
[debug:0] [LanternMiner:stderr] ac_compute_device_uuid's output is based on invalid pci bus info.
[src/Open.cpp:408 sceKernelOpen] path=/app0/radv-shader-cache/mesa_shader_cache_db/index flags=0x100202 nativeFlags=0x80042 mode=0666
[src/Open.cpp:408 sceKernelOpen] path=/dev/urandom flags=0x0 nativeFlags=0x0 mode=05
[src/Thread.cpp:1011 RunThread] RunThread entry=0xb7fb30 arg=0x20000136c0 self=0x71cff2f3a420
[src/Open.cpp:408 sceKernelOpen] path=/app0/radv-shader-cache/radv_builtin_shaders/index flags=0x100202 nativeFlags=0x80042 mode=0666
[src/Open.cpp:408 sceKernelOpen] path=/dev/urandom flags=0x0 nativeFlags=0x0 mode=05
[src/Thread.cpp:1011 RunThread] RunThread entry=0xb7fb30 arg=0x2000014240 self=0x71cff2f6af80
[debug:0] [LanternMiner] device: PlayStation 5 GPU (RADV NAVI21), Vulkan 1.4.354, radv Mesa 26.2.0
[debug:0] [LanternMiner] PASS vkCreateDevice (0)
[src/VulkanDevice.cpp:1498 VulkanDevice] VulkanDevice constructor window=0x71cff15d6c00
[src/VulkanDevice.cpp:1509 VulkanDevice] Vulkan loader loaded library=0x71cfd4000ca0
[src/VulkanDevice.cpp:1525 VulkanDevice] Presentation window context=0x71cfd4112e20 extent=1920x1080 extensions=2
[src/VulkanDevice.cpp:1553 VulkanDevice] Vulkan instance created instance=0x71cfd40050d0
[src/VulkanDevice.cpp:1558 VulkanDevice] Vulkan surface created surface=0x71cfd4437a00 window=0x71cfd4112e20
[src/VulkanDevice.cpp:1564 VulkanDevice] Physical device count=3
[src/VulkanDevice.cpp:1601 VulkanDevice] Physical device candidate=0x71cfd44450c0 name=NVIDIA GeForce GTX 1050 Ti api=0x404138 type=2
[src/VulkanDevice.cpp:1601 VulkanDevice] Physical device candidate=0x71cfd4445090 name=Intel(R) HD Graphics 630 (KBL GT2) api=0x40413e type=1
[src/VulkanDevice.cpp:1601 VulkanDevice] Physical device candidate=0x71cfd4445060 name=llvmpipe (LLVM 20.1.2, 256 bits) api=0x40413e type=4
[src/VulkanDevice.cpp:1659 VulkanDevice] Physical device selected physical=0x71cfd44450c0 queueFamily=0
[src/VulkanDevice.cpp:1680 VulkanDevice] Selected GPU name=NVIDIA GeForce GTX 1050 Ti vendor=0x10de device=0x1c82 subgroup=32
[src/VulkanDevice.cpp:1682 VulkanDevice] Memory heap 0 size=4096.0 MiB flags=0x1
[src/VulkanDevice.cpp:1682 VulkanDevice] Memory heap 1 size=11901.3 MiB flags=0x0
[src/VulkanDevice.cpp:1682 VulkanDevice] Memory heap 2 size=246.0 MiB flags=0x1
[src/VulkanDevice.cpp:1683 VulkanDevice] Memory type 0 heap=1 flags=0x0
[src/VulkanDevice.cpp:1683 VulkanDevice] Memory type 1 heap=1 flags=0x0
[src/VulkanDevice.cpp:1683 VulkanDevice] Memory type 2 heap=1 flags=0x0
[src/VulkanDevice.cpp:1683 VulkanDevice] Memory type 3 heap=1 flags=0x0
[src/VulkanDevice.cpp:1683 VulkanDevice] Memory type 4 heap=1 flags=0x0
[src/VulkanDevice.cpp:1683 VulkanDevice] Memory type 5 heap=1 flags=0x0
[src/VulkanDevice.cpp:1683 VulkanDevice] Memory type 6 heap=1 flags=0x0
[src/VulkanDevice.cpp:1683 VulkanDevice] Memory type 7 heap=0 flags=0x1
[src/VulkanDevice.cpp:1683 VulkanDevice] Memory type 8 heap=1 flags=0x6
[src/VulkanDevice.cpp:1683 VulkanDevice] Memory type 9 heap=1 flags=0xe
[src/VulkanDevice.cpp:1683 VulkanDevice] Memory type 10 heap=2 flags=0x7
[src/VulkanDevice.cpp:1705 VulkanDevice] Pixel interpolation driver=4 hostInterpolationFirst=0
[src/VulkanDevice.cpp:1788 VulkanDevice] Shader clock driver=4 narrowSubgroupClock=0
[gpu] largest sample location grids (vkGetPhysicalDeviceMultisamplePropertiesEXT): 1 samples 4x4, 2 samples 2x4, 4 samples 2x2, 8 samples 1x2; maxSampleLocationGridSize for every count 1x1
[src/VulkanDevice.cpp:2220 VulkanDevice] Vulkan features tessellationAvailable=1 mesh=0 depthClip=1 depthRangeUnrestricted=1 pipelineLibrary=1
[src/VulkanDevice.cpp:2510 VulkanDevice] Wave32 programs run on subgroups of 32: compute 1, mesh 0
[src/VulkanDevice.cpp:2514 VulkanDevice] single-wave wave64 compute spans full subgroups: 1, of any size: 0
[src/VulkanDevice.cpp:2648 VulkanDevice] Presentation queue family=0 index=1
[src/VulkanDevice.cpp:2763 VulkanDevice] Vulkan device ready device=0x71cfd4473990 queue=0x71cfd479fbe0 family=0
[write-watch] host imports resolve write protection: no (0 of 4 scratch pages written after a GPU read, 0 after a GPU write, 4 after the import); imported ranges stay watched
[src/VulkanDevice.cpp:2817 VulkanDevice] Surface capabilities drawable=1152x648 min=1152x648 max=1152x648 minImages=2 maxImages=8 usage=0x9f
[src/VulkanDevice.cpp:2859 VulkanDevice] Swapchain created swapchain=0x71cfd4b8b1e0 extent=1152x648 images=3
[shader-disk-cache] <work>/PPSA58001/run/shader_cache/8d0325be77604c80 (source version 8d0325be77604c80, format 97)
[float-controls] f32 denormal flush: hardware (0 of 5472 probe results differ from the emulated flush, 763 ms)
[float-controls] f16 to f32 NaN results: emulated (8184 of 262144 probe results differ, first 0xd9a47c01: 0x7f802000 emulated, 0x7fffffff native); f32 to f16 NaN results: emulated (no native conversion) (63 ms)
[debug:0] [LanternMiner] display 3840x2160, mode 0 at 59.940 Hz
[debug:0] [LanternMiner:stderr] wsi/videoout: 3840x2160 framebuffers registered as set 0, buffers 0-4
[debug:0] [LanternMiner] PASS vkCreateSwapchainKHR (0), surface support 1
[debug:0] [LanternMiner] swapchain images: 3
[src/Open.cpp:408 sceKernelOpen] path=/app0/radv-shader-cache/radv_builtin_shaders/part0/mesa_cache.db flags=0x100202 nativeFlags=0x80042 mode=0666
[src/Open.cpp:408 sceKernelOpen] path=/app0/radv-shader-cache/radv_builtin_shaders/part0/mesa_cache.idx flags=0x100202 nativeFlags=0x80042 mode=0666
[src/Open.cpp:408 sceKernelOpen] path=/app0/radv-shader-cache/radv_builtin_shaders/part0/mesa_cache.db flags=0x100000 nativeFlags=0x80000 mode=0177777
[src/Open.cpp:408 sceKernelOpen] path=/app0/radv-shader-cache/radv_builtin_shaders/part0/mesa_cache.idx flags=0x100000 nativeFlags=0x80000 mode=043425
[src/Thread.cpp:1011 RunThread] RunThread entry=0xb7fb30 arg=0x2000162200 self=0x71cf7c05ba00
[src/Thread.cpp:1011 RunThread] RunThread entry=0xb7fb30 arg=0x2000162620 self=0x71cff2f6ad70
[Shaders/ShaderRegistry.cpp:913 ReportPreparedAtUse] Graphics shader 0x200790000 was not registered; preparing its artifact at first use
[Shaders/ShaderRegistry.cpp:913 ReportPreparedAtUse] Graphics shader 0x200790200 was not registered; preparing its artifact at first use
[Shaders/ShaderRegistry.cpp:958 DrawRectangle] Rect-list draw of shader 0x200790000 has no rectangle for fragment shader 0x200790200; preparing it at draw
[src/Thread.cpp:1011 RunThread] RunThread entry=0xb7fb30 arg=0x20000d2ba0 self=0x71cff2f6b660
[Shaders/ShaderRegistry.cpp:913 ReportPreparedAtUse] Graphics shader 0x200790400 was not registered; preparing its artifact at first use
[Shaders/ShaderRegistry.cpp:958 DrawRectangle] Rect-list draw of shader 0x200790000 has no rectangle for fragment shader 0x200790400; preparing it at draw
[src/Thread.cpp:1011 RunThread] RunThread entry=0xb7fb30 arg=0x20001e0da0 self=0x71cf88a24bf0
[src/Thread.cpp:1011 RunThread] RunThread entry=0xb7fb30 arg=0x20002714e0 self=0x71cf88a28b10
[debug:0] [LanternMiner] PASS renderer: 3840x2160, scale 2.00, atlas 4096
[src/Open.cpp:408 sceKernelOpen] path=/app0/radv-shader-cache/mesa_shader_cache_db/part0/mesa_cache.db flags=0x100202 nativeFlags=0x80042 mode=0666
[src/Open.cpp:408 sceKernelOpen] path=/app0/radv-shader-cache/mesa_shader_cache_db/part0/mesa_cache.idx flags=0x100202 nativeFlags=0x80042 mode=0666
[src/Open.cpp:408 sceKernelOpen] path=/app0/radv-shader-cache/mesa_shader_cache_db/part0/mesa_cache.db flags=0x100000 nativeFlags=0x80000 mode=0177777
[src/Open.cpp:408 sceKernelOpen] path=/app0/radv-shader-cache/mesa_shader_cache_db/part0/mesa_cache.idx flags=0x100000 nativeFlags=0x80000 mode=01425
[debug:0] [LanternMiner] music: title theme /app0/assets/music/theme.wav
[debug:0] [LanternMiner] app: ready, save /data/lantern-miner
[debug:0] [LanternMiner] pad: user 268435456 handle 1
[debug:0] [LanternMiner] pad: rumble mode -> 0
[debug:0] [LanternMiner] main loop
[src/Thread.cpp:1011 RunThread] RunThread entry=0xb7fb30 arg=0x2000271480 self=0x71cf88a2fc20
[debug:0] [LanternMiner] audio: sceAudioOutOpen -> 1
[debug:0] [LanternMiner] art: art/title.jpg 1920x1080 -> texture 2
[gpu] layer/viewport index vertex exports are ignored (PA_CL_VS_OUT_CNTL=0x01240000)
[src/Thread.cpp:1011 RunThread] RunThread entry=0xb7fb30 arg=0x200030dc20 self=0x71cf88a2fde0
[Shaders/ShaderRegistry.cpp:913 ReportPreparedAtUse] Graphics shader 0x200791100 was not registered; preparing its artifact at first use
[src/Thread.cpp:1011 RunThread] RunThread entry=0xb7fb30 arg=0x2000160be0 self=0x71cf88a30080
[Shaders/ShaderRegistry.cpp:913 ReportPreparedAtUse] Graphics shader 0x200791300 was not registered; preparing its artifact at first use
[Shaders/ShaderRegistry.cpp:958 DrawRectangle] Rect-list draw of shader 0x200791100 has no rectangle for fragment shader 0x200791300; preparing it at draw
[Shaders/ShaderRegistry.cpp:913 ReportPreparedAtUse] Graphics shader 0x200790600 was not registered; preparing its artifact at first use
[Shaders/ShaderRegistry.cpp:913 ReportPreparedAtUse] Graphics shader 0x200790c00 was not registered; preparing its artifact at first use
[gpu] driver failure: shader 0x200790c00 stage 5: ShaderRecompiler::Recompile: SPIR-V validation before optimization failed:
level=2 word=7: SPV_EXT_mesh_shader extension requires SPIR-V version 1.4 or later.
  OpExtension "SPV_EXT_mesh_shader"

RecompileRequest:
NVNQQUAAAAAFAAx5AAIAAAAFAQAAAAAAAH4EgL5+Cv6+BAP8vgADIMgABCTIAAEMyAAAEMgABRTIAAkYyAACHMgBAyHIAQQlyAEBDcgBABHIAQUVyAEJGcgBAh3IAwM+fgQDPH4GEQx+gAwEfQAE/r5qfv6HDwCIvwIDhL6CA4W+AQChvwICDPQAAAD6AgEI9FAAAPp/wIy/CA+A8B4AIgBwP4y/BwEOEAgDEBAJBRIQBQcKEAB+/orHAIi/fgSEvoEMJH0MAIi/AgOGvoIDh74BAKG/AwIM9AAAAPoDBAj0UAAA+n/AjL8IAYDwHgCCAHA/jL8FAQoQBH7+irYAiL9+BIa+hwwqfbMAiL8ACijIAAYsyAAHMMgBCinIAQYtyAEHMch+BIi+igwk [… 9072 more characters]
[videoout] presentation failed: shader 0x200790c00 stage 5: ShaderRecompiler::Recompile: SPIR-V validation before optimization failed:
level=2 word=7: SPV_EXT_mesh_shader extension requires SPIR-V version 1.4 or later.
  OpExtension "SPV_EXT_mesh_shader"

RecompileRequest:
NVNQQUAAAAAFAAx5AAIAAAAFAQAAAAAAAH4EgL5+Cv6+BAP8vgADIMgABCTIAAEMyAAAEMgABRTIAAkYyAACHMgBAyHIAQQlyAEBDcgBABHIAQUVyAEJGcgBAh3IAwM+fgQDPH4GEQx+gAwEfQAE/r5qfv6HDwCIvwIDhL6CA4W+AQChvwICDPQAAAD6AgEI9FAAAPp/wIy/CA+A8B4AIgBwP4y/BwEOEAgDEBAJBRIQBQcKEAB+/orHAIi/fgSEvoEMJH0MAIi/AgOGvoIDh74BAKG/AwIM9AAAAPoDBAj0UAAA+n/AjL8IAYDwHgCCAHA/jL8FAQoQBH7+irYAiL9+BIa+hwwqfbMAiL8ACijIAAYsyAAHMMgBCinIAQYtyAEHMch+BIi+igwk [… 9072 more characters]
terminate called after throwing an instance of 'std::runtime_error'
  what():  shader 0x200790c00 stage 5: ShaderRecompiler::Recompile: SPIR-V validation before optimization failed:
level=2 word=7: SPV_EXT_mesh_shader extension requires SPIR-V version 1.4 or later.
  OpExtension "SPV_EXT_mesh_shader"

RecompileRequest:
NVNQQUAAAAAFAAx5AAIAAAAFAQAAAAAAAH4EgL5+Cv6+BAP8vgADIMgABCTIAAEMyAAAEMgABRTIAAkYyAACHMgBAyHIAQQlyAEBDcgBABHIAQUVyAEJGcgBAh3IAwM+fgQDPH4GEQx+gAwEfQAE/r5qfv6HDwCIvwIDhL6CA4W+AQChvwICDPQAAAD6AgEI9FAAAPp/wIy/CA+A8B4AIgBwP4y/BwEOEAgDEBAJBRIQBQcKEAB+/orHAIi/fgSEvoEMJH0MAIi/AgOGvoIDh74BAKG/AwIM9AAAAPoDBAj0UAAA+n/AjL8IAYDwHgCCAHA/jL8FAQoQBH7+irYAiL9+BIa+hwwqfbMAiL8ACijIAAYsyAAHMMgBCinIAQYtyAEHMch+BIi+igwk [… 9072 more characters]

Conker's Bad Fur Day (PPSA64065), main vs this PR (last 60 lines each):
On main, it stops at the stage-7 recompile. On this PR, it gets past the mesh draws and throws guest memory is not readable at 0x4009000000 (range 0x4009000000+0x60000).

Conker, main d237f5d
[src/VulkanDevice.cpp:1685 VulkanDevice] Memory type 4 heap=1 flags=0x0
[src/VulkanDevice.cpp:1685 VulkanDevice] Memory type 5 heap=1 flags=0x0
[src/VulkanDevice.cpp:1685 VulkanDevice] Memory type 6 heap=1 flags=0x0
[src/VulkanDevice.cpp:1685 VulkanDevice] Memory type 7 heap=0 flags=0x1
[src/VulkanDevice.cpp:1685 VulkanDevice] Memory type 8 heap=1 flags=0x6
[src/VulkanDevice.cpp:1685 VulkanDevice] Memory type 9 heap=1 flags=0xe
[src/VulkanDevice.cpp:1685 VulkanDevice] Memory type 10 heap=2 flags=0x7
[src/VulkanDevice.cpp:1707 VulkanDevice] Pixel interpolation driver=4 hostInterpolationFirst=0
[src/VulkanDevice.cpp:1790 VulkanDevice] Shader clock driver=4 narrowSubgroupClock=0
[gpu] largest sample location grids (vkGetPhysicalDeviceMultisamplePropertiesEXT): 1 samples 4x4, 2 samples 2x4, 4 samples 2x2, 8 samples 1x2; maxSampleLocationGridSize for every count 1x1
[src/VulkanDevice.cpp:2237 VulkanDevice] Vulkan features tessellationAvailable=1 mesh=0 depthClip=1 depthRangeUnrestricted=1 pipelineLibrary=1
[src/VulkanDevice.cpp:2531 VulkanDevice] Wave32 programs run on subgroups of 32: compute 1, mesh 0
[src/VulkanDevice.cpp:2535 VulkanDevice] single-wave wave64 compute spans full subgroups: 1, of any size: 0
[src/VulkanDevice.cpp:2669 VulkanDevice] Presentation queue family=0 index=1
[src/VulkanDevice.cpp:2784 VulkanDevice] Vulkan device ready device=0x7b1620486390 queue=0x7b1620507930 family=0
[write-watch] host imports resolve write protection: no (0 of 4 scratch pages written after a GPU read, 0 after a GPU write, 4 after the import); imported ranges stay watched
[src/VulkanDevice.cpp:2838 VulkanDevice] Surface capabilities drawable=1152x648 min=1152x648 max=1152x648 minImages=2 maxImages=8 usage=0x9f
[src/VulkanDevice.cpp:2880 VulkanDevice] Swapchain created swapchain=0x7b1620b9e4b0 extent=1152x648 images=3
[shader-disk-cache] <work>/PPSA64065/run/shader_cache/d9ae0390c263d762 (source version d9ae0390c263d762, format 96)
[float-controls] f32 denormal flush: hardware (0 of 5472 probe results differ from the emulated flush, 777 ms)
[float-controls] f16 to f32 NaN results: emulated (8184 of 262144 probe results differ, first 0xd9a47c01: 0x7f802000 emulated, 0x7fffffff native); f32 to f16 NaN results: emulated (no native conversion) (70 ms)
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1c17d90 arg=0x2002a44da0 self=0x7b165812f2a0
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1c17d90 arg=0x2002b0d2e0 self=0x7b165812f480
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1c17d90 arg=0x2002c006e0 self=0x7b165814cdd0
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1c17d90 arg=0x2002a45260 self=0x7b165814cf90
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1c17d90 arg=0x200908ab20 self=0x7b165817df70
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1c17d90 arg=0x2002b6d540 self=0x7b1658181b80
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1c17d90 arg=0x2002b6df40 self=0x7b16581852f0
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1c17d90 arg=0x2002b6e0c0 self=0x7b16581a0b10
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1c17d90 arg=0x2002bf8d80 self=0x7b16581a4080
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1c17d90 arg=0x2002bf8e80 self=0x7b16581a75f0
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1c17d90 arg=0x2002bf8fa0 self=0x7b16581aad60
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1c17d90 arg=0x2002bf90e0 self=0x7b16581ae2d0
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1c17d90 arg=0x2002b56d20 self=0x7b16581b1fe0
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1c17d90 arg=0x2001000740 self=0x7b165401eff0
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1c17d90 arg=0x2001000840 self=0x7b16540226e0
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1c17d90 arg=0x20010041c0 self=0x7b1654028f60
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1c17d90 arg=0x2001004280 self=0x7b165402c4c0
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1c17d90 arg=0x2002b25d40 self=0x7b16581e1410
[src/Open.cpp:407 sceKernelOpen] path=/app0/radv-shader-cache/radv_builtin_shaders/part0/mesa_cache.db flags=0x100202 nativeFlags=0x80042 mode=0666
[src/Open.cpp:407 sceKernelOpen] path=/app0/radv-shader-cache/radv_builtin_shaders/part0/mesa_cache.idx flags=0x100202 nativeFlags=0x80042 mode=0666
[src/Open.cpp:407 sceKernelOpen] path=/app0/radv-shader-cache/radv_builtin_shaders/part0/mesa_cache.db flags=0x100000 nativeFlags=0x80000 mode=00
[src/Open.cpp:407 sceKernelOpen] path=/app0/radv-shader-cache/radv_builtin_shaders/part0/mesa_cache.idx flags=0x100000 nativeFlags=0x80000 mode=00
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1c17d90 arg=0x2002b26780 self=0x7b16581e15f0
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1c17d90 arg=0x2002ae30e0 self=0x7b1658232470
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1c17d90 arg=0x2002ae39c0 self=0x7b1658232650
[Shaders/ShaderRegistry.cpp:909 ReportPreparedAtUse] Compute shader 0x201562b00 was not registered; preparing its artifact at dispatch
[Shaders/ShaderRegistry.cpp:909 ReportPreparedAtUse] Compute shader 0x201541d00 was not registered; preparing its artifact at dispatch
[Shaders/ShaderRegistry.cpp:912 ReportPreparedAtUse] Graphics shader 0x201540d00 was not registered; preparing its artifact at first use
[shadow] seed 0x4004280000+0x10000 from the import
[gpu] driver failure: shader 0x201540d00 stage 7: ShaderRecompiler::Recompile: SPIRV-Tools: module version exceeds requested SPIR-V target
RecompileRequest:
NVNQQT8AAAAHAA1UAQIAAAAqAQAAAAAAAAMAj7/BBP6+Av8AhwAAAHyAAwSZCAoESouAAYXBBISUCgEBh4IEBH0GAAHV8/6pAQAAQECBBAR9BwAB1fP+qQEAAEBA8QCEvwP/gJMYAAQAAIYBjwIAZdfBAgACAgBm18EEAgKcBAYWBAT+vvICCH6AAhB+EAA02AMEAAABAjjYAwYHABQAeNgDCAAA4/+jvwAAir8DiAGPwQH+lH4Ehr54AIi/BABz15wAAgIAEHPXnAACAgEAc9ecAgICEADY2AQAAAgQANjYAAAACRAA2NgBAAAKAQLc2AQAAAwBAtzYAAAADgEC3NgBAAAQCoANv8GAkIUKgQ2/wYCShQqCDb/BgJSFf8WMv4AQCHx/xIy/FgAE [… 7580 more characters]
[videoout] presentation failed: shader 0x201540d00 stage 7: ShaderRecompiler::Recompile: SPIRV-Tools: module version exceeds requested SPIR-V target
RecompileRequest:
NVNQQT8AAAAHAA1UAQIAAAAqAQAAAAAAAAMAj7/BBP6+Av8AhwAAAHyAAwSZCAoESouAAYXBBISUCgEBh4IEBH0GAAHV8/6pAQAAQECBBAR9BwAB1fP+qQEAAEBA8QCEvwP/gJMYAAQAAIYBjwIAZdfBAgACAgBm18EEAgKcBAYWBAT+vvICCH6AAhB+EAA02AMEAAABAjjYAwYHABQAeNgDCAAA4/+jvwAAir8DiAGPwQH+lH4Ehr54AIi/BABz15wAAgIAEHPXnAACAgEAc9ecAgICEADY2AQAAAgQANjYAAAACRAA2NgBAAAKAQLc2AQAAAwBAtzYAAAADgEC3NgBAAAQCoANv8GAkIUKgQ2/wYCShQqCDb/BgJSFf8WMv4AQCHx/xIy/FgAE [… 7580 more characters]
terminate called after throwing an instance of 'std::runtime_error'
  what():  shader 0x201540d00 stage 7: ShaderRecompiler::Recompile: SPIRV-Tools: module version exceeds requested SPIR-V target
RecompileRequest:
NVNQQT8AAAAHAA1UAQIAAAAqAQAAAAAAAAMAj7/BBP6+Av8AhwAAAHyAAwSZCAoESouAAYXBBISUCgEBh4IEBH0GAAHV8/6pAQAAQECBBAR9BwAB1fP+qQEAAEBA8QCEvwP/gJMYAAQAAIYBjwIAZdfBAgACAgBm18EEAgKcBAYWBAT+vvICCH6AAhB+EAA02AMEAAABAjjYAwYHABQAeNgDCAAA4/+jvwAAir8DiAGPwQH+lH4Ehr54AIi/BABz15wAAgIAEHPXnAACAgEAc9ecAgICEADY2AQAAAgQANjYAAAACRAA2NgBAAAKAQLc2AQAAAwBAtzYAAAADgEC3NgBAAAQCoANv8GAkIUKgQ2/wYCShQqCDb/BgJSFf8WMv4AQCHx/xIy/FgAE [… 7580 more characters]
Conker, #17611 59203ed
[src/VulkanDevice.cpp:1788 VulkanDevice] Shader clock driver=4 narrowSubgroupClock=0
[gpu] largest sample location grids (vkGetPhysicalDeviceMultisamplePropertiesEXT): 1 samples 4x4, 2 samples 2x4, 4 samples 2x2, 8 samples 1x2; maxSampleLocationGridSize for every count 1x1
[src/VulkanDevice.cpp:2220 VulkanDevice] Vulkan features tessellationAvailable=1 mesh=0 depthClip=1 depthRangeUnrestricted=1 pipelineLibrary=1
[src/VulkanDevice.cpp:2510 VulkanDevice] Wave32 programs run on subgroups of 32: compute 1, mesh 0
[src/VulkanDevice.cpp:2514 VulkanDevice] single-wave wave64 compute spans full subgroups: 1, of any size: 0
[src/VulkanDevice.cpp:2648 VulkanDevice] Presentation queue family=0 index=1
[src/VulkanDevice.cpp:2763 VulkanDevice] Vulkan device ready device=0x7764484872f0 queue=0x7764485084a0 family=0
[write-watch] host imports resolve write protection: no (0 of 4 scratch pages written after a GPU read, 0 after a GPU write, 4 after the import); imported ranges stay watched
[src/VulkanDevice.cpp:2817 VulkanDevice] Surface capabilities drawable=1152x648 min=1152x648 max=1152x648 minImages=2 maxImages=8 usage=0x9f
[src/VulkanDevice.cpp:2859 VulkanDevice] Swapchain created swapchain=0x776448b9f160 extent=1152x648 images=3
[shader-disk-cache] <work>/PPSA64065/run/shader_cache/8d0325be77604c80 (source version 8d0325be77604c80, format 97)
[float-controls] f32 denormal flush: hardware (0 of 5472 probe results differ from the emulated flush, 695 ms)
[float-controls] f16 to f32 NaN results: emulated (8184 of 262144 probe results differ, first 0xd9a47c01: 0x7f802000 emulated, 0x7fffffff native); f32 to f16 NaN results: emulated (no native conversion) (61 ms)
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1c17d90 arg=0x2002a4b7e0 self=0x77648412bf00
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1c17d90 arg=0x2002a44d40 self=0x77648412c0e0
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1c17d90 arg=0x2002b43000 self=0x776484130570
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1c17d90 arg=0x2002b46860 self=0x77648414d0a0
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1c17d90 arg=0x2008ff5800 self=0x77648414d260
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1c17d90 arg=0x2008ff6bc0 self=0x77648417e1c0
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1c17d90 arg=0x2002bfab40 self=0x776484181dd0
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1c17d90 arg=0x2002aa7f20 self=0x776484185540
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1c17d90 arg=0x2002b250c0 self=0x7764841a0eb0
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1c17d90 arg=0x2002bf9500 self=0x7764841a4420
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1c17d90 arg=0x2008da3b60 self=0x7764841a7990
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1c17d90 arg=0x2002b20f40 self=0x7764841ab100
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1c17d90 arg=0x2002aa2b80 self=0x7764841ae670
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1c17d90 arg=0x2008dac540 self=0x7764841b2380
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1c17d90 arg=0x2001000740 self=0x77648001eff0
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1c17d90 arg=0x2001000840 self=0x7764800226e0
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1c17d90 arg=0x20010041c0 self=0x776480028f60
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1c17d90 arg=0x2001004280 self=0x77648002c4c0
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1c17d90 arg=0x2008f93800 self=0x7764841e1720
[src/Open.cpp:408 sceKernelOpen] path=/app0/radv-shader-cache/radv_builtin_shaders/part0/mesa_cache.db flags=0x100202 nativeFlags=0x80042 mode=0666
[src/Open.cpp:408 sceKernelOpen] path=/app0/radv-shader-cache/radv_builtin_shaders/part0/mesa_cache.idx flags=0x100202 nativeFlags=0x80042 mode=0666
[src/Open.cpp:408 sceKernelOpen] path=/app0/radv-shader-cache/radv_builtin_shaders/part0/mesa_cache.db flags=0x100000 nativeFlags=0x80000 mode=00
[src/Open.cpp:408 sceKernelOpen] path=/app0/radv-shader-cache/radv_builtin_shaders/part0/mesa_cache.idx flags=0x100000 nativeFlags=0x80000 mode=00
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1c17d90 arg=0x2002a99040 self=0x7764841e1900
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1c17d90 arg=0x2008f933e0 self=0x7764842328b0
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1c17d90 arg=0x2008ed07c0 self=0x776484232a90
[Shaders/ShaderRegistry.cpp:910 ReportPreparedAtUse] Compute shader 0x201562b00 was not registered; preparing its artifact at dispatch
[Shaders/ShaderRegistry.cpp:910 ReportPreparedAtUse] Compute shader 0x201541d00 was not registered; preparing its artifact at dispatch
[Shaders/ShaderRegistry.cpp:913 ReportPreparedAtUse] Graphics shader 0x201540d00 was not registered; preparing its artifact at first use
[shadow] seed 0x4004280000+0x10000 from the import
[Shaders/ShaderRegistry.cpp:913 ReportPreparedAtUse] Graphics shader 0x201547500 was not registered; preparing its artifact at first use
[gpu] sampled texture cache budget 2048 MiB: device-local heap 0 has a VK_EXT_memory_budget budget of 3408 MiB and uses 21 MiB, 0 MiB of it sampled textures (0 MiB in the cache) and 0 MiB cached storage images; active storage image cache budget 1704 MiB; storage_limit_age_ms=209
[Shaders/ShaderRegistry.cpp:910 ReportPreparedAtUse] Compute shader 0x201562c00 was not registered; preparing its artifact at dispatch
[Shaders/ShaderRegistry.cpp:913 ReportPreparedAtUse] Graphics shader 0x201562e00 was not registered; preparing its artifact at first use
[Shaders/ShaderRegistry.cpp:913 ReportPreparedAtUse] Graphics shader 0x201563000 was not registered; preparing its artifact at first use
[Shaders/ShaderRegistry.cpp:958 DrawRectangle] Rect-list draw of shader 0x201562e00 has no rectangle for fragment shader 0x201563000; preparing it at draw
[Shaders/ShaderRegistry.cpp:910 ReportPreparedAtUse] Compute shader 0x201542c00 was not registered; preparing its artifact at dispatch
[Shaders/ShaderRegistry.cpp:910 ReportPreparedAtUse] Compute shader 0x201541600 was not registered; preparing its artifact at dispatch
[shadow] seed 0x4004320000+0x10000 from the import
[Shaders/ShaderRegistry.cpp:913 ReportPreparedAtUse] Graphics shader 0x201563500 was not registered; preparing its artifact at first use
[Shaders/ShaderRegistry.cpp:913 ReportPreparedAtUse] Graphics shader 0x201563700 was not registered; preparing its artifact at first use
[Shaders/ShaderRegistry.cpp:958 DrawRectangle] Rect-list draw of shader 0x201563500 has no rectangle for fragment shader 0x201563700; preparing it at draw
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1c17d90 arg=0x2000876ea0 self=0x7764100e6340
[mouse] video driver x11: guest 3840x2160 presented at 1152x648, delta scale 3.3333 x 3.3333
[gpu] driver failure: AGC driver: guest memory is not readable at 0x4009000000 (range 0x4009000000+0x60000)
terminate called after throwing an instance of 'std::runtime_error'
  what():  AGC driver: guest memory is not readable at 0x4009000000 (range 0x4009000000+0x60000)

ProsperoAI (PPSA99004), main vs this PR (last 60 lines each):
On main, it stops at the stage-7 recompile. On this PR, the GPU stops making progress (the GPU has not reached submission 2 (at 1) in 10 s), the title's vkQueueWaitIdle returns -4 (VK_ERROR_DEVICE_LOST), and it calls abort(), which is the signal 6.

ProsperoAI, main d237f5d
[src/Open.cpp:407 sceKernelOpen] path=/app0/assets/audio/sfx/paper/tick_01.wav flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:407 sceKernelOpen] path=/app0/assets/audio/sfx/paper/tick_02.wav flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:407 sceKernelOpen] path=/app0/assets/audio/sfx/paper/toggle_01.wav flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:407 sceKernelOpen] path=/app0/assets/audio/sfx/paper/type_01.wav flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:407 sceKernelOpen] path=/app0/assets/audio/sfx/paper/type_02.wav flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:407 sceKernelOpen] path=/app0/assets/audio/sfx/paper/undo_01.wav flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:407 sceKernelOpen] path=/app0/assets/audio/sfx/glass/index.txt flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:407 sceKernelOpen] path=/app0/assets/audio/sfx/glass/back_01.wav flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:407 sceKernelOpen] path=/app0/assets/audio/sfx/glass/error_01.wav flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:407 sceKernelOpen] path=/app0/assets/audio/sfx/glass/focus_01.wav flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:407 sceKernelOpen] path=/app0/assets/audio/sfx/glass/focus_02.wav flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:407 sceKernelOpen] path=/app0/assets/audio/sfx/glass/launch_01.wav flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:407 sceKernelOpen] path=/app0/assets/audio/sfx/glass/modal_close_01.wav flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:407 sceKernelOpen] path=/app0/assets/audio/sfx/glass/modal_open_01.wav flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:407 sceKernelOpen] path=/app0/assets/audio/sfx/glass/notify_01.wav flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:407 sceKernelOpen] path=/app0/assets/audio/sfx/glass/open_01.wav flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:407 sceKernelOpen] path=/app0/assets/audio/sfx/glass/resume_01.wav flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:407 sceKernelOpen] path=/app0/assets/audio/sfx/glass/saved_01.wav flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:407 sceKernelOpen] path=/app0/assets/audio/sfx/glass/select_01.wav flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:407 sceKernelOpen] path=/app0/assets/audio/sfx/glass/slider_01.wav flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:407 sceKernelOpen] path=/app0/assets/audio/sfx/glass/slider_02.wav flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:407 sceKernelOpen] path=/app0/assets/audio/sfx/glass/slider_03.wav flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:407 sceKernelOpen] path=/app0/assets/audio/sfx/glass/tab_01.wav flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:407 sceKernelOpen] path=/app0/assets/audio/sfx/glass/toggle_01.wav flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:407 sceKernelOpen] path=/app0/assets/audio/sfx/glass/toggle_02.wav flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:407 sceKernelOpen] path=/app0/assets/audio/sfx/glass/toggle_03.wav flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:407 sceKernelOpen] path=/app0/assets/audio/sfx/glass/welcome_01.wav flags=0x0 nativeFlags=0x0 mode=00
[debug:0] [prosperoai] interface sounds: 67 loaded, 0 rejected
[debug:0] [HUI] audio open handle=1 grain=256 rate=48000
[debug:0] [prosperoai] keyboard_handles=2
[prosperoai] interface sounds: 67 loaded, 0 rejected
[HUI] audio open handle=1 grain=256 rate=48000
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1fb1590 arg=0x20003581e0 self=0x73b74c1f1660
[src/Open.cpp:407 sceKernelOpen] path=/app0/dev/request.txt flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:425 sceKernelOpen] open failed path=/app0/dev/request.txt resolvedPath=<work>/PPSA99004/run/app0/dev/request.txt result=0x80020002
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1fb1590 arg=0x2000e8a000 self=0x73b74c1f1820
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1fb1590 arg=0x2000e8a060 self=0x73b74c214a10
[src/Open.cpp:407 sceKernelOpen] path=/app0/radv-shader-cache/mesa_shader_cache_db/part0/mesa_cache.db flags=0x100202 nativeFlags=0x80042 mode=0666
[src/Open.cpp:407 sceKernelOpen] path=/app0/radv-shader-cache/mesa_shader_cache_db/part0/mesa_cache.idx flags=0x100202 nativeFlags=0x80042 mode=0666
[src/Open.cpp:407 sceKernelOpen] path=/app0/radv-shader-cache/mesa_shader_cache_db/part0/mesa_cache.db flags=0x100000 nativeFlags=0x80000 mode=00
[src/Open.cpp:407 sceKernelOpen] path=/app0/radv-shader-cache/mesa_shader_cache_db/part0/mesa_cache.idx flags=0x100000 nativeFlags=0x80000 mode=00
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1fb1590 arg=0x2000d66dc0 self=0x73b74c215bd0
[gpu] layer/viewport index vertex exports are ignored (PA_CL_VS_OUT_CNTL=0x01240000)
[Shaders/ShaderRegistry.cpp:912 ReportPreparedAtUse] Graphics shader 0x201d80400 was not registered; preparing its artifact at first use
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1fb1590 arg=0x2000bfaa00 self=0x73b74c21d240
[Shaders/ShaderRegistry.cpp:912 ReportPreparedAtUse] Graphics shader 0x201d80600 was not registered; preparing its artifact at first use
[Shaders/ShaderRegistry.cpp:957 DrawRectangle] Rect-list draw of shader 0x201d80400 has no rectangle for fragment shader 0x201d80600; preparing it at draw
[Shaders/ShaderRegistry.cpp:912 ReportPreparedAtUse] Graphics shader 0x201d80700 was not registered; preparing its artifact at first use
[Shaders/ShaderRegistry.cpp:957 DrawRectangle] Rect-list draw of shader 0x201d80000 has no rectangle for fragment shader 0x201d80700; preparing it at draw
[Shaders/ShaderRegistry.cpp:912 ReportPreparedAtUse] Graphics shader 0x201d80900 was not registered; preparing its artifact at first use
[gpu] driver failure: shader 0x201d80900 stage 7: ShaderRecompiler::Recompile: SPIRV-Tools: module version exceeds requested SPIR-V target
RecompileRequest:
NVNQQT8AAAAHAAnYAQIAAAAgAQAAAAAAAAMAj7/BBP6+Av8AhwAAAHyAAwSZCAoKSouAAYXBBISUCgEBh4EKBDSCCgo2ggQENgUAhdUFAQEKAgCF1QIBAQrzCgYG8wQEBu4AhL8D/4CTGAAEAACGAY8EAGXXwQIAAgQAZtfBCAICnAgKFgQE/r7yAgx+gAIOfhAANNgFBgAAAQI42AUCAwAUAHjYBQcAAOP/o78AAIq/A4gBj8EB/pR+BIa+eACIvwYAc9ecAAICABBz15wAAgIBAHPXnAICAhAA2NgGAAAHEADY2AAAAAgQANjYAQAACQEC3NgGAAAKAQLc2AAAAAwBAtzYAQAADgqADb/BgIiFCoENv8GAkIUKgg2/wYCShX/FjL+ADgh8f8SM [… 58032 more characters]
[videoout] presentation failed: shader 0x201d80900 stage 7: ShaderRecompiler::Recompile: SPIRV-Tools: module version exceeds requested SPIR-V target
RecompileRequest:
NVNQQT8AAAAHAAnYAQIAAAAgAQAAAAAAAAMAj7/BBP6+Av8AhwAAAHyAAwSZCAoKSouAAYXBBISUCgEBh4EKBDSCCgo2ggQENgUAhdUFAQEKAgCF1QIBAQrzCgYG8wQEBu4AhL8D/4CTGAAEAACGAY8EAGXXwQIAAgQAZtfBCAICnAgKFgQE/r7yAgx+gAIOfhAANNgFBgAAAQI42AUCAwAUAHjYBQcAAOP/o78AAIq/A4gBj8EB/pR+BIa+eACIvwYAc9ecAAICABBz15wAAgIBAHPXnAICAhAA2NgGAAAHEADY2AAAAAgQANjYAQAACQEC3NgGAAAKAQLc2AAAAAwBAtzYAQAADgqADb/BgIiFCoENv8GAkIUKgg2/wYCShX/FjL+ADgh8f8SM [… 58032 more characters]
terminate called after throwing an instance of 'std::runtime_error'
  what():  shader 0x201d80900 stage 7: ShaderRecompiler::Recompile: SPIRV-Tools: module version exceeds requested SPIR-V target
RecompileRequest:
NVNQQT8AAAAHAAnYAQIAAAAgAQAAAAAAAAMAj7/BBP6+Av8AhwAAAHyAAwSZCAoKSouAAYXBBISUCgEBh4EKBDSCCgo2ggQENgUAhdUFAQEKAgCF1QIBAQrzCgYG8wQEBu4AhL8D/4CTGAAEAACGAY8EAGXXwQIAAgQAZtfBCAICnAgKFgQE/r7yAgx+gAIOfhAANNgFBgAAAQI42AUCAwAUAHjYBQcAAOP/o78AAIq/A4gBj8EB/pR+BIa+eACIvwYAc9ecAAICABBz15wAAgIBAHPXnAICAhAA2NgGAAAHEADY2AAAAAgQANjYAQAACQEC3NgGAAAKAQLc2AAAAAwBAtzYAQAADgqADb/BgIiFCoENv8GAkIUKgg2/wYCShX/FjL+ADgh8f8SM [… 58032 more characters]
ProsperoAI, #17611 59203ed
[src/Open.cpp:408 sceKernelOpen] path=/app0/assets/audio/sfx/paper/tab_01.wav flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:408 sceKernelOpen] path=/app0/assets/audio/sfx/paper/tick_01.wav flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:408 sceKernelOpen] path=/app0/assets/audio/sfx/paper/tick_02.wav flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:408 sceKernelOpen] path=/app0/assets/audio/sfx/paper/toggle_01.wav flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:408 sceKernelOpen] path=/app0/assets/audio/sfx/paper/type_01.wav flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:408 sceKernelOpen] path=/app0/assets/audio/sfx/paper/type_02.wav flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:408 sceKernelOpen] path=/app0/assets/audio/sfx/paper/undo_01.wav flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:408 sceKernelOpen] path=/app0/assets/audio/sfx/glass/index.txt flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:408 sceKernelOpen] path=/app0/assets/audio/sfx/glass/back_01.wav flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:408 sceKernelOpen] path=/app0/assets/audio/sfx/glass/error_01.wav flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:408 sceKernelOpen] path=/app0/assets/audio/sfx/glass/focus_01.wav flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:408 sceKernelOpen] path=/app0/assets/audio/sfx/glass/focus_02.wav flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:408 sceKernelOpen] path=/app0/assets/audio/sfx/glass/launch_01.wav flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:408 sceKernelOpen] path=/app0/assets/audio/sfx/glass/modal_close_01.wav flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:408 sceKernelOpen] path=/app0/assets/audio/sfx/glass/modal_open_01.wav flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:408 sceKernelOpen] path=/app0/assets/audio/sfx/glass/notify_01.wav flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:408 sceKernelOpen] path=/app0/assets/audio/sfx/glass/open_01.wav flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:408 sceKernelOpen] path=/app0/assets/audio/sfx/glass/resume_01.wav flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:408 sceKernelOpen] path=/app0/assets/audio/sfx/glass/saved_01.wav flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:408 sceKernelOpen] path=/app0/assets/audio/sfx/glass/select_01.wav flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:408 sceKernelOpen] path=/app0/assets/audio/sfx/glass/slider_01.wav flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:408 sceKernelOpen] path=/app0/assets/audio/sfx/glass/slider_02.wav flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:408 sceKernelOpen] path=/app0/assets/audio/sfx/glass/slider_03.wav flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:408 sceKernelOpen] path=/app0/assets/audio/sfx/glass/tab_01.wav flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:408 sceKernelOpen] path=/app0/assets/audio/sfx/glass/toggle_01.wav flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:408 sceKernelOpen] path=/app0/assets/audio/sfx/glass/toggle_02.wav flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:408 sceKernelOpen] path=/app0/assets/audio/sfx/glass/toggle_03.wav flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:408 sceKernelOpen] path=/app0/assets/audio/sfx/glass/welcome_01.wav flags=0x0 nativeFlags=0x0 mode=00
[debug:0] [prosperoai] interface sounds: 67 loaded, 0 rejected
[debug:0] [HUI] audio open handle=1 grain=256 rate=48000
[debug:0] [prosperoai] keyboard_handles=2
[prosperoai] interface sounds: 67 loaded, 0 rejected
[HUI] audio open handle=1 grain=256 rate=48000
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1fb1590 arg=0x20003581e0 self=0x7ae5881f1ea0
[src/Open.cpp:408 sceKernelOpen] path=/app0/dev/request.txt flags=0x0 nativeFlags=0x0 mode=00
[src/Open.cpp:426 sceKernelOpen] open failed path=/app0/dev/request.txt resolvedPath=<work>/PPSA99004/run/app0/dev/request.txt result=0x80020002
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1fb1590 arg=0x20055f14a0 self=0x7ae5881f2060
[src/Open.cpp:408 sceKernelOpen] path=/app0/radv-shader-cache/mesa_shader_cache_db/part0/mesa_cache.db flags=0x100202 nativeFlags=0x80042 mode=0666
[src/Open.cpp:408 sceKernelOpen] path=/app0/radv-shader-cache/mesa_shader_cache_db/part0/mesa_cache.idx flags=0x100202 nativeFlags=0x80042 mode=0666
[src/Open.cpp:408 sceKernelOpen] path=/app0/radv-shader-cache/mesa_shader_cache_db/part0/mesa_cache.db flags=0x100000 nativeFlags=0x80000 mode=00
[src/Open.cpp:408 sceKernelOpen] path=/app0/radv-shader-cache/mesa_shader_cache_db/part0/mesa_cache.idx flags=0x100000 nativeFlags=0x80000 mode=00
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1fb1590 arg=0x2000d672e0 self=0x7ae5882152c0
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1fb1590 arg=0x2000d67340 self=0x7ae588216400
[gpu] layer/viewport index vertex exports are ignored (PA_CL_VS_OUT_CNTL=0x01240000)
[Shaders/ShaderRegistry.cpp:913 ReportPreparedAtUse] Graphics shader 0x201d80400 was not registered; preparing its artifact at first use
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1fb1590 arg=0x20004c87e0 self=0x7ae588222490
[Shaders/ShaderRegistry.cpp:913 ReportPreparedAtUse] Graphics shader 0x201d80600 was not registered; preparing its artifact at first use
[Shaders/ShaderRegistry.cpp:958 DrawRectangle] Rect-list draw of shader 0x201d80400 has no rectangle for fragment shader 0x201d80600; preparing it at draw
[Shaders/ShaderRegistry.cpp:913 ReportPreparedAtUse] Graphics shader 0x201d80700 was not registered; preparing its artifact at first use
[Shaders/ShaderRegistry.cpp:958 DrawRectangle] Rect-list draw of shader 0x201d80000 has no rectangle for fragment shader 0x201d80700; preparing it at draw
[Shaders/ShaderRegistry.cpp:913 ReportPreparedAtUse] Graphics shader 0x201d80900 was not registered; preparing its artifact at first use
[Shaders/ShaderRegistry.cpp:913 ReportPreparedAtUse] Graphics shader 0x201d80f00 was not registered; preparing its artifact at first use
[Shaders/ShaderRegistry.cpp:913 ReportPreparedAtUse] Graphics shader 0x201d85b00 was not registered; preparing its artifact at first use
[Shaders/ShaderRegistry.cpp:913 ReportPreparedAtUse] Graphics shader 0x201d86400 was not registered; preparing its artifact at first use
[log] 10.1 s: 134 lines (121 stdout, 13 stderr), 14.6 KiB written, 0 repeats coalesced; callers spent 0.30 ms queueing and formatting (0.003% of one thread), logger thread 0.78 ms, queue peak 1.5 KiB
radv/ps5: the GPU has not reached submission 2 (at 1) in 10 s
radv/ps5: the GPU has not reached submission 2 (at 1) in 10 s
[ProsperoVKUI] vkQueueWaitIdle(queue) failed: -4
[debug:0] [ProsperoVKUI] vkQueueWaitIdle(queue) failed: -4
[libc] abort() called from 0x4cfcff

@SuarezPM

Copy link
Copy Markdown
Contributor Author

@GiannisG1 thank you — the logs pin the stage-5 ceiling. The Lantern Miner full log shows shader 0x200790c00 stage 5 failing with SPV_EXT_mesh_shader extension requires SPIR-V version 1.4 or later / OpExtension, exactly the emitter path from my last comment: Recompiler.cpp sets meshBarycentricPixel for any fragment with graphics->mesh, SpirvEmitter keeps state.meshAsCompute true only for the Mesh stage, and the pixel side still emits CapabilityMeshShadingEXT + the extension for the PerPrimitiveEXT positions input while the module header stays 1.3 for non-mesh stages. So the 25 stop at the same invalid pixel module, and a build without SPIRV-Tools would hand it to a driver without the extension. The fix stays in the emitter follow-up (no mesh extension on the compute path / honest barycentric refusal), not in this PR. No rerun needed for those 25.

Conker: main stops at the stage-7 mesh recompile (module version exceeds requested SPIR-V target), the PR gets past the mesh draws (more shaders prepared, even a presented frame at 3840x2160 -> 1152x648) and then throws the honest guest memory is not readable at 0x4009000000. That is progress plus an honest throw, not silent wrong rendering. From these tails I cannot tie that address to the fallback (shadow seeds in the log are 0x4004280000/0x4004320000 imports), so I keep it as separate triage: if a trace or validation run maps 0x4009000000 to mesh-output vs title import, that decides it.

ProsperoAI is the one that needs attribution before anyone calls it pre-existing: main stops at stage 7, the PR advances (0x201d80f00/0x201d85b00/0x201d86400 prepared) and then submission 2 never completes (10 s x2) -> vkQueueWaitIdle -4 DEVICE_LOST -> abort/SIG6. Please rerun just ProsperoAI with ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation VK_LOADER_DEBUG=layer, confirm the layer is inserted, and attach the tail around has not reached submission 2 with what submission 2 is (compute-fallback dispatch vs present) plus any VUID lines. That plus the Conker address mapping are the two open triage items; neither widens this PR (subset-only, honest throws) — they go to the follow-up.

I updated Tested to mark Lantern Miner log-confirmed and Conker/ProsperoAI as separate triage pending that repro.

AI-assisted: yes.

@GiannisG1

GiannisG1 commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

ProsperoAI (PPSA99004) rerun as asked, on the same build (59203ed861 merged onto main e09d1349b5), GTX 1050 Ti, NVIDIA 580.178.04 on Linux, headless under Xvfb. Environment: ANYPS5_GPU="GTX 1050" ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation VK_LOADER_DEBUG=layer, with VK_LAYER_PATH set to the LunarG SDK 1.4.363.1 layer (Ubuntu's 1.3.275 is older than CONTRIBUTING asks). I also set APS5_DUMP_SUBMITS to capture the submissions.

The layer is inserted:

LAYER:                   <sdk>/1.4.363.1/x86_64/share/vulkan/explicit_layer.d
LAYER:                   <sdk>/1.4.363.1/x86_64/share/vulkan/explicit_layer.d/VkLayer_khronos_validation.json
WARNING | LAYER:   env var 'VK_INSTANCE_LAYERS' defined and adding layers "VK_LAYER_KHRONOS_validation"
DEBUG | LAYER:     Loading layer library <sdk>/1.4.363.1/x86_64/share/vulkan/explicit_layer.d/../../../lib/libVkLayer_khronos_validation.so

Validation: the run logs no VUID, SYNC-HAZARD or UNASSIGNED message from start to abort. The hang reproduces after about 21 s, and exit code 134 is the abort:

[Shaders/ShaderRegistry.cpp:913 ReportPreparedAtUse] Graphics shader 0x201d80400 was not registered; preparing its artifact at first use
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1fb1590 arg=0x2000d900a0 self=0x77ecbffca280
[Shaders/ShaderRegistry.cpp:913 ReportPreparedAtUse] Graphics shader 0x201d80600 was not registered; preparing its artifact at first use
[Shaders/ShaderRegistry.cpp:958 DrawRectangle] Rect-list draw of shader 0x201d80400 has no rectangle for fragment shader 0x201d80600; preparing it at draw
[Shaders/ShaderRegistry.cpp:913 ReportPreparedAtUse] Graphics shader 0x201d80700 was not registered; preparing its artifact at first use
[Shaders/ShaderRegistry.cpp:958 DrawRectangle] Rect-list draw of shader 0x201d80000 has no rectangle for fragment shader 0x201d80700; preparing it at draw
[Shaders/ShaderRegistry.cpp:913 ReportPreparedAtUse] Graphics shader 0x201d80900 was not registered; preparing its artifact at first use
[Shaders/ShaderRegistry.cpp:913 ReportPreparedAtUse] Graphics shader 0x201d80f00 was not registered; preparing its artifact at first use
[Shaders/ShaderRegistry.cpp:913 ReportPreparedAtUse] Graphics shader 0x201d85b00 was not registered; preparing its artifact at first use
[Shaders/ShaderRegistry.cpp:913 ReportPreparedAtUse] Graphics shader 0x201d86400 was not registered; preparing its artifact at first use
[log] 10.1 s: 129 lines (116 stdout, 13 stderr), 14.2 KiB written, 0 repeats coalesced; callers spent 0.44 ms queueing and formatting (0.004% of one thread), logger thread 0.88 ms, queue peak 2.1 KiB
radv/ps5: the GPU has not reached submission 2 (at 1) in 10 s
[ProsperoVKUI] vkQueueWaitIdle(queue) failed: -4
[debug:0] [ProsperoVKUI] vkQueueWaitIdle(queue) failed: -4
[libc] abort() called from 0x4cfcff
Aborted (core dumped)

What submission 2 is. It is not a present. The capture index:

aps5-submissions 1
ordinal queue type serial time_us dwords kind file held conditional
0 0x0 graphics 1 0 587 submit submission_000000.bin - -
1 0x0 graphics 2 1702 0 suspend - - -
2 0x0 graphics 3 171789 3591 submit submission_000002.bin - -
3 0x0 graphics 4 171935 0 suspend - - -

Ordinal 2 is the frame's graphics submit: 3591 dwords, 0.17 s after the first, followed by a suspend. Its PM4 has 22 DRAW_INDEX_AUTO and no dispatch packets. The first nine draws are each followed by RELEASE_MEM + WAIT_REG_MEM, so the title waits on its own labels inside the submission. Then come 13 draws back to back, and the closing EVENT_WRITE ×3, RELEASE_MEM, WAIT_REG_MEM, ACQUIRE_MEM, RELEASE_MEM. The last RELEASE_MEM is the one the title polls for "submission 2", and it never lands.

Right before that submit, the driver prepares the frame's shaders:

  • 0x201d80400/0x201d80600 and 0x201d80000/0x201d80700 (rect-list draws);
  • 0x201d80900, the shader main stops on at stage 7;
  • 0x201d80f00, 0x201d85b00 and 0x201d86400.

So the device is lost while running a graphics submission that contains the mesh-path draw through this PR's compute pass. The device reports mesh=0.

I can share the two captured submissions (submission_000002.bin, 14 KB, and submission_000000.bin) with the index, if they help with a replay.

@SuarezPM

Copy link
Copy Markdown
Contributor Author

@GiannisG1 thank you — this repro is exactly what was needed, and it moves ProsperoAI from pending validation to attributed, pending draw-level triage. Layer inserted from the 1.4.363.1 SDK, zero VUID / SYNC-HAZARD / UNASSIGNED from start to abort, hang reproduces at ~21 s, exit 134. That rules out API misuse the validation layer can see.

What you captured matters: submission 2 is a graphics submit (3591 dwords, 22 DRAW_INDEX_AUTO, no dispatches), the title waits on its own per-draw labels for the first nine draws and then on the closing RELEASE_MEM, which never lands. The mesh-path shader main stops on (0x201d80900) plus 0x201d80f00/0x201d85b00/0x201d86400 are prepared right before, on a device reporting mesh=0. So the device is lost inside a graphics submission that carries this PR's compute-pass mesh draw — not in present, not a Conker-style honest throw. Main cannot supply a control beyond stage 7 here, so neither pre-existing nor introduced can be read off main-vs-PR; it has to be triaged on its own.

Yes, please attach the two captured submissions with the index to this PR. Two pinpoint questions so the triage starts in the right place: (1) which of the 22 draws is the mesh-path one — do all nine per-draw labels advance, i.e. does the hang sit in/after the 13 back-to-back draws where the compute-pass draw presumably is? (2) where did the fallback's compute dispatch for that draw go in this capture — the submit shows no dispatch packets, so is it on a separate submit/queue or recorded elsewhere? No new rerun until those two are answered.

Scope stays as agreed: this does not widen the PR (subset-only, and the 25 stage-5 titles are still the emitter follow-up), but I am flagging ProsperoAI to @oneandonlydean as the one open device-lost question needing his call before landing — single Pascal title so far, validation-clean, hang inside the fallback-carrying submit. Tested updated accordingly.

AI-assisted: yes.

@GiannisG1

Copy link
Copy Markdown
Contributor

The two captures with the index, and the answers. To decode an attachment, save its block and run base64 -d < file > submission_00000N.bin. These are the guest's PM4 dwords as the title submitted them (APS5_DUMP_SUBMITS).

aps5-submissions 1
ordinal queue type serial time_us dwords kind file held conditional
0 0x0 graphics 1 0 587 submit submission_000000.bin - -
1 0x0 graphics 2 1702 0 suspend - - -
2 0x0 graphics 3 171789 3591 submit submission_000002.bin - -
3 0x0 graphics 4 171935 0 suspend - - -
submission_000000.bin, 2348 bytes, sha256 c065b917605860e9… (base64)
ACgBwAAAAIAAAACAABIAwAAAAAAAdgHABwAAAAAAPwAAdgHAMAAAAAcAAAAAdgTAMgAAAAAAAAAA
AAAAAAAAAAAAAAAAdgHAQQAAAAAAAAAAdgHAcAAAAAAAAAAAdgTAcgAAAAAAAAAAAAAAAAAAAAAA
AAAAdgHAAQAAAAAAAAAAdgHAAQEAAAAAAAAAdgTAsgAAAAAAAAAAAAAAAAAAAAAAAAAAdgHAyQAA
AAAAAAAAdgHABwEAAD8AAAAAdgTAMgEAAAAAAAAAAAAAAAAAAAAAAAAAdgHASQEAAAAAAAAAaQHA
DgAAAAIAAAAAaQPAHwAAAFUAFQAAAAAAAAAAAABpAcAEAQAAVQBVAABpAcDUAQAA/wAAAABpAcAM
AgAAAQAAAABpAcCGAgAAAACAQgBpAcCrAgAAAQAAAABpAcDUAgAADB4Y2ABpAcASAwAAVAH/AwBp
AcAUAwAAAAIAAABpAcAWAwAADgAAAAB5AsBJAgAAAAAAAAAAAAAAeQLAWQIAAP////8AAAAAAHkB
wF8CAAAAAAAAAHkBwGICAAAAAAAAAHkCwIACAAAAAAAAAAAAAAB2AcBJAAAAAAAAAABpAcAOAgAA
eAAAAABpAsCAAgAACAAIAAA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bADwEAAAAA8EQAAPBEAACHxAAAh0QAAIA/AAAAAABpAsC0AAAAAAAAAAAAgD8AaQHAAwAAAAAA
AAAAaQLAlAAAAAAAAIAAD3AIAHYBwJUAAAAIAAD4AHYEwJYAAAAAAPBEAACHRAAA8EQAAIfEAHoB
wEMCACAAAAAAAHYBwIwAAACgAccBAHYBwA4AAAAgIuABAHYFwI8AAAAAAABAAAAAAAAAAAAAAHBF
AAAHRQB2AcAPAAAAAAAAQABQBcAAACBgoAHHAQIAAACgAccBAgAAACAAAIAALwDACgAAAAB2AsCN
AAAAAAAAAIESAAAALQHABgAAAAIAAAAARgDALgAAAABGAMAsAAAAAEYAwAcEAAAASQbAFPVwAAAA
ACMAAMcBAgAAAAoAAAAAAAAAAAAAAAA8BcATAAAAAADHAQIAAAAKAAAA/////wQAAAAAWAbAAAAA
AP//////AAAAAAAAAAAAAAAKAAAAgAABAABJBsAUxTAAAAAAIAAAIAECAAAAAgAAAAAAAAAAAAAA

Q1: which draw is the mesh path, and do the labels advance? I read each draw's programs from the SET_SH_REG writes before it:

draws ES PS after the draw
0-7 (3 vertices each) 0x201d80000 / 0x201d80400 0x201d80200 / 0x201d80600 / 0x201d80700 RELEASE_MEM of 2…9 to 0x201c70000, then WAIT_REG_MEM on it
8 (3) 0x201d80900 0x201d80f00 nothing
9-21 (6, draw 18 has 12) 0x201d85b00 (draw 18: 0x201d86e00) 0x201d86400 (draw 18: 0x201d87400) RELEASE_MEM 0xa to 0x201c70000 after draw 21
end RELEASE_MEM 2 to 0x201200000, the "submission 2" the title polls

Draw 8's ES is 0x201d80900, the shader that main stops on at stage 7, so draw 8 is the mesh-path draw. There are eight per-draw labels, after draws 0-7. The ninth RELEASE_MEM to 0x201c70000 is the 0xa after draw 21.

I ran one more time with APS5_TRACE_LABEL=0x201c70000, which logs each packet aimed at that address as the driver processes it. All eight per-draw labels show up: 2, then 3-5 in one millisecond, then 6-9 in one millisecond. The 0xa after draw 21 never shows up, and the hang and abort reproduce. So the stall is at draw 8, the mesh-path draw, or in the 13 draws after it, before the label that closes them. The trace logs packet processing on the host, not GPU completion, so it cannot tell draw 8 from draws 9-21.

Q2: where did the compute dispatch go? Nowhere in this capture, by design: the capture is the guest's command stream before translation. In this PR, recordMeshCompute records the compute pass host-side, into the same VkCommandBuffer as the translated draw 8: vkCmdFillBuffer of the output header, a barrier, the compute pipeline bind and push constants, vkCmdDispatch (vkCmdDispatchIndirect for indirect draws), a barrier, then the vkCmdDrawIndirect from that output. So it is on the same queue and in the same host submit. Telling which host command hangs would take a host-side view, for example a RenderDoc capture or debug labels around the dispatch and the indirect draw. I can run either.

@SuarezPM

Copy link
Copy Markdown
Contributor Author

@GiannisG1 thank you — captures plus both answers, and the decode instructions are clear. This bounds the hang precisely: draws 0-7 all complete (labels 2-9 all observed via APS5_TRACE_LABEL), draw 8 is the mesh-path draw (ES 0x201d80900, the shader main stops on at stage 7), and 0xa after draw 21 never appears. So the stall is in draw 8's translated host commands or draws 9-21 — and you are right that the host-side trace cannot split those, since it logs packet processing, not GPU completion.

Q2 is also settled: the compute dispatch is host-side in the same VkCommandBuffer as the translated draw 8 (fill header, barrier, bind, dispatch, barrier, draw-indirect), so the guest PM4 correctly shows no dispatches. No mystery there — it also means the hang candidates live in that host sequence: the dispatch itself (dimensions? shader hang?), the barrier/output handoff, or the indirect draw consuming it.

Take the debug-labels run, not RenderDoc: labels around the draw-8 dispatch and around the indirect draw from the compute output will show in the log which side the hang is on, and RenderDoc on a hung frame may not capture cleanly anyway. Please attach the tail showing the last label reached, and if the dispatch dimensions for draw 8 are visible anywhere (groups x instances x layers), include them — a garbage/huge dispatch would explain exactly this signature (10 s timeout, DEVICE_LOST, validation-clean), and it is the first thing to rule out. No other rerun needed.

Scope unchanged: emitter follow-up for the 25, draw-level follow-up for ProsperoAI, flag to @oneandonlydean stands as the one open device-lost question before landing. Tested updated to the draw-8..21 bound.

AI-assisted: yes.

@GiannisG1

Copy link
Copy Markdown
Contributor

@SuarezPM the debug-labels run is done. It answers the question differently than we both expected, and it corrects my earlier wording.

There is no GPU hang and no host device loss. None of the ProsperoAI runs (the validation-layer run, the label run and the three below) printed a [device-fault] report, and no host Vulkan call returned VK_ERROR_DEVICE_LOST. radv/ps5: the GPU has not reached submission 2 (at 1) in 10 s and [ProsperoVKUI] vkQueueWaitIdle(queue) failed: -4 come from the title's own Vulkan driver (its RADV port): its 10-second fence wait expires and the title calls abort(). My comment with the logs called that VK_ERROR_DEVICE_LOST. It is only the title's driver returning -4.

The 10 s run out while the host is still preparing draw 8's shaders on a cold shader cache. Setup: #17611 59203ed861 merged onto main 41dfbe4d8e (clean merge), SPIRV-Tools ON as in CI, GTX 1050 Ti, driver 580.178.04, Linux. APS5_GPU_CHECKPOINTS=1, APS5_TRACE_LABEL=0x201c70000, and a local diagnostic patch (never pushed, diff below) that logs the compute pass's dimensions when it is recorded. The time from label 9 (after draw 7) to the next packet after draw 8 (DMA_DATA 0x201c700e0), by run:

run shader cache label 9 → next packet after draw 8 result
1 off (ANYPS5_NO_SHADER_CACHE=1, as in the earlier runs) 5.40 s title's 10 s timeout, abort()
A on, emptied first 5.60 s title's 10 s timeout, abort()
B on, as run A left it (4.1 MB) 7 ms submission 2 completes; stops at the emitter issue (below)

In runs 1 and A, the last host lines before the title gives up are the preparation of the next mesh-path draw's shaders (0x201d85b00, 0x201d86400). So label 0xa never appeared because the host had not processed that far yet. The ~5.5 s is spent preparing draw 8's two shaders, 0x201d80900 (run as compute) and 0x201d80f00. I did not separate them.

Draw 8's dispatch is 1 × 1 × 1. It is a direct draw, and its compute pass is recorded as groups=1 instances=1 layers=1: one group, 3584 bytes per group, a 3600-byte output buffer. It is not a garbage or huge dispatch.

With a warm cache, ProsperoAI reaches the emitter issue you already attributed. After draw 8, the next mesh-path draw stops at shader 0x201d86400 stage 5: ... SPV_EXT_mesh_shader extension requires SPIR-V version 1.4 or later. OpExtension "SPV_EXT_mesh_shader", which is thrown and ends in terminate. That is the Lantern Miner stop, so your emitter follow-up should cover ProsperoAI too. On a cold cache it will then still depend on whether the first-use preparation fits the title's 10 s.

The checkpoint tokens in the patch were not written. They use the same guards as main's draw tokens (main-queue thread tag, a free token slot), and one of those guards skipped them. With no device loss, nothing needed them.

Run A (cold cache): from label 2 to the abort
[label] 473131298 ms queue 0x0 RELEASE_MEM 0x201c70000: 0070f514 23000000 01c70000 00000002 00000002 00000000 00000000
[gpu] layer/viewport index vertex exports are ignored (PA_CL_VS_OUT_CNTL=0x01240000)
[Shaders/ShaderRegistry.cpp:913 ReportPreparedAtUse] Graphics shader 0x201d80400 was not registered; preparing its artifact at first use
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1fb1590 arg=0x2000d900a0 self=0x7c5f0b569d80
[Shaders/ShaderRegistry.cpp:913 ReportPreparedAtUse] Graphics shader 0x201d80600 was not registered; preparing its artifact at first use
[Shaders/ShaderRegistry.cpp:958 DrawRectangle] Rect-list draw of shader 0x201d80400 has no rectangle for fragment shader 0x201d80600; preparing it at draw
[label] 473131326 ms queue 0x0 RELEASE_MEM 0x201c70000: 0070f514 23000000 01c70000 00000002 00000003 00000000 00000000
[label] 473131326 ms queue 0x0 RELEASE_MEM 0x201c70000: 0070f514 23000000 01c70000 00000002 00000004 00000000 00000000
[label] 473131326 ms queue 0x0 RELEASE_MEM 0x201c70000: 0070f514 23000000 01c70000 00000002 00000005 00000000 00000000
[Shaders/ShaderRegistry.cpp:913 ReportPreparedAtUse] Graphics shader 0x201d80700 was not registered; preparing its artifact at first use
[Shaders/ShaderRegistry.cpp:958 DrawRectangle] Rect-list draw of shader 0x201d80000 has no rectangle for fragment shader 0x201d80700; preparing it at draw
[label] 473131357 ms queue 0x0 RELEASE_MEM 0x201c70000: 0070f514 23000000 01c70000 00000002 00000006 00000000 00000000
[label] 473131357 ms queue 0x0 RELEASE_MEM 0x201c70000: 0070f514 23000000 01c70000 00000002 00000007 00000000 00000000
[label] 473131357 ms queue 0x0 RELEASE_MEM 0x201c70000: 0070f514 23000000 01c70000 00000002 00000008 00000000 00000000
[label] 473131357 ms queue 0x0 RELEASE_MEM 0x201c70000: 0070f514 23000000 01c70000 00000002 00000009 00000000 00000000
[Shaders/ShaderRegistry.cpp:913 ReportPreparedAtUse] Graphics shader 0x201d80900 was not registered; preparing its artifact at first use
[Shaders/ShaderRegistry.cpp:913 ReportPreparedAtUse] Graphics shader 0x201d80f00 was not registered; preparing its artifact at first use
[label] 473136958 ms queue 0x0 DMA_DATA 0x201c700e0: 60200000 01c700e0 00000002 01c700e0 00000002 80000020
[Shaders/ShaderRegistry.cpp:913 ReportPreparedAtUse] Graphics shader 0x201d85b00 was not registered; preparing its artifact at first use
[Shaders/ShaderRegistry.cpp:913 ReportPreparedAtUse] Graphics shader 0x201d86400 was not registered; preparing its artifact at first use
[log] 10.3 s: 129 lines (116 stdout, 13 stderr), 14.2 KiB written, 0 repeats coalesced; callers spent 0.36 ms queueing and formatting (0.003% of one thread), logger thread 0.84 ms, queue peak 0.9 KiB
radv/ps5: the GPU has not reached submission 2 (at 1) in 10 s
[ProsperoVKUI] vkQueueWaitIdle(queue) failed: -4
[debug:0] [ProsperoVKUI] vkQueueWaitIdle(queue) failed: -4
[libc] abort() called from 0x4cfcff
Aborted (core dumped)
Run B (warm cache): from label 2 to the abort
[label] 473150168 ms queue 0x0 RELEASE_MEM 0x201c70000: 0070f514 23000000 01c70000 00000002 00000002 00000000 00000000
[gpu] layer/viewport index vertex exports are ignored (PA_CL_VS_OUT_CNTL=0x01240000)
[Shaders/ShaderRegistry.cpp:913 ReportPreparedAtUse] Graphics shader 0x201d80400 was not registered; preparing its artifact at first use
[Shaders/ShaderRegistry.cpp:913 ReportPreparedAtUse] Graphics shader 0x201d80600 was not registered; preparing its artifact at first use
[Shaders/ShaderRegistry.cpp:958 DrawRectangle] Rect-list draw of shader 0x201d80400 has no rectangle for fragment shader 0x201d80600; preparing it at draw
[src/Thread.cpp:1011 RunThread] RunThread entry=0x1fb1590 arg=0x2000d900a0 self=0x702e1d769f80
[label] 473150174 ms queue 0x0 RELEASE_MEM 0x201c70000: 0070f514 23000000 01c70000 00000002 00000003 00000000 00000000
[label] 473150174 ms queue 0x0 RELEASE_MEM 0x201c70000: 0070f514 23000000 01c70000 00000002 00000004 00000000 00000000
[label] 473150174 ms queue 0x0 RELEASE_MEM 0x201c70000: 0070f514 23000000 01c70000 00000002 00000005 00000000 00000000
[Shaders/ShaderRegistry.cpp:913 ReportPreparedAtUse] Graphics shader 0x201d80700 was not registered; preparing its artifact at first use
[Shaders/ShaderRegistry.cpp:958 DrawRectangle] Rect-list draw of shader 0x201d80000 has no rectangle for fragment shader 0x201d80700; preparing it at draw
[label] 473150180 ms queue 0x0 RELEASE_MEM 0x201c70000: 0070f514 23000000 01c70000 00000002 00000006 00000000 00000000
[label] 473150180 ms queue 0x0 RELEASE_MEM 0x201c70000: 0070f514 23000000 01c70000 00000002 00000007 00000000 00000000
[label] 473150180 ms queue 0x0 RELEASE_MEM 0x201c70000: 0070f514 23000000 01c70000 00000002 00000008 00000000 00000000
[label] 473150180 ms queue 0x0 RELEASE_MEM 0x201c70000: 0070f514 23000000 01c70000 00000002 00000009 00000000 00000000
[Shaders/ShaderRegistry.cpp:913 ReportPreparedAtUse] Graphics shader 0x201d80900 was not registered; preparing its artifact at first use
[Shaders/ShaderRegistry.cpp:913 ReportPreparedAtUse] Graphics shader 0x201d80f00 was not registered; preparing its artifact at first use
[label] 473150187 ms queue 0x0 DMA_DATA 0x201c700e0: 60200000 01c700e0 00000002 01c700e0 00000002 80000020
[Shaders/ShaderRegistry.cpp:913 ReportPreparedAtUse] Graphics shader 0x201d85b00 was not registered; preparing its artifact at first use
[Shaders/ShaderRegistry.cpp:913 ReportPreparedAtUse] Graphics shader 0x201d86400 was not registered; preparing its artifact at first use
[w159] mesh-cs record: variant 63 indirect=0 groups=1 instances=1 layers=1 (record-time) total=1 groupBytes=3584 outputBytes=3600 tokens before-dispatch=0 after-barrier=0
[videoout] presentation failed: shader 0x201d86400 stage 5: ShaderRecompiler::Recompile: SPIR-V validation before optimization failed:
level=2 word=7: SPV_EXT_mesh_shader extension requires SPIR-V version 1.4 or later.
  OpExtension "SPV_EXT_mesh_shader"

RecompileRequest:
NVNQQUAAAAAFAGTYAQIAAAApAgAAAAAAAH4EgL5+Cv6+BAP8vgAFLMgABgjI …(base64 cut)
[gpu] driver failure: shader 0x201d86400 stage 5: ShaderRecompiler::Recompile: SPIR-V validation before optimization failed:
level=2 word=7: SPV_EXT_mesh_shader extension requires SPIR-V version 1.4 or later.
  OpExtension "SPV_EXT_mesh_shader"

RecompileRequest:
NVNQQUAAAAAFAGTYAQIAAAApAgAAAAAAAH4EgL5+Cv6+BAP8vgAFLMgABgjI …(base64 cut)
terminate called after throwing an instance of 'std::runtime_error'
  what():  shader 0x201d86400 stage 5: ShaderRecompiler::Recompile: SPIR-V validation before optimization failed:
level=2 word=7: SPV_EXT_mesh_shader extension requires SPIR-V version 1.4 or later.
  OpExtension "SPV_EXT_mesh_shader"

RecompileRequest:
NVNQQUAAAAAFAGTYAQIAAAApAgAAAAAAAH4EgL5+Cv6+BAP8vgAFLMgABgjI …(base64 cut)
Aborted (core dumped)
Local diagnostic patch (not part of any branch)
diff --git a/core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp b/core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
index 8fc57a17a91..843c1fc590e 100644
--- a/core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
+++ b/core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
@@ -3080,6 +3080,23 @@ std::shared_ptr<Buffer> recordMeshCompute(const Context& context, VkCommandBuffe
     if (indirect) std::memcpy(&resolved, arguments.Bytes().data(), sizeof(resolved));
     const auto groups = indirect ? static_cast<std::uint64_t>(resolved.groups) * resolved.instances * std::max(resolved.layers, 1u) : static_cast<std::uint64_t>(inputs.meshGroups) * draw.instanceCount * inputs.meshLayers;
     const auto outputLimit = std::min<std::uint64_t>(MeshComputeOutputLimitBytes, context.limits.maxStorageBufferRange);
+    const auto w159Token = [&](const char* what) -> unsigned {
+        if (std::getenv("APS5_GPU_CHECKPOINTS") == nullptr || GuestMemory::GpuLockThreadTag() != 0) return 0;
+        const auto token = AgcDriver::FaultTokenRing::Instance().Claim();
+        if (token == 0) return 0;
+        if (auto* entry = AgcDriver::FaultTokenRing::Instance().Mutable(token)) {
+            entry->submitSerial = 0;
+            entry->programAddress = 0;
+            entry->variantId = program.variantId;
+            entry->stage = static_cast<std::uint32_t>(AgcDriver::FaultStage::compute);
+            entry->argBuffer = 0; entry->argOffset = 0; entry->argStride = 0; entry->argCount = 0;
+            for (auto& word : entry->argWords) word = 0;
+            std::snprintf(entry->desc, sizeof(entry->desc), "%s", what);
+            std::atomic_ref<AgcDriver::FaultToken>(entry->token).store(token, std::memory_order_release);
+        }
+        WriteNvCheckpointToken(context, commands, token, 0);
+        return static_cast<unsigned>(token);
+    };
     if (groups > outputLimit || groupBytes > outputLimit) {
         char text[256];
         std::snprintf(text, sizeof(text), "a mesh-path draw run as compute writes %llu groups of %llu bytes, past the %llu-byte output limit of the compute pass", static_cast<unsigned long long>(groups), static_cast<unsigned long long>(groupBytes), static_cast<unsigned long long>(outputLimit));
@@ -3099,9 +3116,18 @@ std::shared_ptr<Buffer> recordMeshCompute(const Context& context, VkCommandBuffe
     context.BindComputePipeline(commands, pipeline.MeshCompute());
     bind(VK_PIPELINE_BIND_POINT_COMPUTE, pipeline.MeshComputeLayout());
     pushDrawConstants(pipeline, commands, state, draw, shaders, resources, pushBytes, pushStages, arguments.DeviceAddress(), !inputs.restartTable.empty(), inputs.meshLayerStride, true);
+    char w159Before[48];
+    const unsigned w159G = indirect ? resolved.groups : inputs.meshGroups, w159I = indirect ? resolved.instances : draw.instanceCount, w159L = indirect ? resolved.layers : inputs.meshLayers;
+    std::snprintf(w159Before, sizeof(w159Before), "mesh-cs dispatch%s g=%u i=%u l=%u", indirect ? " ind" : "", w159G, w159I, w159L);
+    const unsigned w159A = w159Token(w159Before);
     if (indirect) context.Function<PFN_vkCmdDispatchIndirect>("vkCmdDispatchIndirect")(commands, arguments.Handle(), 0);
     else context.Function<PFN_vkCmdDispatch>("vkCmdDispatch")(commands, inputs.meshGroups, draw.instanceCount, inputs.meshLayers);
     RecordMemoryBarrier(context, commands, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, VK_PIPELINE_STAGE_DRAW_INDIRECT_BIT | VK_PIPELINE_STAGE_VERTEX_SHADER_BIT, VK_ACCESS_SHADER_WRITE_BIT, VK_ACCESS_INDIRECT_COMMAND_READ_BIT | VK_ACCESS_SHADER_READ_BIT);
+    const unsigned w159B = w159Token("mesh-cs done, before draw-indirect");
+    std::fprintf(stderr, "[w159] mesh-cs record: variant %llu indirect=%d groups=%u instances=%u layers=%u (record-time%s) total=%llu groupBytes=%llu outputBytes=%llu tokens before-dispatch=%u after-barrier=%u\n",
+                 static_cast<unsigned long long>(program.variantId), indirect ? 1 : 0, w159G, w159I, w159L,
+                 indirect ? ", host copy of the indirect arguments" : "", static_cast<unsigned long long>(groups), static_cast<unsigned long long>(groupBytes),
+                 static_cast<unsigned long long>(outputBytes), w159A, w159B);
     return output;
 }
 

@SuarezPM

Copy link
Copy Markdown
Contributor Author

@GiannisG1 thank you — and thanks for the correction, stated that plainly: no host device loss, no GPU hang. The -4/abort is the title's own driver timing out its 10 s fence wait, and my flag to Dean on ProsperoAI is withdrawn — it is not a device-lost question anymore.

What the label run establishes: draw-8 dispatch is 1x1x1 (3584 B/group, 3600 B output), so the huge-dispatch hypothesis is ruled out; cold cache spends ~5.5 s preparing draw 8's pair (0x201d80900 as compute + 0x201d80f00), which does not fit the title's 10 s window together with the rest, so runs 1/A abort title-side; warm cache (7 ms) completes submission 2 and stops at the same stage-5 emitter ceiling at 0x201d86400, thrown as an honest error. So warm ProsperoAI joins the emitter-follow-up group, and cold ProsperoAI is a title-timeout-during-first-use-prep story — worth noting runs with ANYPS5_NO_SHADER_CACHE=1 can never leave that path, since every run pays first-use prep.

On your diagnostic patch: understood, local-only and never pushed — keep it that way, the w159 scaffolding must not enter the repo. The record-time dimensions line is the useful artifact and you already pasted its output; the checkpoint tokens wrote nothing because their guards skipped, and with no device loss nothing needs them.

Remaining open item is now only the Conker address mapping (mesh-output vs title import), still separate triage. Tested updated: ProsperoAI as emitter-group on warm cache / title-timeout on cold cache, Dean flag withdrawn.

AI-assisted: yes.

@github-actions github-actions Bot added the needs rebase Conflicts with main, rebase needed label Nov 27, 2026

@ligmaSec ligmaSec left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I compiled the exact request serializer. A request using meshAsCompute round-trips here, but main c1601e56d5 rejects it as truncated. This reader also rejects main’s version 64 split-state capture, and both layouts claim version 64. A further exact version 64 cross-check with typed storage merges in #17056 failed in both directions. Reconcile the request version and legacy decoding when resolving the current conflicts in RequestSerializer.cpp, cache keys, mesh draw, and device integration.

AI-assisted: yes.

@SuarezPM

SuarezPM commented Dec 5, 2026 •

Copy link
Copy Markdown
Contributor Author

@ligmaSec confirmed with the exact code on both sides, and it is real — the collision @sherySJ predicted. Ours (59203ed8, RequestSerializer.cpp:931) stamps version 64 with a trailing meshAsCompute bool (:984), and reads it back at >= 64u (:1070). Main (3d6beecf, same file) stamps 65 with a trailing split-state span + windowSelects bool, and reads split-state at >= 64u / windowSelects at >= 65u. Same version number, different trailing payloads, so both directions misalign exactly the way you measured: our reader takes main's split-state length word as a bool, main's reader takes our bool as a vector length, and both end in truncation/trailing-data throws. Your #17056 cross-check failing both ways makes it a three-way collision on 64 (main split-state, ours meshAsCompute, #17056 typed storage — #17056 is not in main, I checked).

The full inventory for the rebase, since the PR is dirty anyway and this rides it:

  1. Request version: ours moves 64 → 66 (65 is taken by windowSelects), meshAsCompute appended after windowSelects, reader gated >= 66u; main's >= 64u split-state and >= 65u paths stay as the legacy decode. Our 64-shape test fixtures regenerate at 66.
  2. Disk format: ours took 97, main is already at 100 — same treatment, renumber to 101 (verified free at rebase time), fixtures follow.
  3. Cache key: main appends splitState + windowSelects, we append meshAsCompute; the rebased key carries all three in main's order plus ours.
  4. The three-way coordination with feat(agc): read color-target merges through typed storage images #17056 cannot be solved unilaterally from here — @oneandonlydean, please assign the numbers / landing order for 64/65/66+ across the three layouts, or say if feat(agc): read color-target merges through typed storage images #17056 rebases onto whatever lands first.

No code in this cycle: the renumber lands with the rebase onto current main, together with the RequestSerializer.cpp conflict resolution you flagged. Two questions back: (a) confirm 66 (and 101) for ours, or assign different numbers; (b) #17056's status and owner for the coordination — landing before or after this one?

AI-assisted: yes.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agc libSceAgc* build docs needs rebase Conflicts with main, rebase needed shader core/shader

Projects

None yet

Development

Successfully merging this pull request may close these issues.