Skip to content

feat(agc): source indirect instance user data from BaseInstance - #10359

Open
valenciana-nc wants to merge 5 commits into
boykopovar:mainfrom
valenciana-nc:fix/indirect-instance-input
Open

valenciana-nc wants to merge 5 commits into
boykopovar:mainfrom
valenciana-nc:fix/indirect-instance-input

Conversation

@valenciana-nc

@valenciana-nc valenciana-nc commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

What

Add a narrowly gated GPU-indirect vertex route for a numeric start-instance SGPR that cannot safely be folded into the instance index. The reported pattern v8 + low16(s10) followed by an s10 overwrite comes from @ponhei9502 in #5806; this does not claim to close that issue or unblock a title.

  • Initialize the selected user SGPR from Vulkan BaseInstance; initialize the guest instance index from InstanceIndex - BaseInstance. Preserve guest masked arithmetic and later SGPR writes. Sources: Khronos BaseInstance and InstanceIndex; console-equivalence gaps remain in the library debt entry.
  • Keep existing CPU fallback for resource/decoded-input conflicts, unsupported host features, mesh/tessellation/rectangle paths and other unsupported routes. Resource eligibility uses asBase | asValue. Allocation failures still propagate.
  • Key the route in shader/interface/source-memo identity only when enabled. Ordinary requests append no route word, retaining their cache identities. Dynamic captures remain separate from ordinary draw-cache artifacts.
  • Preserve current main's tracing/materialization parameters and completed-subdraw behavior. The optional numeric instanceInputSgpr remains independent of tracing or heap state, and is assigned before InvocationFor.

Current-main serialization conflict resolution

Main now owns formats 47/48/49, including format-49 depth-export bounds. This rebase preserves main's ordinary 49 bytes, format-47 dither semantics, format-48 fragmentBarycentricBuiltins and format-49 depth fields. Only instance-input requests write 50, appending the SGPR after main's existing fields; the reader accepts through 50. Older main requests default to ordinary mode. Captures made with earlier versions of this PR's routed 46/47/49 layouts must be recaptured; those layouts are not interchangeable with main's formats.

Updated tests cover both barycentric values, ordinary-49 byte round trips, main-47/48 replay defaults, routed-50 SGPRs 8/10/11/39, each 1–4-byte truncated route suffix, unexpected trailing bytes, a legacy-layout extra suffix and missing graphics context. Routed bytes must equal the corresponding ordinary request with only its version changed and SGPR appended. Depth-export enabled/disabled cases retain the flag and nondefault bounds (0.25/0.75 when enabled), independently of both barycentric values. Existing main depth/legacy fixtures stay unchanged. Both unsupported-future-version fixtures (RequestSerializerTests.cpp and ShaderMemory.cpp) now reject 51.

Ownership and merge-order coordination

This is independently authored GPU-route work, not #9243/#9248's CPU optimization. Historical scans/coordination identified shared materialization and serialization hunks, with incomplete older comparisons; no blanket overlap all-clear or combined-stack validation is claimed. #9193, #10846 and #10348's authors agreed #10359 first; #7642's author clarified it is stacked on #9508. Those are merge-order statements, not runtime dependencies or permission to reuse format 47. Subsequent integrations must preserve all main fields, keep numeric SGPR and heap state separate and allocate the next available layout. Earlier scan and coordination evidence.

The optional base-vertex extension offered by @mrfelek is not included in this rebase; it remains separate work, and its reported title/GPU measurements are not this PR's validation.

Tested

2026-10-28 rebase: pinned main e4da19aff06e25ae16b90f460dff22e8ac1eb786, tested head 0f420f29bc99c951e80a7f8c49992ae10e148a35. Windows 11 x86-64 build 26300, Intel i7-13650HX, NVIDIA GeForce RTX 4060 Laptop GPU / NVIDIA 610.62, WinLibs GCC 15.2.0 r7, Release, BUILD_TESTING=ON.

Before pushing, a clean git merge-tree preview against newer main 319621ba2e578bd053b0baba2877fe70520e0737 also succeeded; its ordinary serializer remains 49. That preview is an integration check, not a runtime test of the later main tip. Runtime counts below belong to the explicitly pinned baseline and head above.

  • Actual libs and affected executables rebuilt on main and this head.
  • Main 13/13 common controls pass: serializer, shader memory, graphics, six draw-shader-failure modes, allocator failures, two application-heap modes and the newly merged depth-export-clamp GPU regression.
  • Updated PR 19/19 pass: those same 13 controls plus five PM4 GPU-route modes and the instance semantic fixture.
  • Six new modes/semantics repeated three times: 18/18 executions pass.
  • request_serializer covers the updated 47/48/49/50 compatibility matrix and depth-export fields described above. agc_shader_memory includes current main's depth, legacy and target-tail checks as well as the future-version rejection. These main fixtures were not blindly renumbered to the routed format.
  • Every current main/PR/repeat log confirms actual Khronos layer insertion (counts 13/24/33). No skips, missing-requested-layer diagnostics, VUID-, synchronization hazards, or validation errors/warnings were found; this is not inferred from CTest's pass result alone.

Exact same-machine GPU environment and common commands:

export PATH="/c/Users/abelv/tools/winlibs/mingw64/bin:$PATH"
export ANYPS5_GPU='NVIDIA GeForce RTX 4060 Laptop GPU'
export ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1
export VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation
export VK_LAYER_PATH='C:/Users/abelv/AppData/Local/Temp/anyps5-priority-work/validation/windows-x64'
export VK_LOADER_DEBUG=layer
cmake --build build --target libs agc_driver_graphics_tests agc_driver_draw_shader_failure_tests request_serializer_tests agc_shader_memory_tests guest_allocator_failures_tests application_heap_tests agc_driver_depth_export_clamp_tests -j 6
ctest --test-dir build -R '^(request_serializer|agc_shader_memory|agc_driver_graphics|agc_driver_draw_shader_failure.*|guest_allocator_failures|application_heap_default|application_heap_exit_order|agc_driver_depth_export_clamp)$' -V
# Candidate additionally:
cmake --build build --target libs agc_driver_gpu_indirect_instance_input_tests agc_driver_indirect_instance_semantics_tests -j 6
ctest --test-dir build -R '^(request_serializer|agc_shader_memory|agc_driver_graphics|agc_driver_draw_shader_failure.*|guest_allocator_failures|application_heap_default|application_heap_exit_order|agc_driver_depth_export_clamp|agc_driver_gpu_indirect_instance_input.*|agc_driver_indirect_instance_semantics)$' -V
ctest --test-dir build -R '^(agc_driver_gpu_indirect_instance_input.*|agc_driver_indirect_instance_semantics)$' --repeat until-fail:3 -V

