Skip to content

feat(shader): read table-call callee addresses at run time for boot-stable linking - #24906

Closed
tablefrogpillow wants to merge 3 commits into
boykopovar:mainfrom
tablefrogpillow:feat/boot-stable-table-calls-24525
Closed

tablefrogpillow wants to merge 3 commits into
boykopovar:mainfrom
tablefrogpillow:feat/boot-stable-table-calls-24525

Conversation

@tablefrogpillow

Copy link
Copy Markdown
Contributor

What

Boot-stable table-call linking, so the driver shader cache can hit across boots.

Authored by @Dark3581 (two commits, root-cause analysis in #24525); I rebased onto current main, reconciled the serializer, and verified it on AMD hardware.

Today LinkCalls bakes the absolute callee address into the linked code as the s_cmp_lg_u32 literal (GraphBuilder.cpp). The callee shaders move between boots, so the linked code, the SPIR-V and the pipeline differ every boot and the driver cache can never hit; large Unreal compute modules (1.2–2.6 M words) then rebuild cold on every launch.

This change:

  • LinkCalls writes a 0 placeholder for each callee-address literal and records its provenance in GuestContext::linkedTableLiterals (table-entry offset + descriptor source: user-data descriptor, user-data/constant pointer, nested descriptor).
  • The translator lowers each placeholder to a run-time read of that table entry (CompareInstructions.cpp), and callees are ordered by table entry rather than by address.
  • A changed table is still caught, because the table words are already a link dependency.

The linked module, SPIR-V and pipeline are then identical across boots, so the cross-process driver cache hits (measured elsewhere: 105 s cold → 217 ms warm once the module is identical).

Scope / honesty: this is the determinism half only. It is necessary but not sufficient to close #24525: even with a boot-stable module, the first encounter still compiles the 1.2–2.6 M-word module cold (105–1632 s), past Unreal's 120 s render-thread watchdog. Keeping the title under the watchdog on a cold cache (startup journal-replay warm path) is a separate follow-up. Not yet verified in game.

Serializer version: adds format version 64, written only when linkedTableLiterals is non-empty. This overlaps with #15343, which also uses version 64 — whichever lands second should take version 65. Flagged so they do not collide.

Tested

Linux, AMD Vega 56 (RADV VEGA10, GCN5), Mesa 26.2.6. 12 related tests pass; the compute table-call GPU tests ran with ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation, the loader confirmed inserting the validation layer, and none logged a VUID- error:

  • request_serializer, scalar_call (determinism: LinkCalls of two different callee-address sets produces byte-identical code, tableLiterals and fallbacks)
  • agc_driver_compute_table_calls, agc_driver_compute_nested_table_call, agc_driver_compute_fs_table_calls (GPU, 0 validation errors)
  • agc_shader_replay_requests, agc_driver_split_table_call_run, agc_split_table_call, agc_split_table_call_full, agc_split_table_call_none, agc_driver_scalar_swappc, agc_driver_scalar_swappc_fetch

Not verified in game (see scope note). The two-boot module hash on a real RADV module is covered at unit level by scalar_call; an end-to-end in-game two-boot hash still wants the title.

Checklist

🤖 Generated with Claude Code

@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.

Reviewed — no blocking findings

The review is incomplete, so a formal approval is not justified; no blocking defect was verified in the portions read.

What I ran

  • Inspected the prepared bundle for head c4249c5d25b006dcdbd15070cbe4dd69b827c1ae and read relevant source ranges through repo_read.py.
  • No tests or build commands were run.

Results

Check Result Note
Change and targeted source review not run Partial review only
Tests and build not run No commands run

Findings

Blocking

None verified in the portions read.

Non-blocking

  • The description notes that serializer version 64 is also used by #15343. Coordinate the version assignment before merging both changes; this review did not verify that PR's state.

Not verified

  • Did not read every changed file or the complete contents of the changed files. Files read in targeted ranges: core/shader/recompiler/ControlFlow/src/GraphBuilder.cpp, core/shader/recompiler/ControlFlow/include/ControlFlow/GraphBuilder.hpp, core/shader/recompiler/Translation/src/CompareInstructions.cpp, core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp, core/shader/recompiler/Recompiler.cpp, and core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp.
  • The other changed files listed in manifest.json were not read: core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp, core/libs/tests/ScalarCall.cpp, core/shader/recompiler/CacheKey.hpp, core/shader/recompiler/ControlFlow/include/ControlFlow/RequestSerializer.hpp, core/shader/recompiler/Recompiler.hpp, core/shader/recompiler/Translation/include/Translation/InstructionTranslator.hpp, core/shader/recompiler/Translation/include/Translation/TranslationContext.hpp, core/shader/recompiler/Translation/src/InstructionTranslator.cpp, and core/shader/recompiler/tests/RequestSerializerTests.cpp.
  • Test claims in the PR description and in-game behavior were not independently verified.

To get this to a good state

Nothing is required. Optional: finish reviewing the unread changed files and confirm serializer version coordination with #15343 before merge.

Version 64 is now a valid serialization version (table-call literals), so
the ShaderMemory unsupported-version check must probe 65 instead of 64.
agc_shader_memory and agc_shader_memory_coherent_atomic_loads pass.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

@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.

Reviewed — no blocking findings

Nothing blocks this change based on the source reviewed; the excluded test file and unrun checks leave the review incomplete, so this is a comment rather than an approval.

What I ran

  • Reviewed head 82160181325fee239c61472330c0e1dd2d39d640 using repo_read.py.
  • No build or test commands were run. No merged-preview check was run.

Results

Check Result Note
Source review passed Core linking and translation paths inspected
Tests not run Author-reported tests were not independently run
Full changed-file coverage not run ShaderMemory.cpp was excluded from the review bundle

Findings

Blocking

None identified in the code read.

Non-blocking

None.

Not verified

  • core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp was excluded because it was too large for the review folder; its changed line was not read.
  • No build, tests, physical console behavior, or in-game two-boot cache behavior were independently verified.
  • Read changed lines and targeted context in ShaderRegistry.hpp, ShaderRegistry.cpp, ScalarCall.cpp, CacheKey.hpp, GraphBuilder.hpp, RequestSerializer.hpp, GraphBuilder.cpp, RequestSerializer.cpp, Recompiler.cpp, Recompiler.hpp, InstructionTranslator.hpp, TranslationContext.hpp, CompareInstructions.cpp, InstructionTranslator.cpp, and RequestSerializerTests.cpp. Also read the review description, commits, manifest, diff, and README. ShaderMemory.cpp was the only changed file excluded by the bundle.

To get this to a good state

Nothing is required. Optional follow-up: independently run the stated checks and inspect the excluded ShaderMemory.cpp change before making a formal approval decision.

@Haembina

Copy link
Copy Markdown
Contributor

This PR and #23818 both claim request serialization version 64, with different layouts:

Each merges cleanly into main on its own; together they conflict only in RequestSerializer.cpp, and the ShaderMemory.cpp fixtures merge cleanly. Resolving that conflict by keeping 64 would leave two layouts under one number. Whichever lands second needs version 65 and its fixtures (NVNQQUEAAAA= becomes supported, the unsupported example moves to 66).

For the record, an NVIDIA run of c4249c5d25 merged into main 133008c0ee (RTX 4090, driver 621.24, Windows 11 Pro 26300, WinLibs GCC 15.2.0, Release, validation layer 1.4.363, tools/select_tests.py selection of 3371 tests): the 12 tests from the description pass, there are 0 VUID- lines, and the only new failures were agc_shader_memory and agc_shader_memory_coherent_atomic_loads, which 8216018132 fixes.

@Doorriiaann

Copy link
Copy Markdown
Contributor

NVIDIA run of the Tested selection: no regression.

Setup: RTX 3070 8 GB, NVIDIA 610.57.04, Ryzen 5 5600X, Debian 13 (kernel 6.12.115), GCC 13.3.0 Release, validation layer 1.4.335. Base is the merge-base 7ed059f, head is 8216018. ANYPS5_GPU=NVIDIA ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation VK_LOADER_DEBUG=layer ctest -R '(table_call|scalar_swappc|split_table_call|shader_replay_requests)' -V, 3 runs each.

base this PR
agc_driver_compute_table_calls, _fs_table_calls, _nested_table_call, agc_driver_split_table_call_run, agc_driver_scalar_swappc, _fetch, scalar_swappc, agc_split_table_call, _full, _none, agc_shader_replay_requests 33/33 pass 33/33 pass

Every run selects the RTX 3070; every Vulkan test's log shows the layer inserted, none reports it missing, and no log has a VUID- line.

AI-assisted: yes

@github-actions github-actions Bot added the review queue Next in the maintainer review queue: checks pass, no open change request, no conflict label Nov 21, 2026
@rafaconvaitis

Copy link
Copy Markdown
Contributor

Windows data with AMD's own driver, which the runs so far did not include (RADV on Linux; NVIDIA on Linux and on Windows), plus an NVIDIA GPU, each with and without the Khronos validation layer. The 15 tests below pass on both GPUs in every run, on main and with this PR.

Setup

  • Windows 11 25H2 (26200), WinLibs GCC 15.2.0 r7, Release.
  • main ba870cbe18, and the same commit with this PR's diff applied (8216018132 against its base 7ed059fc42; it applies cleanly).
  • GPUs: AMD Radeon 760M (1002:15bf, Vulkan device name Radeon 5), AMD Software 26.11.2 (driver 32.0.32029.2010), and NVIDIA GeForce RTX 3050 (driver 610.88), selected with ANYPS5_GPU.
  • Environment: ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1. Layer runs add VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation (1.4.363.1) and VK_LOADER_DEBUG=layer; the loader inserted the layer in every one of them.

Tests: the 12 from your Tested section plus scalar_swappc and the two agc_shader_memory* tests, whose fixtures this PR changes: request_serializer, scalar_call, scalar_swappc, agc_driver_compute_table_calls, agc_driver_compute_nested_table_call, agc_driver_compute_fs_table_calls, agc_shader_replay_requests, agc_driver_split_table_call_run, agc_split_table_call, _full, _none, agc_driver_scalar_swappc, agc_driver_scalar_swappc_fetch, agc_shader_memory, agc_shader_memory_coherent_atomic_loads.

Radeon 760M, no layer Radeon 760M, layer RTX 3050, no layer RTX 3050, layer
main, 1 run 15 of 15 pass same same same
this PR, 3 runs 15 of 15 pass same same same
  • No VUID-, SYNC-HAZARD- or UNASSIGNED- line in any run.
  • agc_shader_memory and agc_shader_memory_coherent_atomic_loads, which failed in the earlier Windows run on c4249c5d25, pass here on 8216018132 on both GPUs.
  • No control run: the new scalar_call checks use tableLiterals and TableLiteralSource from this PR, so they do not build on main.

Not run: a title.

AI-assisted: yes (runs scripted with an AI assistant, on the machine above).

@Superseabas Superseabas 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.

Windows check of head 8216018132 with GCC 16 on an NVIDIA and an AMD GPU, merged onto main e493612311 (clean merge).

Setup: Windows 11 Home 10.0.26200, WinLibs GCC 16.2.0 (x86_64-ucrt-posix-seh, r3), Release full build, run from PowerShell; GPU tests with ANYPS5_REQUIRE_VULKAN=1, ANYPS5_NO_SHADER_CACHE=1 and VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation. GPUs, each picked with ANYPS5_GPU: NVIDIA GeForce RTX 5070 Ti (621.01) and the Ryzen 7 7700X's integrated AMD Radeon (1002:164e, Adrenalin 26.10.2). This was built together with #19100, which touches other files.

  • request_serializer and scalar_call: 2 of 2 on main and with this PR, in 3 of 3 runs.
  • The description's GPU set plus agc_shader_memory and agc_shader_memory_coherent_atomic_loads, whose fixture this PR bumps (agc_driver_compute_table_calls, _nested_table_call, _fs_table_calls, agc_driver_split_table_call_run, agc_split_table_call, _full, _none, agc_driver_scalar_swappc, _fetch, agc_shader_replay_requests): every one passes on both GPUs, on main and with this PR, in 3 of 3 runs. No VUID- lines.
  • Red check: with LinkCalls baking the callee address again (const bool fromTable = false;), scalar_call fails, so its two-boot determinism check does catch an address-dependent link.

I read the ShaderMemory.cpp change the earlier review couldn't open: it's the one-line move of the unsupported-version example past 64 (8216018132).

The version-64 overlap with #23818 that Haembina raised still stands. Both are open, and each merges cleanly on its own, so whichever lands second needs 65.

AI-assisted: yes (Claude Code)

@malekaifa malekaifa 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.

Reviewed exact head 82160181325fee239c61472330c0e1dd2d39d640 and all 16 changed-file patches.

The linked-table path now records the table entry provenance beside zero placeholders instead of baking absolute callee addresses into the linked code. Translation replaces only those annotated SOPC literal operands with runtime reads from the original descriptor/pointer/table entry; legacy/non-table callees keep their address literals. The provenance is owned, serialized, restored, and included in the recompile cache key, while split-table parts clear it. The scalar-call regression verifies that moving callees between boots leaves linked code and provenance identical, and a red control that bakes addresses again breaks that determinism check.

The exact head has terminal green hosted checks and independent Windows/Linux GPU coverage on NVIDIA and AMD with no validation errors. Superseabas also exercised the current head with a red fromTable=false control and approved it.

One integration constraint is intentionally still conditional: #23818 is also open and independently uses request format 64. Whichever PR lands second must rebase and assign its new layout version 65 (with fixtures updated); neither branch should pre-emptively bump while both are open.

No blocking finding on this exact head.

AI-assisted: yes

@github-actions

github-actions Bot commented Nov 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 5371 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 5609 core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 5925 core/shader/recompiler/Recompiler.hpp
PR 6188 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
core/shader/recompiler/Recompiler.hpp
PR 6235 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 6412 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 6488 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/Recompiler.cpp
PR 6743 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
PR 6924 core/shader/recompiler/Recompiler.cpp
PR 7085 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 7642 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/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 7682 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
PR 7684 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 7689 core/shader/recompiler/Recompiler.hpp
PR 8592 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
PR 9356 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 9387 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 9508 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/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 9563 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
PR 9790 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 9852 core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 9897 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 9969 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 10193 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/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 10351 core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 10359 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 10652 core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 10867 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 11442 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
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
PR 12324 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/Recompiler.cpp
PR 12828 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 12944 core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 13928 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/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 13929 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/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 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/include/Translation/TranslationContext.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
PR 15499 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
PR 15548 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 16260 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 16391 core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
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 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/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 18106 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 18107 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 19181 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
PR 19429 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 19479 core/shader/recompiler/ControlFlow/src/GraphBuilder.cpp
core/shader/recompiler/Translation/include/Translation/TranslationContext.hpp
PR 19710 core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/Translation/include/Translation/TranslationContext.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
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
PR 20030 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/tests/ShaderMemory.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 20131 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
PR 20153 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.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 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/tests/ShaderMemory.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 20891 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 20944 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 21199 core/shader/recompiler/Translation/include/Translation/TranslationContext.hpp
core/shader/recompiler/Translation/src/InstructionTranslator.cpp
PR 21240 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 21499 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.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 22034 core/shader/recompiler/Translation/include/Translation/TranslationContext.hpp
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 22251 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.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/include/Driver/Shaders/ShaderRegistry.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.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/tests/ShaderMemory.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 22439 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/ControlFlow/include/ControlFlow/RequestSerializer.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 22446 core/shader/recompiler/Translation/include/Translation/TranslationContext.hpp
PR 22546 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
PR 22583 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 22628 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
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/include/Translation/TranslationContext.hpp
core/shader/recompiler/Translation/src/InstructionTranslator.cpp
PR 22647 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
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 22703 core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 22724 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 23242 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 23243 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 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 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/tests/ShaderMemory.cpp
PR 23553 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.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 23811 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/shader/recompiler/ControlFlow/src/RequestSerializer.cpp
core/shader/recompiler/Recompiler.hpp
PR 24294 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/Execution/include/Driver/Shaders/ShaderRegistry.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 24704 core/shader/recompiler/Recompiler.cpp
PR 24714 core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 24721 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp
core/shader/recompiler/tests/RequestSerializerTests.cpp
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/include/Translation/TranslationContext.hpp
core/shader/recompiler/Translation/src/InstructionTranslator.cpp
PR 25489 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/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 25609 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 25660 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/Recompiler.cpp
PR 25767 core/shader/recompiler/Translation/include/Translation/TranslationContext.hpp
PR 26012 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 26047 core/shader/recompiler/Translation/include/Translation/TranslationContext.hpp
PR 26100 core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/Translation/include/Translation/TranslationContext.hpp
PR 26101 core/shader/recompiler/Translation/include/Translation/TranslationContext.hpp
PR 26365 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 26630 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/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 27670 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 27744 core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 27782 core/shader/recompiler/Translation/include/Translation/TranslationContext.hpp
core/shader/recompiler/Translation/src/InstructionTranslator.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 27887 core/shader/recompiler/Recompiler.cpp
PR 27915 core/shader/recompiler/Translation/include/Translation/TranslationContext.hpp
PR 27947 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 28058 core/shader/recompiler/Translation/include/Translation/TranslationContext.hpp
PR 28077 core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 28090 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 28095 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
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/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 28158 core/shader/recompiler/Translation/include/Translation/TranslationContext.hpp
PR 28176 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 28197 core/shader/recompiler/Recompiler.hpp
PR 28252 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
PR 28254 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 28262 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/Translation/src/InstructionTranslator.cpp
PR 28269 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
PR 28279 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/libs/tests/ScalarCall.cpp
core/shader/recompiler/ControlFlow/include/ControlFlow/GraphBuilder.hpp
core/shader/recompiler/ControlFlow/src/GraphBuilder.cpp
core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp
core/shader/recompiler/tests/RequestSerializerTests.cpp
PR 28280 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/libs/tests/ScalarCall.cpp
core/shader/recompiler/ControlFlow/include/ControlFlow/GraphBuilder.hpp
core/shader/recompiler/ControlFlow/src/GraphBuilder.cpp
core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp
core/shader/recompiler/tests/RequestSerializerTests.cpp
PR 28289 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/libs/tests/ScalarCall.cpp
core/shader/recompiler/ControlFlow/include/ControlFlow/GraphBuilder.hpp
core/shader/recompiler/ControlFlow/src/GraphBuilder.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/Execution/include/Driver/Shaders/ShaderRegistry.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/libs/tests/ScalarCall.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/ControlFlow/include/ControlFlow/GraphBuilder.hpp
core/shader/recompiler/ControlFlow/include/ControlFlow/RequestSerializer.hpp
core/shader/recompiler/ControlFlow/src/GraphBuilder.cpp
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/include/Translation/TranslationContext.hpp
core/shader/recompiler/Translation/src/CompareInstructions.cpp
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/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/Execution/include/Driver/Shaders/ShaderRegistry.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.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/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/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 28564 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 28582 core/shader/recompiler/Recompiler.cpp
PR 28586 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/ControlFlow/include/ControlFlow/RequestSerializer.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/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 28608 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
PR 28609 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
core/shader/recompiler/ControlFlow/include/ControlFlow/GraphBuilder.hpp
core/shader/recompiler/ControlFlow/src/GraphBuilder.cpp
PR 28631 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
PR 28638 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 28652 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 28660 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 28668 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/ControlFlow/include/ControlFlow/RequestSerializer.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/tests/ShaderMemory.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 28682 core/shader/recompiler/Translation/include/Translation/TranslationContext.hpp

@oneandonlydean

Copy link
Copy Markdown
Collaborator

@tablefrogpillow this head (8216018) fails agc_driver_split_table_call_driver,agc_driver_split_table_call_driver_cpu_rounds,agc_driver_split_table_call_driver_gpu_rounds when run alone on main 214d3c7: "[gpu] host imports at shutdown: 1 live (0.1 MiB); made 1 (0.1 MiB), refused 0 (0.0 MiB, 0 remembered), failed 0; by requester (made/refused/failed): map 0/0/0, build 1/0/0, access 0/0/0, join 0/0/0, s". I have held it; the hold lifts when a new head passes it.

@Superseabas Superseabas 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.

The hold reproduces on Windows on both vendors. My approval of 8216018132 on 11-22 predates these tests, so it doesn't cover current main.

Setup: Windows 11 Home 10.0.26200, WinLibs GCC 16.2.0 (x86_64-ucrt-posix-seh, r3), Release full build, run from PowerShell with ANYPS5_REQUIRE_VULKAN=1, ANYPS5_NO_SHADER_CACHE=1 and VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation. GPUs: NVIDIA GeForce RTX 5070 Ti (621.01) and the Ryzen 7 7700X's integrated AMD Radeon (1002:164e, Adrenalin 26.10.2). main c3aae2e8fb, and this head merged onto it (clean merge, built together with #24781 and #21948, which touch other files).

  • agc_driver_split_table_call_driver, _cpu_rounds and _gpu_rounds, each run alone 3 times: 3 of 3 on main, and 0 of 3 with this PR, on both GPUs.
  • The rest of the earlier set (request_serializer, scalar_call, the table-call and split-table-call tests, agc_shader_memory*) passes: 11 of 14 with this PR in 2 of 2 runs, only those three failing.

The assertion: the "host imports at shutdown" line is only the end-of-run statistics. The failure before it is

split table call driver: invocation 0 holds 0x9e3779b9, expected 0x9e3779be

and _gpu_rounds then misses its a batch of N rounds ran ... line.

Where the tests come from: efe46a01df added them, merged with #25848 (GPU-selected split table call rounds) on 11-24. So they're new on main since this PR's last runs, not something this PR changed.

A guess, not traced: the invocation is missing exactly the callee's part of the result. This PR links a table callee through a run-time literal (tableLiterals, filled per request in ShaderRegistry.cpp). A continued split part run through the driver's rounds may not get those literals, so its s_cmp against the callee address never matches.

AI-assisted: yes (Claude Code)

@Superseabas

Copy link
Copy Markdown
Contributor

Follow-up to my comment above: the cause is confirmed, by code and by a probe build.

The chain:

  1. ReadTableCallees now gives every callee an entryOffset, including the split path (ReadTableCallees(request, call, dependencies, true), ShaderRegistry.cpp:1402).
  2. In LinkCalls, a callee with an entryOffset is fromTable. Its s_cmp literal is emitted as a 0 placeholder, and the real value goes into tableLiterals, to be read from the table at run time.
  3. BuildSplitTableCallPrograms links each callee part through LinkCalls, in both the split builder (GraphBuilder.cpp:2332) and the continuation builder (:2538). It keeps only linked.code and linked.fallbacks; linked.tableLiterals is dropped. SplitTableCallPartInvocation also clears linkedTableLiterals.
  4. With no entry for the word, readScalarCompareOperand falls back to readOperand, so the part compares the lane's target with 0. That never matches, so the part takes the fallback, which the continuation builder turns into EndProgram. The callee's work is lost, which is the +5 the test misses.

SplitTableCallRun builds its callees without an entryOffset, so they are still linked with the baked target. That's why only the driver tests, which read their callees through ReadTableCallees, fail.

The probe: main c3aae2e8fb plus this head, built twice on Windows (RTX 5070 Ti and Radeon iGPU, validation layer on):

Build split_table_call_driver, _cpu_rounds, _gpu_rounds, each alone ×3 The 14-test table-call set
this head as is 0 of 3 each, on both GPUs 11 of 14
plus a local one-line change: split callees get no entryOffset (split ? std::nullopt : offset in ReadTableCallees) 3 of 3 each, on both GPUs 14 of 14

The probe isn't a proposed fix, since it gives up the boot-stable link for split callees. It only shows the missing literals are the whole failure. A fix would carry each part's tableLiterals through BuildSplitTableCallPrograms (re-indexed to the part's code) and into SplitTableCallPartInvocation, or deliberately keep baked targets for split parts.

AI-assisted: yes (Claude Code)

CPritch added a commit to CPritch/AnyPS5 that referenced this pull request Nov 26, 2026
…tavi

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot removed the review queue Next in the maintainer review queue: checks pass, no open change request, no conflict label Nov 27, 2026
@github-actions github-actions Bot added the needs rebase Conflicts with main, rebase needed label Nov 28, 2026
@malekaifa

Copy link
Copy Markdown
Contributor

Rechecked against current main 81ad4d40c583. This head (82160181325f) conflicts in RequestSerializer.hpp and RequestSerializer.cpp because main already uses serialization version 64 for splitState, while this branch uses version 64 for linkedTableLiterals and does not carry the splitState field/encoding.

Please rebase onto current main and preserve the existing version-64 splitState encoding. For the agreed dependency order #24906 -> #23818, the compatible sequence is:

  1. Keep splitState at version 64 and encode/decode linkedTableLiterals at version 65 in feat(shader): read table-call callee addresses at run time for boot-stable linking #24906.
  2. After feat(shader): read table-call callee addresses at run time for boot-stable linking #24906 lands, rebase fix(shader): give a mesh group its output vertex count #23818 and move its verticesPerPrimitive addition from version 65 to version 66.
  3. Update the compatibility fixtures and run the serializer round-trip/backward-compatibility tests on the stacked result.

#23818 currently merges cleanly against main by itself, but it must remain blocked until this dependency and the version sequence are resolved. Please do not merge either branch with the conflicting version-64 layout.

@malekaifa malekaifa 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.

Request changes on head 82160181325fee239c61472330c0e1dd2d39d640.

Current main already serializes splitState at version 64. This branch also assigns version 64 to linkedTableLiterals and does not carry main's splitState field/encoding, so it conflicts in RequestSerializer.hpp and RequestSerializer.cpp and cannot be merged without losing serialization compatibility.

For the agreed dependency order #24906 -> #23818, please rebase onto current main, preserve splitState at version 64, and move linkedTableLiterals to version 65. Then #23818 must be rebased on top and move verticesPerPrimitive to version 66. Update the compatibility fixtures and run the serializer round-trip/backward-compatibility tests on the stacked result before requesting re-review.

@malekaifa

Copy link
Copy Markdown
Contributor

I investigated the reported split-table-call failure and prepared a tested successor: #28376.

It carries LinkCalls table literals through both split and continuation programs into translation, keys cached parts by callee entry offset, and rebases the serializer change cleanly onto current main (v64 split-state payload, v65 linked-table literals).

Validation: 15/15 focused tests passed on the NVIDIA RTX 5080 path and 7/7 table-call driver tests passed with the AMD-selected path. Please review #28376 as the replacement for this still-dirty branch.

@malekaifa

Copy link
Copy Markdown
Contributor

Follow-up recheck after main advanced: current main is dd5412d54ef5. The exact-head merge-tree is still dirty only in RequestSerializer.hpp and RequestSerializer.cpp; main still assigns version 64 to splitState. The requested sequence remains unchanged: #24906 uses version 65 for linkedTableLiterals, then #23818 rebases and uses version 66 for verticesPerPrimitive. #23818 itself still merges cleanly against current main, but remains dependency-blocked.

@tablefrogpillow

Copy link
Copy Markdown
Contributor Author

Closing in favour of #28376, which supersedes this branch with the run-time linked-table-literals approach (v65) and is further along in review. No sense keeping two competing implementations of run-time table-call callee linking open — #28376 is the one to carry forward. Thanks @malekaifa.

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

Labels

agc libSceAgc* fix error Closes an issue (Fixes #N) needs rebase Conflicts with main, rebase needed shader core/shader unblocks title Names a title ID on the Unblocks line

Projects

None yet

9 participants