The PM4 fixture has a compute shader write draw records, then executes actual driver draws with exact-output/path checks. The semantic fixture checks wave32/wave64, high-bit bases, UINT32_MAX and later SGPR writes. GPU route, cache identity and tracing behavior are unchanged by this format-resolution follow-up. The base-vertex contributor extension was not imported or tested.

git diff --check and scoped current-main conventions pass. The required python tools/check_conventions.py --base origin/main was also run: both unmodified pinned main and this head return 1 with the identical inherited [commit-subject] finding for upstream revert 97f1d41a2c (plus older-fork debt-length warnings). No PR-specific errors appear against current upstream main. The upstream revert was not rewritten and the stale fork tracking ref was not manipulated to hide this result. Current evidence is under oct28-*, including full commands, verbose logs, binary hashes, range-diff and oct28-provenance.json. resume-* and older artifacts are historical, not current-head evidence. Hosted checks from the prior head are not a current-head runtime pass.

Earlier 27-test/negative-control/extra tracing evidence remains in the historical gist, not freshly repeated on this base. No commercial-title, console, other-GPU/OS, full-suite, combined-stack, speedup or complete per-subdraw trace-attribution result is claimed. An older approval is not independent exact-new-head validation. AI-assisted.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: NVIDIA GeForce RTX 4060 Laptop GPU, NVIDIA 610.62, Windows 11 x86-64 26300
  • AI-assisted: yes

Local validation logs and scope.

@MarcZX10 MarcZX10 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I reviewed the indirect-instance route selection, shader input mapping, cache/request identity changes, and the focused regression coverage. The candidate is narrowly gated to the indirect start-instance SGPR, excludes conflicting base-vertex/resource/decoded-input paths, and keeps CPU fallback for unsupported shader modes. The translator supplies Vulkan BaseInstance to that SGPR and subtracts it from Vulkan InstanceIndex, whose specified value starts at firstInstance (Khronos Vulkan spec: https://registry.khronos.org/vulkan/specs/latest/html/vkspec.html#interfaces-builtin-variables). The cache key and serialized request include the route, and the tests cover route changes, fallback, high-bit values and later SGPR writes.

The PR reports paired baseline/change execution of the focused suite on an RTX 4060 with validation layers, including the synthetic end-to-end regression. I did not rerun those GPU tests locally. Current hosted eligibility, conventions, intake, labels and report checks pass; product and relinker jobs are skipped by path policy. I found no blocking issue in the reviewed changes.

@github-actions

github-actions Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

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/CMakeLists.txt
PR 1896 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
PR 4448 docs/dev/debt/libSceAgcDriver.md
PR 5372 docs/dev/debt/libSceAgcDriver.md
PR 5609 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Dispatch/DispatchCache.hpp
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 5925 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/shader/recompiler/Recompiler.hpp
docs/dev/debt/libSceAgcDriver.md
PR 6186 core/libs/prx/libSceAgcDriver/CMakeLists.txt
docs/dev/debt/libSceAgcDriver.md
PR 6188 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
core/shader/recompiler/Recompiler.hpp
PR 6192 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6209 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6280 core/libs/prx/libSceAgcDriver/CMakeLists.txt
docs/dev/debt/libSceAgcDriver.md
PR 6412 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
docs/dev/debt/libSceAgcDriver.md
PR 6488 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/Recompiler.cpp
PR 6808 core/libs/prx/libSceAgcDriver/CMakeLists.txt
docs/dev/debt/libSceAgcDriver.md
PR 6924 core/shader/recompiler/Recompiler.cpp
PR 7085 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 7256 docs/dev/debt/libSceAgcDriver.md
PR 7275 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
PR 7642 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Dispatch/DispatchCache.hpp
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/IndirectDraw.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
docs/dev/debt/libSceAgcDriver.md
PR 7668 docs/dev/debt/libSceAgcDriver.md
PR 7684 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 7689 core/shader/recompiler/Recompiler.hpp
PR 8246 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 9289 docs/dev/debt/libSceAgcDriver.md
PR 9356 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
docs/dev/debt/libSceAgcDriver.md
PR 9387 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
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
docs/dev/debt/libSceAgcDriver.md
PR 9508 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Dispatch/DispatchCache.hpp
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/IndirectDraw.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
docs/dev/debt/libSceAgcDriver.md
PR 9592 docs/dev/debt/libSceAgcDriver.md
PR 9748 docs/dev/debt/libSceAgcDriver.md
PR 9790 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 9852 core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 9895 docs/dev/debt/libSceAgcDriver.md
PR 9897 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 9915 docs/dev/debt/libSceAgcDriver.md
PR 9969 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 10193 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Dispatch/DispatchCache.hpp
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
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
docs/dev/debt/libSceAgcDriver.md
PR 10351 core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 10743 docs/dev/debt/libSceAgcDriver.md
PR 10867 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 11435 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
PR 11483 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 11551 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
docs/dev/debt/libSceAgcDriver.md
PR 11587 docs/dev/debt/libSceAgcDriver.md
PR 11825 docs/dev/debt/libSceAgcDriver.md
PR 12324 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/Recompiler.cpp
PR 12746 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 12792 docs/dev/debt/libSceAgcDriver.md
PR 12828 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 12904 docs/dev/debt/libSceAgcDriver.md
PR 12944 core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 12994 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 13147 docs/dev/debt/libSceAgcDriver.md
PR 13148 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 13809 docs/dev/debt/libSceAgcDriver.md
PR 13863 docs/dev/debt/libSceAgcDriver.md
PR 13920 docs/dev/debt/libSceAgcDriver.md
PR 13928 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Dispatch/DispatchCache.hpp
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
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
docs/dev/debt/libSceAgcDriver.md
PR 13929 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Dispatch/DispatchCache.hpp
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
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
docs/dev/debt/libSceAgcDriver.md
PR 14032 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 14217 core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/Translation/include/Translation/InstructionTranslator.hpp
core/shader/recompiler/Translation/src/InstructionTranslator.cpp
PR 14218 core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 14871 core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 14944 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
docs/dev/debt/libSceAgcDriver.md
PR 14964 docs/dev/debt/libSceAgcDriver.md
PR 15136 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
docs/dev/debt/libSceAgcDriver.md
PR 15343 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 15456 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
docs/dev/debt/libSceAgcDriver.md
PR 15529 docs/dev/debt/libSceAgcDriver.md
PR 15548 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 15555 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 15845 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
PR 16260 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
docs/dev/debt/libSceAgcDriver.md
PR 16391 core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 16427 docs/dev/debt/libSceAgcDriver.md
PR 16812 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 16814 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 16935 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 16953 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 17022 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
PR 17056 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 17611 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 17623 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 17943 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 18029 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 18082 core/libs/prx/libSceAgcDriver/CMakeLists.txt
docs/dev/debt/libSceAgcDriver.md
PR 18106 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 18107 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 18173 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 18177 docs/dev/debt/libSceAgcDriver.md
PR 18757 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
PR 18829 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 19429 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 19557 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
PR 19610 core/libs/prx/libSceAgcDriver/CMakeLists.txt
docs/dev/debt/libSceAgcDriver.md
PR 19710 core/shader/recompiler/Recompiler.hpp
PR 19821 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
docs/dev/debt/libSceAgcDriver.md
PR 19852 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 20010 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
docs/dev/debt/libSceAgcDriver.md
PR 20030 core/libs/prx/libSceAgcDriver/CMakeLists.txt
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 20111 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/include/Driver/Dispatch/DispatchCache.hpp
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 20153 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.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/Translation/src/InstructionTranslator.cpp
core/shader/recompiler/tests/RequestSerializerTests.cpp
docs/dev/debt/libSceAgcDriver.md
PR 20248 core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 20518 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/Translation/src/InstructionTranslator.cpp
core/shader/recompiler/tests/RequestSerializerTests.cpp
PR 20519 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 20580 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 20891 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 20944 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 21199 core/shader/recompiler/Translation/src/InstructionTranslator.cpp
PR 21211 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 21240 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 21745 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 21763 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 21776 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/Recompiler.cpp
PR 21923 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
PR 22025 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
PR 22029 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
PR 22062 docs/dev/debt/libSceAgcDriver.md
PR 22071 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 22190 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 22251 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.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/Translation/src/InstructionTranslator.cpp
core/shader/recompiler/tests/RequestSerializerTests.cpp
PR 22328 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
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/Translation/src/InstructionTranslator.cpp
core/shader/recompiler/tests/RequestSerializerTests.cpp
PR 22424 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 22434 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
docs/dev/debt/libSceAgcDriver.md
PR 22439 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
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/Translation/include/Translation/InstructionTranslator.hpp
core/shader/recompiler/Translation/src/InstructionTranslator.cpp
core/shader/recompiler/tests/RequestSerializerTests.cpp
PR 22546 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 22583 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 22628 core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/Translation/include/Translation/InstructionTranslator.hpp
core/shader/recompiler/Translation/src/InstructionTranslator.cpp
PR 22647 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Dispatch/DispatchCache.hpp
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
docs/dev/debt/libSceAgcDriver.md
PR 22690 core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 22692 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 22697 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 22703 core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 22731 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 22841 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
PR 23242 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 23244 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 23252 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 23258 core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp
core/shader/recompiler/Recompiler.hpp
PR 23281 core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp
core/shader/recompiler/Recompiler.hpp
PR 23409 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 23545 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 23553 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 23811 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/IndirectDraw.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/Translation/src/InstructionTranslator.cpp
core/shader/recompiler/tests/RequestSerializerTests.cpp
PR 23818 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/Translation/src/InstructionTranslator.cpp
core/shader/recompiler/tests/RequestSerializerTests.cpp
PR 24049 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp
core/shader/recompiler/Recompiler.hpp
PR 24294 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 24523 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 24661 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
PR 24704 core/shader/recompiler/Recompiler.cpp
PR 24714 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 24987 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
PR 25010 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/Translation/src/InstructionTranslator.cpp
core/shader/recompiler/tests/RequestSerializerTests.cpp
PR 25419 core/shader/recompiler/Translation/src/InstructionTranslator.cpp
PR 25489 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
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/Translation/src/InstructionTranslator.cpp
core/shader/recompiler/tests/RequestSerializerTests.cpp
PR 25559 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 25609 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 26012 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 26036 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/IndirectDraw.cpp
PR 26084 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
PR 26100 core/shader/recompiler/Recompiler.hpp
PR 26365 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 26630 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 26686 core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 26691 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 26766 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 26797 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 27133 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
docs/dev/debt/libSceAgcDriver.md
PR 27177 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Dispatch/DispatchCache.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
PR 27288 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
PR 27670 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 27744 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 27775 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
PR 27782 core/shader/recompiler/Translation/src/InstructionTranslator.cpp
PR 27807 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/IndirectDraw.cpp
PR 27811 core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 27847 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp
core/shader/recompiler/tests/RequestSerializerTests.cpp
PR 27872 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
PR 27887 core/shader/recompiler/Recompiler.cpp
PR 27947 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 28070 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
PR 28077 core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 28090 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
docs/dev/debt/libSceAgcDriver.md
PR 28102 core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 28132 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 28142 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
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 28150 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
PR 28176 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 28193 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 28197 core/shader/recompiler/Recompiler.hpp
PR 28229 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 28237 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
PR 28252 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
PR 28262 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/Translation/src/InstructionTranslator.cpp
PR 28279 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp
core/shader/recompiler/tests/RequestSerializerTests.cpp
PR 28280 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp
core/shader/recompiler/tests/RequestSerializerTests.cpp
PR 28289 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp
core/shader/recompiler/tests/RequestSerializerTests.cpp
PR 28295 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 28296 core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 28332 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 28350 core/shader/recompiler/Recompiler.hpp
PR 28372 core/shader/recompiler/Recompiler.cpp
PR 28376 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/Translation/include/Translation/InstructionTranslator.hpp
core/shader/recompiler/Translation/src/InstructionTranslator.cpp
core/shader/recompiler/tests/RequestSerializerTests.cpp
PR 28384 core/shader/recompiler/Recompiler.cpp
PR 28387 core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 28390 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 28400 core/libs/prx/libSceAgcDriver/CMakeLists.txt
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 28403 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/Recompiler.cpp
PR 28410 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 28411 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Dispatch/DispatchCache.hpp
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/Recompiler.cpp
PR 28414 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 28469 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 28470 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 28480 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 28487 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 28488 core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 28490 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 28520 core/shader/recompiler/Recompiler.cpp
PR 28559 docs/dev/debt/libSceAgcDriver.md
PR 28564 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 28582 core/shader/recompiler/Recompiler.cpp
PR 28586 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
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/Translation/include/Translation/InstructionTranslator.hpp
core/shader/recompiler/Translation/src/InstructionTranslator.cpp
core/shader/recompiler/tests/RequestSerializerTests.cpp
PR 28590 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 28622 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 28624 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
PR 28638 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 28660 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 28668 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
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/Translation/include/Translation/InstructionTranslator.hpp
core/shader/recompiler/Translation/src/InstructionTranslator.cpp
core/shader/recompiler/tests/RequestSerializerTests.cpp
PR 28673 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 28702 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
PR 28773 core/shader/recompiler/Recompiler.cpp
PR 28780 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 28808 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Dispatch/DispatchCache.hpp
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
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/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 28866 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/Recompiler.cpp
PR 28875 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 28893 core/shader/recompiler/Recompiler.cpp
PR 28894 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
PR 28924 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
PR 28925 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 28930 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
PR 28934 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
PR 28936 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
PR 28941 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
PR 28943 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
PR 28945 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 28948 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
PR 28956 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 28957 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
PR 28958 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
core/shader/recompiler/Recompiler.cpp
PR 28964 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
PR 28999 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 29000 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 29002 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
PR 29008 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 29015 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 29017 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 29025 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 29032 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 29033 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 29034 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
PR 29037 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 29038 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 29039 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 29042 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
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 29051 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 29052 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
PR 29055 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
PR 29058 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 29059 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
PR 29060 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 29066 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
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 29067 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
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 29076 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
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
Report truncated: 31 more lines omitted.

@github-actions github-actions Bot added build shader core/shader docs agc libSceAgc* labels Oct 23, 2026
@oneandonlydean oneandonlydean self-assigned this Oct 23, 2026
@github-actions github-actions Bot added the needs rebase Conflicts with main, rebase needed label Oct 23, 2026
@valenciana-nc
valenciana-nc force-pushed the fix/indirect-instance-input branch from ab78ab4 to cf860e4 Compare October 24, 2026 03:16
@github-actions github-actions Bot removed the needs rebase Conflicts with main, rebase needed label Oct 24, 2026
@valenciana-nc

Copy link
Copy Markdown
Contributor Author

@MarcZX10 Thanks for the review. Main subsequently took request format 46, causing a serialization conflict. Resolved and pushed cf860e4883 on pinned main 379b1dca32: routed requests now use format 47, ordinary main format-46 bytes/fields remain unchanged. range-diff records the format/test updates; the runtime route is unchanged. Its context assignment now sits before InvocationFor rather than changing the aggregate constructor hunk shared with #6612.

Fresh actual libs/test builds and matched RTX 4060 Laptop controls:

  • Main existing focused tests: 11/11 pass; exact PM4 regression still fails its intended gpu-side: 0 assertion.
  • Updated head: 17/17 focused tests pass, plus 18/18 executions across three repeats of the six new tests/modes.
  • Required Vulkan/no-cache/Khronos validation active; layer insertion confirmed, no VUIDs, validation warnings/errors or missing-layer messages, no positive-run skips.

New full logs, hashes, provenance and range-diff. Conventions/whitespace pass. The current external overlap is #9193's independent serialization change; I requested merge-order coordination, with no agreement or runtime dependency claimed. Incomplete older-PR comparisons remain disclosed. Description now distinguishes current evidence from the original head. No title/console/performance claim or hosted runtime success is added. AI-assisted.

@oneandonlydean

Copy link
Copy Markdown
Collaborator

@valenciana-nc one non-blocking suggestion: CacheKey now appends instanceInputSgpr for every shader, so every existing disk-cache entry gets a new key once this lands and users take a full cold rebuild. Appending it only when it is not -1 would keep the existing keys for shaders that don't use instance input. Your call; it doesn't hold the PR.

@valenciana-nc

Copy link
Copy Markdown
Contributor Author

Applied — instanceInputSgpr is now appended to the cache key only when it isn't -1, so ordinary requests keep the same keys as on main and existing cache entries stay valid. Verified with the indirect-instance and serializer tests on lavapipe (7/7, no new validation errors vs. the branch without this change).

@github-actions github-actions Bot added the needs rebase Conflicts with main, rebase needed label Oct 24, 2026
@oneandonlydean

Copy link
Copy Markdown
Collaborator

@valenciana-nc This PR now conflicts with main in core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp, core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp, core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp. Main’s draw tracing and completed-subdraw handling changed the same materializeDrawStage and finishDraw interfaces that this PR extends with instanceInputSgpr. Could you decide how the indirect-instance data should flow through the current draw and tracing paths?

@valenciana-nc
valenciana-nc force-pushed the fix/indirect-instance-input branch from 91ee734 to 3d764f0 Compare October 25, 2026 05:46
@valenciana-nc

Copy link
Copy Markdown
Contributor Author

@oneandonlydean Resolved and pushed 3d764f0ebd on main e7e3e9c198.

The integration keeps main's packetOffset/traceToken arguments and the InvocationFor exception-tracing wrapper. instanceInputSgpr is a separate optional trailing argument, default -1. Ordinary stages, mesh pairing and CPU-record repatches stay ordinary; only the separate numeric front-vertex candidate passes the proven SGPR plus the real packet offset and trace.token. Its route is assigned before InvocationFor, so request/source/capture identity remains correct without bypassing tracing. completedSubdraws and main's submission/failure handling are untouched; the route is not stored in tracing/subdraw state. Ordinary cached artifacts remain available for compile/interface/late-GPU refusal.

Also retained your cache-key suggestion and the 91ee734 follow-up, adding assertions that ordinary full/interface keys and source-memo identity stay unchanged while routed identities differ.

Fresh actual libs and matched RTX 4060 Laptop builds: main 21/21 existing controls (including the draw tracing/failure/finisher modes); exact PM4 negative control still fails its intended GPU-path assertion. Resolved branch 27/27, plus 18/18 repeated executions and three extra PM4 trace-on/off/late-fallback runs. Required Vulkan, no shader cache and Khronos validation active: insertion verified, zero VUIDs/validation warnings/errors or missing-layer diagnostics, no skips.

Extra enabled traces verify 63 attempts / 126 stage selections with matching token/submission/queue/offset and no failure records; disabled correlation is tested with the variable unset. They are not a claim of complete indirect per-subdraw/submit attribution (batch=0/direct and unrecorded indirect tokens remain in those offscreen traces); this change preserves main's bookkeeping rather than inventing new tracing semantics.

Full current evidence, traces, hashes and range-diff. Body updated; conventions and whitespace pass. #9193's author agreed this PR first; additional shared signature/serializer hunks remain disclosed and are being coordinated. Could you re-review the integration? No new title/console/performance or hosted-runtime claim. AI-assisted.

@valenciana-nc

Copy link
Copy Markdown
Contributor Author

Updated merge-order coordination after rebasing #10359 onto main e7e3e9c198 (head 3d764f0ebd):

These are shared interface/layout integration points, not implementations imported into this runtime route or demonstrated runtime prerequisites. Current focused Vulkan evidence and complete scan, including incomplete older comparisons: https://gist.github.com/valenciana-nc/169b11c1bb69abe132356e61915d865c . AI-assisted coordination.

@EagleBearerYS

Copy link
Copy Markdown
Contributor

@valenciana-nc #10359 first is fine for both of ours, merge order only.

@oneandonlydean

Copy link
Copy Markdown
Collaborator

@valenciana-nc Thanks, agreed: #10359 lands first with journal format 46/47 as you propose, and we'll renumber #10348 to format 48.

@valenciana-nc

valenciana-nc commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor Author

@MarcZX10 @oneandonlydean Rebased to current main 74acfad, head a5a606e. Existing tracing/completed-subdraw integration, independent optional SGPR route, ordinary cache identity and format 46/47 behavior are retained. Fresh actual libs/test builds on RTX 4060 Laptop / NVIDIA 610.62 / Windows: main controls 9/9, updated head 15/15, plus 18/18 repeated new-mode/semantic executions. Required Vulkan/no-cache/Khronos validation active, no skips, VUIDs or missing-layer diagnostics. Body distinguishes this fresh scope from earlier trace/negative-control evidence and does not claim title or combined-stack validation. Could you re-review the current head? Logs: https://gist.github.com/valenciana-nc/535e87d2d74acfde062effdf1dd26c37 . AI-assisted.

@valenciana-nc

Copy link
Copy Markdown
Contributor Author

@oneandonlydean Fixed in 0f420f29bc, rebased onto pinned main e4da19aff0. Ordinary requests retain main format 49; only instance-input requests use 50, and the reader accepts through 50. Both future-version fixtures now reject 51. Updated compatibility tests retain main 47/48/49 reads, barycentric flags and enabled/disabled depth exports, including exact ordinary-payload-plus-route comparisons. No base-vertex extension was folded in.

Rebuilt actual libraries on the same RTX 4060 Laptop / NVIDIA 610.62 / Windows machine: main 13/13 controls (including depth-export clamp), PR 19/19, plus 18/18 repeated GPU-mode/semantic executions. Required Vulkan/no-cache/Khronos validation active, with zero skips, VUIDs, synchronization hazards, validation errors/warnings or missing-layer messages. A pre-push merge-tree preview against newer main 319621ba2e is clean; it still uses ordinary format 49. Exact runtime results remain pinned to the tested commits, not attributed to that later tip.

Current-main scoped conventions and whitespace pass. The required older-fork origin/main comparison returns the identical inherited non-Conventional upstream revert finding (97f1d41a2c) on unmodified main and this PR; this is documented, not hidden. Body and evidence are updated (oct28-* artifacts). Could you re-review? AI-assisted.

@github-actions github-actions Bot removed the needs rebase Conflicts with main, rebase needed label Oct 28, 2026

@MarcZX10 MarcZX10 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Re-checked — changes requested

What I checked

  • Reviewed exact head 0f420f29bc99c951e80a7f8c49992ae10e148a35 against fetched main 2960e9a6e7.
  • The current-main merge preview is clean, git diff --check passes, and the reviewed scope includes route gating, cache identity, and request-format compatibility. Hosted Windows, relinker, conventions, and eligibility checks pass; product Linux and specialized GPU jobs were skipped.
  • The author reports extensive exact-head Windows/NVIDIA validation for the pinned baseline e4da19aff0, including 19/19 controls and 18/18 repeated GPU-route runs.

Blocking current-head validation

The tested runtime baseline is e4da19aff0; the newer main merge preview in the report is 319621ba2e, which the author explicitly says was an integration check rather than a runtime test. Fetched current main is now 2960e9a6e7, 297 commits ahead of this branch. Because this changes shader translation, cache identity, and serialized requests, a clean merge preview alone does not validate their interaction with the newer tree. Please refresh onto current main and rerun the focused serializer, shader-memory, and GPU-route tests with the validation layer on the refreshed integration head.

I found no new code defect in this read, but the previous approval predates this head and the current integration has not had runtime validation. I cannot renew approval until that evidence is available; I did not run GPU tests locally.

@TechLevelZero

Copy link
Copy Markdown
Contributor

✅ NVIDIA GPU test: passed

PR head 0f420f2 merged onto main ba5b533 · tested 2026-10-29 15:02 UTC · 35 min

GPU NVIDIA RTX 2000 Ada Generation, driver 595.99.02, Vulkan 1.4.329
Host Ubuntu 26.04.1 LTS, kernel 7.0.0-38-generic, container ubuntu:24.04
Logs build and test logs for this run
Build ✅ passed (Release, -DANYPS5_ENABLE_SPIRV_TOOLS=ON)
Tests ✅ 2,294 passed · 6 failed (0 new, 5 also fail on main, 1 unstable on main) · 39 skipped (ANYPS5_REQUIRE_VULKAN=1)
Test setup CPU-only tests without a GPU; GPU tests (and any CPU-only test that failed or skipped without one) once on the GPU with VK_LAYER_KHRONOS_validation and ANYPS5_NO_SHADER_CACHE=1; main ran the same way
Test selection 2,339 of 2,891 tests run: the ones this change can reach, chosen by tools/select_tests.py from main's build graph
Vulkan validation ✅ no new validation IDs vs main (901 tests run on the GPU)
Slow tests (>30 s, GPU tests timed with validation layers) ⚠️ agc_driver_pipeline_journal 44.1 s
Intermittent validation messages (1, seen once in the parallel run, not reproduced when the test was re-run alone 2 times; not counted against this PR)
agc_driver_depth_clear_hle: VUID-vkCmdCopyBuffer-commonparent (6x)
Unstable on main (1, these also failed in recent main runs on this machine; not counted against this PR)
agc_driver_submit_progress: failed in 3 of the last 5 main runs
Failing on main too (5, not counted against this PR)
agc_compute_pipeline_inspection
agc_submit_progress
agc_submit_progress_no_timeline
guest_mmap_executable
guest_socket_options_multicast
Passed on retry (1, failed in the parallel run, passed when re-run with a 360 s timeout; not counted against this PR)
agc_driver_depth_clear_hle: SEGFAULT in the parallel run; also passed only on retry in 38 other runs in the last 7 days
Validated but not compared (4, not in the main baseline's validation pass)
agc_driver_gpu_indirect_instance_input_fallback_key
agc_driver_gpu_indirect_instance_input_late_fallback
agc_driver_gpu_indirect_instance_input_uncached
agc_driver_gpu_indirect_instance_input_verify
Validation IDs already present on main (4 IDs in 440 tests)
VUID-VkDeviceCreateInfo-pNext-pNext (440 tests): agc_compute_pipeline_replay, agc_driver, agc_driver_address_passes, agc_driver_address_passes_draw_transitions, agc_driver_address_passes_targets_split, agc_driver_alpha_to_coverage, agc_driver_array_layer_target_cpu, agc_driver_bc_block_copy, and 432 more
VUID-vkCmdCopyImage-srcImage-01548 (11 tests): agc_driver_depth_clear_hle, agc_driver_depth_plane_buffer_memory, agc_driver_depth_plane_cpu_write_after_memo, agc_driver_depth_plane_cpu_write_after_page_unwatch, agc_driver_depth_plane_cpu_write_after_partial_unwatch, agc_driver_depth_plane_partial_store, agc_driver_depth_plane_partial_store_unimported, agc_driver_depth_storage_dispatch, and 3 more
VUID-vkCmdCopyImage-srcImage-01551 (11 tests): agc_driver_depth_clear_hle, agc_driver_depth_plane_buffer_memory, agc_driver_depth_plane_cpu_write_after_memo, agc_driver_depth_plane_cpu_write_after_page_unwatch, agc_driver_depth_plane_cpu_write_after_partial_unwatch, agc_driver_depth_plane_partial_store, agc_driver_depth_plane_partial_store_unimported, agc_driver_depth_storage_dispatch, and 3 more
VUID-VkPipelineColorBlendStateCreateInfo-pAttachments-00605 (2 tests): agc_driver_prepared_exports, agc_driver_srgb8_color_target
Skipped (39)
agc_driver_bda_reads_shadowed_results: skipped, the device reports watched host memory written when it imports or reads it
agc_driver_bda_reads_shadowed_results_per_build: skipped, the device reports watched host memory written when it imports or reads it
agc_driver_msaa_dcc_compared_import_2: skipped, the device reports host imports that keep write protection, so the write-watch probe compares none of them
agc_driver_msaa_dcc_compared_import_4: skipped, the device reports host imports that keep write protection, so the write-watch probe compares none of them
agc_driver_msaa_dcc_compared_import_8: skipped, the device reports host imports that keep write protection, so the write-watch probe compares none of them
agc_driver_sample_order_grid_reference: skipped, the device does not keep depth drawn at custom sample locations at those locations, even after a transition that names them: the composite of uniform renders holds the guest's depth in 0 of 3005 sloped samples, so no path can be compared with it bit for bit
agc_driver_sparse_dma_buf_import: skipped, host imports are unavailable: /dev/udmabuf is not accessible
agc_driver_stencil_ref_export: skipped, the device lacks VK_EXT_shader_stencil_export
agc_host_import_sparse: skipped, host imports are unavailable: /dev/udmabuf is not accessible
agc_import_settle_initial_dcc: skipped, the device has no deferred settle of host imports: imports under 1 MiB wait for one only on Windows
agc_unit_shadow_completion_store: skipped, the device reports watched host memory written when it imports or reads it
guest_net_ctl: skipped, the host has no IPv4 address
guest_video_out_color_space: skipped, no display or Vulkan device: SDL_InitSubSystem(VIDEO | GAMECONTROLLER) failed: wayland,x11 not available
guest_video_out_hdr: skipped, no display or Vulkan device: SDL_InitSubSystem(VIDEO | GAMECONTROLLER) failed: wayland,x11 not available
guest_video_out_high_frame_rate: skipped, no display or Vulkan device: SDL_InitSubSystem(VIDEO | GAMECONTROLLER) failed: wayland,x11 not available
guest_video_out_output_mode: skipped, no display or Vulkan device: SDL_InitSubSystem(VIDEO | GAMECONTROLLER) failed: wayland,x11 not available
guest_video_out_resolution_status: skipped, no display or Vulkan device: SDL_InitSubSystem(VIDEO | GAMECONTROLLER) failed: wayland,x11 not available
guest_video_out_wqhd_detection: skipped, no display or Vulkan device: SDL_InitSubSystem(VIDEO | GAMECONTROLLER) failed: wayland,x11 not available
video_out_flip_controls: skipped, no display or Vulkan device: DisplayWindow: Vulkan support is either not configured in SDL or not available in current SDL video driver (offscreen) or platform
video_out_flip_cpuflip: skipped, no display or Vulkan device: DisplayWindow: Vulkan support is either not configured in SDL or not available in current SDL video driver (offscreen) or platform
video_out_flip_cpuflip_in_order: skipped, no display or Vulkan device: DisplayWindow: Vulkan support is either not configured in SDL or not available in current SDL video driver (offscreen) or platform
video_out_flip_eop: skipped, no display or Vulkan device: DisplayWindow: Vulkan support is either not configured in SDL or not available in current SDL video driver (offscreen) or platform
video_out_flip_eop_aftergpu: skipped, no display or Vulkan device: DisplayWindow: Vulkan support is either not configured in SDL or not available in current SDL video driver (offscreen) or platform
video_out_flip_eop_main: skipped, no display or Vulkan device: DisplayWindow: Vulkan support is either not configured in SDL or not available in current SDL video driver (offscreen) or platform
video_out_flip_fresh: skipped, no display or Vulkan device: DisplayWindow: Vulkan support is either not configured in SDL or not available in current SDL video driver (offscreen) or platform
video_out_flip_labels: skipped, no display or Vulkan device: DisplayWindow: Vulkan support is either not configured in SDL or not available in current SD
Reproduce
git fetch origin 0f420f29bc99c951e80a7f8c49992ae10e148a35 ba5b5330b37724bca4b99f30faab504653635a04
git checkout ba5b5330b37724bca4b99f30faab504653635a04 && git merge --no-ff 0f420f29bc99c951e80a7f8c49992ae10e148a35
git submodule update --init --recursive
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON -DANYPS5_ENABLE_SPIRV_TOOLS=ON
cmake --build build && cmake --build build --target libs
VK_DRIVER_FILES=/nonexistent/icd.json ctest --test-dir build -E '^(agc|shader|recompiler|videoout|video_out|guest_video_out|vulkan)|gpu' --timeout 120 --parallel 32 --output-on-failure
ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation \
  ctest --test-dir build -R '^(agc|shader|recompiler|videoout|video_out|guest_video_out|vulkan)|gpu' --timeout 120 --parallel 4 --output-on-failure
# failures are then re-run alone: --timeout 360 --parallel 2; new validation IDs: the test alone, twice, --parallel 1

Automated build and test on a contributor's NVIDIA machine; it does not replace upstream CI. A new comment is posted for each new push. Full logs.

@Gonic0

Gonic0 commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

Landing order for the request serialization version: this PR, #12662 and #10846 all move it from 49 to 50. On #10846 we agreed that #12662 goes first and #10846 then takes 51. I propose the same here: #12662 goes first, and this PR takes the next number no merged PR uses when it merges main after #12662 (51, or 52 if #10846 lands first). I'm happy with another order if you prefer one.

AI-assisted: yes

@MarcZX10

Copy link
Copy Markdown
Contributor

Re-checked — serialization order agreed

The consistent order is #12662, then #10359, then #10846, so their request formats can use 50, 51, and 52 respectively if no other version change lands first.

Please record #12662 as a merge-order dependency on this PR; #10846 already lists both PRs ahead of it.

@bunbeans2-arch

Copy link
Copy Markdown
Contributor

An AMD RDNA 4 run on Windows of 0f420f29bc, since the GPUs tested are NVIDIA.

Windows 11 Pro 10.0.22631, AMD Radeon RX 9070 XT (1002:7550, driver 32.0.32015.7029, amdvlk64), MSYS2 UCRT64 g++ 16.1.0, Release. ANYPS5_REQUIRE_VULKAN=1, ANYPS5_NO_SHADER_CACHE=1, VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation; with VK_LOADER_DEBUG=layer the loader logs Insert instance layer "VK_LAYER_KHRONOS_validation" in every run. This head merged onto main f7f03daf52, 3 runs:

  • The tests this PR adds pass 3 of 3: agc_driver_gpu_indirect_instance_input, _fallback_key, _late_fallback, _uncached, _verify, and agc_driver_indirect_instance_semantics.
  • No VUID- line.

AI-assisted: yes (Claude Code)

@oneandonlydean

Copy link
Copy Markdown
Collaborator

The serializer update on 0f420f29bc matches the pinned main: ordinary requests write version 49, instance-input requests write 50, and both future-version fixtures reject 51.

One coordination item remains: the description still says Depends on: none. Please record #12662 as the merge-order prerequisite agreed in comment 6511370881, with #10846 after this PR. #12662 is still open. After it lands, merge main and allocate the next unused instance-input format while preserving main’s ordinary format and updating the reader and version fixtures together. The proposed numbers are conditional on what has landed by then.

@Sam-mon7

Sam-mon7 commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

A data point from the title the v8 + low16(s10) pattern came from: on main, this PR makes a Demon's Souls (PPSA01341 01.007.000) scene markedly slower. Stacking #1896 on top recovers part of the loss, not all of it.

Setup. Windows 11 Pro 10.0.26200, Ryzen 7 5800X3D (8C/16T), RTX 4070 (NVIDIA 610.88), WinLibs GCC 15.2.0, Release. The scene is renderer-only, built from tutorial (m08) assets; it boots straight into the scene with no input and needs no pad. All three builds carry a local equivalent of #6280's sampled-texture mip clamp, because without it main loses the device in this scene (#10634). Each build had one traced run (APS5_TRACE_SECONDS=150:60, warm caches); the window starts 150 s after the first present.

  • 6ba4703673: main 0dbf9fb + the clamp
  • 5e670d92b3: the same + this PR's head 0f420f2, merged locally. The serializer conflict is resolved by writing the routed request as 52, after main's 51 (tessellationEvaluationSubgroups), and appending the SGPR after main's fields. Tests, test registration and docs were taken from main and not run, so this measures runtime behaviour only.
  • 73378664a7: the same + perf(agc): queue all records of a CPU-path indirect draw behind APS5_PIPELINE_INDIRECT #1896 2850af2 (a trivial profile-line conflict), run with APS5_PIPELINE_INDIRECT=1

The branch is Sam-mon7/AnyPS5 evidence/ds-zoo-10359-1896.

build presents in 60 s frame p50 / p90 GPU busy per present
main + clamp 485 120.5 / 148.6 ms 40.5 ms
+ this PR 282 214.1 / 239.0 ms 82.8 ms
+ this PR + #1896 (APS5_PIPELINE_INDIRECT=1) 372 156.4 / 190.1 ms 54.7 ms
{"commit":"6ba470367314","dirty":false,"env":{"APS5_NO_PAD_INPUT":"1","APS5_TRACE_SECONDS":"150:60"},"gpu":"NVIDIA GeForce RTX 4070","driver":"NVIDIA 610.88","os":"Windows 10.0.26200","cpu":"AMD Ryzen 7 5800X3D 8-Core Processor","cpu_threads":16,"memory_mib":32693,"title_id":"PPSA01341","title":"Demon's Souls","content_version":"01.007.000","resolution":"1920x1080","window":{"spec":"seconds 150:60","first_present":1181,"ms":60019.895},"presents":485,"frame_ms":{"p50":120.493,"p90":148.566,"p99":167.308,"max":181.695},"gpu_busy_ms_per_present":40.483,"worker_busy_pct":{"queue worker 0x0":96.046,"queue worker 0x20":94.878,"queue worker 0x28":94.584,"queue worker 0x30":93.662,"queue worker 0x38":90.946,"queue worker 0x40":94.670,"queue worker 0x48":90.428,"queue worker 0x50":94.933},"top_phases_ms_per_frame":{"Driver.Packet":925.106,"Driver.Packet.memory_wait":767.601,"Driver.Packet.dispatch":74.188,"Driver.Packet.draw":62.090,"Driver.Draw":61.747,"Driver.Dispatch":50.629,"Graphics.Draw":43.864,"Graphics.Draw.draw_and_resource_release":40.386},"trace_dropped":true,"trace_dropped_threads":{"queue worker 0x0":{"events_full_after_s":8.366,"events_lost":1563279,"totals_full":false},"draw committer":{"events_full_after_s":28.100,"events_lost":298814,"totals_full":false}},"trace":"aps5-trace-6ba470367314-211036.json.gz"}
{"commit":"5e670d92b336","dirty":false,"env":{"APS5_NO_PAD_INPUT":"1","APS5_TRACE_SECONDS":"150:60"},"gpu":"NVIDIA GeForce RTX 4070","driver":"NVIDIA 610.88","os":"Windows 10.0.26200","cpu":"AMD Ryzen 7 5800X3D 8-Core Processor","cpu_threads":16,"memory_mib":32693,"title_id":"PPSA01341","title":"Demon's Souls","content_version":"01.007.000","resolution":"1920x1080","window":{"spec":"seconds 150:60","first_present":697,"ms":60048.378},"presents":282,"frame_ms":{"p50":214.138,"p90":239.040,"p99":262.889,"max":286.314},"gpu_busy_ms_per_present":82.835,"worker_busy_pct":{"queue worker 0x0":97.546,"queue worker 0x20":96.888,"queue worker 0x28":96.636,"queue worker 0x48":94.311,"queue worker 0x50":97.565,"queue worker 0x30":96.142,"queue worker 0x38":94.226,"queue worker 0x40":96.993},"top_phases_ms_per_frame":{"Driver.Packet":1636.895,"Driver.Packet.memory_wait":1374.539,"Driver.Packet.draw":142.606,"Driver.Draw":142.216,"Driver.Packet.dispatch":95.513,"Graphics.Draw":68.439,"Graphics.Draw.draw_and_resource_release":64.881,"Driver.Dispatch":62.827},"trace_dropped":true,"trace_dropped_threads":{"queue worker 0x0":{"events_full_after_s":10.240,"events_lost":1268951,"totals_full":false}},"trace":"aps5-trace-5e670d92b336-216476.json.gz"}
{"commit":"73378664a738","dirty":false,"env":{"APS5_NO_PAD_INPUT":"1","APS5_PIPELINE_INDIRECT":"1","APS5_TRACE_SECONDS":"150:60"},"gpu":"NVIDIA GeForce RTX 4070","driver":"NVIDIA 610.88","os":"Windows 10.0.26200","cpu":"AMD Ryzen 7 5800X3D 8-Core Processor","cpu_threads":16,"memory_mib":32693,"title_id":"PPSA01341","title":"Demon's Souls","content_version":"01.007.000","resolution":"1920x1080","window":{"spec":"seconds 150:60","first_present":859,"ms":60059.443},"presents":372,"frame_ms":{"p50":156.437,"p90":190.063,"p99":221.858,"max":284.937},"gpu_busy_ms_per_present":54.685,"worker_busy_pct":{"queue worker 0x0":97.017,"queue worker 0x20":96.009,"queue worker 0x28":95.807,"queue worker 0x30":95.030,"queue worker 0x38":92.781,"queue worker 0x50":96.334,"queue worker 0x48":92.647,"queue worker 0x40":95.708},"top_phases_ms_per_frame":{"Driver.Packet":1224.331,"Driver.Packet.memory_wait":1022.432,"Driver.Packet.dispatch":104.464,"Driver.Packet.draw":77.604,"Driver.Draw":77.277,"Graphics.Draw":63.054,"Graphics.Draw.draw_and_resource_release":60.021,"Driver.Dispatch":56.906},"trace_dropped":true,"trace_dropped_threads":{"queue worker 0x0":{"events_full_after_s":13.096,"events_lost":948026,"totals_full":false},"draw committer":{"events_full_after_s":31.806,"events_lost":232271,"totals_full":false}},"trace":"aps5-trace-73378664a738-184440.json.gz"}

The three traces and their tools/trace_digest.py output are attached to this release.

What changes on queue 0. The queue-0 worker is the critical path in this scene. Its trace buffer filled after 8-13 s in every run, so these per-frame figures come from that fully traced part.

  • On main, about 647 draw packets per frame cost 91 us each. Most draws are committed by the draw committer (465 Graphics.Draw per frame there, none on queue 0).
  • With this PR, the indirect draws take the GPU path. On main that path drains the draw pipeline and records inline (drainBeforeInline() + lockForDraw() in Driver::draw). Queue 0 now records 604 draws per frame itself (62 ms per frame) and the committer only 74. Materializations do not go away: Shader.DrawStage runs 328 times per frame at 124 us each (main: 290 at 72 us), and capture_resources 120 times at 220 us each (main: 128 at 107 us). GPU busy per present doubles; I have not looked at which GPU work grows.
  • With perf(agc): queue all records of a CPU-path indirect draw behind APS5_PIPELINE_INDIRECT #1896 on top, the draws go back to the committer (576 per frame), but captures stay expensive: 108 per frame at 267 us each. Dispatch packets on queue 0 rise from 247 us to 439 us each, presumably waiting for the deeper pipeline to drain.

Noise. These are single runs. The only other run of the main + clamp build in this scene (with APS5_THREAD_PRIORITY=high, which did not help) read p50 133.9 ms, so run-to-run spread here is around 10%. The 1.3x and 1.8x differences above are well outside it. I also ran the first two builds with a local Demon's Souls job-worker patch on both legs (it stops 13 guest job threads from spinning; not upstream, not proposed): 96.0 ms against 164.4 ms p50, so the direction does not depend on CPU contention.

So on this title the route needs at least #1896 to avoid inline recording. Even then it costs more per draw than the CPU path it replaces, at least in this scene. I can rerun against a newer head if that helps.

AI-assisted: yes (Claude Code)

Sam-mon7 added a commit to Sam-mon7/AnyPS5 that referenced this pull request Dec 1, 2026
Sam-mon7 added a commit to Sam-mon7/AnyPS5 that referenced this pull request Dec 1, 2026

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.

9 participants