Skip to content

fix(shader): read lane 63 of half-wave reductions whose keys exclude helper lanes - #5189

Merged
oneandonlydean merged 2 commits into
boykopovar:mainfrom
EagleBearerYS:fix/shader-half-wave-helper-keys
Oct 14, 2026
Merged

oneandonlydean merged 2 commits into
boykopovar:mainfrom
EagleBearerYS:fix/shader-half-wave-helper-keys

Conversation

@EagleBearerYS

@EagleBearerYS EagleBearerYS commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

What

On a 32-lane host subgroup (NVIDIA), a wave64 pixel program's v_readlane_b32 of lane 63 is emitted only when its half-wave scan's keys are proven zero for lanes that did not enter (EntryLaneWalk, SpirvAluEmitterMath.cpp). Resident Evil Village (PPSA01556, content 01.210.000) has 8 pixel programs with a wave-wide OR reduction: DPP row_shr ORs, v_permlanex16_b32, then v_readlane_b32 of lanes 31 and 63. They fail with:

SPIR-V emission failed: ... opcode=ReadLane reason=v_readlane_b32 of lane 63 is outside the 32-lane host subgroup that runs this wave64 program at one lane per invocation

The keys' mask is exec & ~vcc from entry inside a loop: LogicalAnd(loop exec, LogicalAnd(IEqual32(HelperInvocation, 0), ...)). The proof failed for two reasons:

  • It accepted the not-helper test only inside ballots, not as a lane bit.
  • It searched conjunctions depth first, so the loop's exec phis took the whole 512-step budget before the walk reached the helper test. These programs need about 780,000-950,000 steps in that order.

Now the helper test is a lane bit, and a LogicalAnd first looks for a false or helper conjunct before it walks an operand. The scan then maps to a subgroup reduction for lane 31 and the identity for lane 63 (MatchHalfWaveScan), as it already did for keys the proof accepted.

Related: #5398 (the same message on NHL 26; a replay of the program dumped there still fails with this change, so it isn't fixed here).

Tested

  • Windows 11, WinLibs GCC 15.2.0 r7, Release, this branch merged into main a252fcd: two new verifyHalfWaveReduction cases in agc_shader_memory. With main's SpirvAluEmitterMath.cpp, agc_shader_memory fails with the title's message.
    • Helper keys: an OR scan keyed by v_cmp_gt_f32 vcc, 0, v0 and s_andn2_b64 s[24:25], exec, vcc. It fails with the title's message on main and passes with the change.
    • Search order: 600 compares narrow exec before the same scan, which puts the helper test at the bottom of a 600-deep LogicalAnd chain. On the branch's base, 6d7b873, it fails with only the search-order half reverted and passes with the full change.
    • agc_shader_memory, agc_shader_bindless, agc_shader_srt_read_patching, agc_shader_frontend_pair, agc_shader_frontend_pair_off and agc_shader_disk_cache pass, also with the other two Resident Evil Village fixes (listed in Resident Evil Village (PPSA01556) #5169) merged in.
  • Linux (WSL2 Ubuntu 24.04, GCC 13.3, CI configuration), with the three Resident Evil Village fixes (listed in Resident Evil Village (PPSA01556) #5169) merged into main a252fcd: the same six tests pass.
  • PPSA01556 on Windows 11 (RTX 3070 Laptop GPU), on a local branch past the title's earlier stops: all 8 pixel programs prepare. Offline, the 11 dumped pixel programs recompile.
  • PPSA02530 (PRAGMATA), run by xXPBSXx on Windows 10 with an RTX 4080 SUPER, one run each (comment): without this change it stops about 45 s in with the same message. With it there's no ReadLane failure, and the run goes on about 160 s to a different stop (static bindless image capacity exceeded).
  • python3 tools/check_conventions.py --base origin/main: passed.

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
  • Unblocks: PPSA01556 Resident Evil Village (PPSA01556) #5169; PPSA02530 gets past the same stop (xXPBSXx's run above)
  • AI-assisted: yes

…helper lanes

On a 32-lane host, a wave64 pixel program's v_readlane_b32 of lane 63 is emitted only when its half-wave scan's keys are proven zero for lanes that did not enter. The proof walk accepted the not-helper test (IEqual32 of HelperInvocation and 0) only inside ballots, not as a lane bit, and it searched conjunctions depth first: a key mask like exec & ~vcc inside a loop spent the 512-step budget on the loop's exec phis before it reached the helper test. Accept the helper test as a lane bit, and look for a false or helper conjunct before walking an operand. Resident Evil Village's wave-wide OR reductions (DPP row shifts, v_permlanex16, v_readlane of lanes 31 and 63) failed this way.
The proof that a half-wave scan's keys are zero for lanes that did not
enter walks a conjunction depth first under a 512-step budget. Narrowing
exec with 600 compares before the scan puts the helper-lane test at the
bottom of a 600-deep LogicalAnd chain in the keys: walking the first
operand first spends the whole budget before reaching it, and the
v_readlane_b32 of lane 63 is refused. Looking for a false or helper
conjunct before walking an operand finds it, so lane 31 becomes a
subgroup OR on a 32-lane host. Resident Evil Village's wave64 pixel
programs key these scans by a loop's exec ahead of the helper test.
@github-actions github-actions Bot added shader core/shader agc libSceAgc* labels Oct 13, 2026
@johandavidcm

Copy link
Copy Markdown
Contributor

Cross-vendor validation on one Windows machine: Windows 11 26200, WinLibs GCC 15.2.0 r7, Release, BUILD_TESTING=ON, this PR (b6bc7218f) merged into main c7601b797 (plus #5301, a relinker resource build fix my checkout path needs). ANYPS5_REQUIRE_VULKAN=1, ctest --timeout 120 --parallel 4 over the 502 agc/shader/video_out tests, then the 44 lane, wave, DPP, permlane, readlane, reduction and subgroup tests (including agc_shader_memory, _bindless, _srt_read_patching, _frontend_pair, _frontend_pair_off, _disk_cache) with --repeat until-fail:3.

GPU (ANYPS5_GPU) Driver 502-test suite 44 focused tests x3
NVIDIA GeForce RTX 4070 (subgroup 32) 32.0.16.1742 502 passed (7 skipped) 44/44
AMD Radeon(TM) Graphics, Ryzen 7 7800X3D iGPU (RDNA 2, 0x164e, subgroup 64) 32.0.21042.62 498 passed, 4 failed 44/44

The 4 AMD failures (agc_driver_pixel_interlock, agc_driver_layered_volume_draw, agc_driver_layered_volume_vertex, agc_driver_lds_mixed_width_atomics) fail identically on main c7601b797 without this PR on the same machine (#2009, #5271), so no regression on the 64-lane host, where the changed path is not taken. Not tested: PPSA01556.

RINNECODER pushed a commit to RINNECODER/AnyPS5 that referenced this pull request Oct 13, 2026
…helper lanes

On a 32-lane host, a wave64 pixel program's v_readlane_b32 of lane 63 is emitted only when its half-wave scan's keys are proven zero for lanes that did not enter. The proof walk accepted the not-helper test (IEqual32 of HelperInvocation and 0) only inside ballots, not as a lane bit, and it searched conjunctions depth first: a key mask like exec & ~vcc inside a loop spent the 512-step budget on the loop's exec phis before it reached the helper test. Accept the helper test as a lane bit, and look for a false or helper conjunct before walking an operand. Resident Evil Village's wave-wide OR reductions (DPP row shifts, v_permlanex16, v_readlane of lanes 31 and 63) failed this way.

Ported from upstream PR boykopovar#5189.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DgW4n3qYgi5jAAohEmXRQj
RINNECODER pushed a commit to RINNECODER/AnyPS5 that referenced this pull request Oct 13, 2026
The proof that a half-wave scan's keys are zero for lanes that did not
enter walks a conjunction depth first under a 512-step budget. Narrowing
exec with 600 compares before the scan puts the helper-lane test at the
bottom of a 600-deep LogicalAnd chain in the keys: walking the first
operand first spends the whole budget before reaching it, and the
v_readlane_b32 of lane 63 is refused. Looking for a false or helper
conjunct before walking an operand finds it, so lane 31 becomes a
subgroup OR on a 32-lane host. Resident Evil Village's wave64 pixel
programs key these scans by a loop's exec ahead of the helper test.

Ported from upstream PR boykopovar#5189.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DgW4n3qYgi5jAAohEmXRQj
RINNECODER added a commit to RINNECODER/AnyPS5 that referenced this pull request Oct 13, 2026
* perf(shader): pick the f32 NaN result with one quiet and one fallback select

nanResultF32 gives the f32 add, sub, subrev, mul and fma forms, the legacy
mul, mad and fma forms, v_div_fmas_f32 and v_fma_mix_f32 with f32 sources
the AMD NaN result: the first NaN source, quieted in IEEE mode, else the
default NaN 0xffc00000 when the result is NaN, else the result. It started
from the fallback and then, for each source, tested it for NaN with an
integer and and compare, quieted it with its own or, and selected it. The
addend's test was also combined with the inverse of the invalid-product
flag.

The chain now carries only source bits. The addend starts it, replaced by 0
when the product is 0 * inf. Each earlier source that FPIsNan32 finds NaN
takes its place. One quiet and one select then choose between that source,
when it is NaN, and the fallback. The candidate is NaN exactly when some
eligible source is, and it is then the first one, so every result is the
same.

agc_driver_f32_arithmetic_nan already checks the source order and the 0 *
inf product with a NaN addend for every form.

Ported from upstream PR boykopovar#4287.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DgW4n3qYgi5jAAohEmXRQj

* perf(shader): drop the output flush of f32 products

In a FLOAT_MODE that flushes f32 denormals, writeOperand flushes every
f32 result, and DenormalFlushEliminator removes the flush only when the
value can't be a denormal. It had no rule for products, so every
v_mul_f32 kept its output flush, although the tiny-product flush before
it already leaves no denormal.

The eliminator now proves a product denormal-free from three facts:

- The tiny-product flush of a multiply (round to nearest even, no
  addend) returns a signed zero or a product at least 2^-126 in
  magnitude, so its select is flagged notDenormal. An fma isn't
  flagged, since its addend can cancel the result into a denormal.
- The NaN select picks its first arm only when that arm is a NaN, so it
  is as denormal-free as its fallback.
- A product by a constant that is ±0 or at least 1 in magnitude, of a
  denormal-free factor, isn't a denormal.

A dependent chain of 2048 v_mul_f32 on an RTX 4060 runs 9% faster.
v_mul_legacy_f32 loses the same flush. Results are unchanged.

The f32 denormal flush test gets rows where a nonzero addend cancels a
normal product into an exact denormal, which the fma output flush must
turn into a signed zero. No row covered that before.

Ported from upstream PR boykopovar#4539.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DgW4n3qYgi5jAAohEmXRQj

* perf(shader): treat f32 min, max, med3, floor and ceil results as denormal-free

In the float modes that flush f32 denormals, writeOperand flushes the result
of v_min/max/min3/max3/med3_f32 and v_floor/ceil_f32. DenormalFlushEliminator
drops a flush only when it can show the value isn't a denormal, and it had
no rule for these opcodes, so their result flush stayed even when every
operand had already been flushed.

FPMin32, FPMax32, FPMinTri32, FPMaxTri32 and FPMedTri32 return one of their
operands' bits, or the and or or of two zeros, so the result is denormal-free
when every operand is. FPFloor32 and FPCeil32 return an integer, a zero, an
infinity or a NaN whatever their operand. In IEEE mode the min and max
results and the floor and ceil results go through selects with a quieted
operand, which the eliminator can't follow, so their flush stays there.

agc_denormal_flush_elimination covers the five min and max forms with
flushed and with unknown operands, floor and ceil of an unknown value, and a
max carried around a loop.

Ported from upstream PR boykopovar#4490.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DgW4n3qYgi5jAAohEmXRQj

* perf(shader): treat f32 fract, sin and cos results as denormal-free

In the float modes that flush f32 denormals, writeOperand flushes the result
of v_fract_f32, v_sin_f32 and v_cos_f32 after flushing their input.
DenormalFlushEliminator had no rule for FPFract32, FPSin or FPCos, so the
result flush stayed.

None of the three returns a denormal for an input that isn't one.
EmitFPFract32 takes fract(|x|), which is |x| below 1 and otherwise a multiple
of the input's ulp, and 1 - fract, which is at least 2^-24. EmitFPSin and
EmitFPCos reduce the input exactly with x - roundEven(x), so the cycle and
its distance from a zero of the function are 0 or at least 2^-126. Near a
zero, TrigLinearNearZero returns the distance times about 6.28. Elsewhere
the result is within 4 ulps of a series value of at least about 1.5e-3. In
IEEE mode floatUnary quiets a NaN input with an or, which the eliminator
can't follow, so the flush stays there.

agc_denormal_flush_elimination covers the three opcodes with a flushed and
with an unknown input.

Ported from upstream PR boykopovar#4737.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DgW4n3qYgi5jAAohEmXRQj

* perf(shader): drop flushes of f32 results that cannot be denormal

DenormalFlushEliminator removes f32 denormal flushes on values it can prove are not denormal. Recognises FPTrunc32, FPRoundEven32, square roots (FPSqrt), reciprocal square roots (FPRecipSqrt32), and bitwise operations that set exponent bits (BitwiseOr32) or mask to signed zeros (BitwiseAnd32). Adds unit tests in DenormalFlushElimination.cpp.

Ported from upstream PR boykopovar#5086.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DgW4n3qYgi5jAAohEmXRQj

* fix(shader): take the fused result when an f16 fma's sum is exact

fmaF16RoundedToOdd adds the f32 product and the addend separately and uses
TwoSum to round to odd when the sum is inexact. When the error is zero it
returned the separate sum. On MoltenVK (Apple M3 Pro) the separate multiply and
add produce +0 where the IEEE result is -0: agc_driver_dpp16_operands got 0x0000
instead of 0x8000 in the high half of lane 1's row_shr v_pk_fmac_f16.

The exact case now returns an f32 fma of the same operands. The product of two
f16 values is exact in f32 (11-bit significands, exponents well inside the f32
range), so when TwoSum's error is zero the separate sum and the fused result are
the same IEEE value, including the sign of zero; the change only matters on
devices whose separate multiply and add do not keep it. The inexact path is
unchanged.

Ported from upstream PR boykopovar#4293.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DgW4n3qYgi5jAAohEmXRQj

* perf(shader): take the f32 mul, fma and add result fixups only when needed

v_mul_f32, v_fma_f32, v_add_f32 and v_sub_f32 compute two fixups on
every result: the AMD NaN result (the first NaN operand, quieted, or the
default NaN) and, for products, the flush of results that are tiny after
rounding to 24 bits. Both change the result only when it is a NaN or its
magnitude is at most 2^-126. They were straight-line selects, so a
v_mul_f32 took 16.5 SASS instructions on an RTX 4060 where the multiply
is one.

The translator now wraps the fixed result in a select that takes it only
when the host result is NaN (add and sub) or NaN or at most 2^-126 in
magnitude (mul and fma, round to nearest even). That select is flagged
as rarely true, and the SPIR-V backend moves the instructions used only
by its rare arm into a branch. The rare arm is the same IR as before, so
results are unchanged. Loop headers, continue targets and values shared
between the two halves of a wave64 program keep plain selects.

A dependent chain of 2048 v_mul_f32 runs 2.2 times as fast, v_fma_f32
1.85 times and v_add_f32 1.13 times; on all-NaN inputs v_mul_f32 is 6%
slower. Static SASS grows, since both paths are compiled.

Ported from upstream PR boykopovar#5400.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DgW4n3qYgi5jAAohEmXRQj

* fix(shader): read lane 63 of half-wave reductions whose keys exclude helper lanes

On a 32-lane host, a wave64 pixel program's v_readlane_b32 of lane 63 is emitted only when its half-wave scan's keys are proven zero for lanes that did not enter. The proof walk accepted the not-helper test (IEqual32 of HelperInvocation and 0) only inside ballots, not as a lane bit, and it searched conjunctions depth first: a key mask like exec & ~vcc inside a loop spent the 512-step budget on the loop's exec phis before it reached the helper test. Accept the helper test as a lane bit, and look for a false or helper conjunct before walking an operand. Resident Evil Village's wave-wide OR reductions (DPP row shifts, v_permlanex16, v_readlane of lanes 31 and 63) failed this way.

Ported from upstream PR boykopovar#5189.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DgW4n3qYgi5jAAohEmXRQj

* test(shader): cover the search order of the half-wave key proof

The proof that a half-wave scan's keys are zero for lanes that did not
enter walks a conjunction depth first under a 512-step budget. Narrowing
exec with 600 compares before the scan puts the helper-lane test at the
bottom of a 600-deep LogicalAnd chain in the keys: walking the first
operand first spends the whole budget before reaching it, and the
v_readlane_b32 of lane 63 is refused. Looking for a false or helper
conjunct before walking an operand finds it, so lane 31 becomes a
subgroup OR on a 32-lane host. Resident Evil Village's wave64 pixel
programs key these scans by a loop's exec ahead of the helper test.

Ported from upstream PR boykopovar#5189.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DgW4n3qYgi5jAAohEmXRQj

* perf(shader): find the ds_permute_b32 source lane with ballots

ds_permute_b32 sends each active lane's data to lane
((addr + offset) >> 2) & 31 of its 32-lane group; the highest sending
lane wins and a lane nobody writes to gets 0. It was emitted as one
shuffle of the data, the address and the EXEC bit from each of the 32
source lanes: 96 shuffles and 144.5 SASS instructions per instruction
on an RTX 4060 when the address changes between instructions.

Each receiving lane now finds its writers directly: the ballot of the
active lanes, intersected with the ballot of the lanes whose target has
bit b set, or its complement, for each of the 5 target bits. The
highest set bit is the winning lane, and one shuffle fetches its data.
Results are unchanged. A chain of 256 dependent ds_permute_b32 runs
4.7 times faster.

New test agc_driver_ds_permute_lanes compares wave32 and wave64
programs with random targets, heavy collisions and run-time EXEC masks
against a model of the rule.

Ported from upstream PR boykopovar#5334.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DgW4n3qYgi5jAAohEmXRQj

* perf(shader): mark runtime metadata buffers read-only

Ported from upstream PR boykopovar#5297.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DgW4n3qYgi5jAAohEmXRQj

* perf(shader): fence a CAS-loop LDS atomic once

SharedAtomicUpdate emitted a workgroup acquire-release fence after AtomicUpdate,
which already ends its compare-and-swap loop with the same fence for LDS, so
ds_rsub, ds_add_f32, ds_cmpst, ds_mskor, ds_wrap and the LDS float min/max
fenced twice. The second fence is now emitted only for GDS, where the loop's
own fence is device-scoped on uniform memory and differs from it.

Ported from upstream PR boykopovar#5399.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DgW4n3qYgi5jAAohEmXRQj

* chore(shader): bump the shader disk cache format for the float peephole ports

The ported float, denormal and wave-lane changes alter the emitted shader
code, so cached entries from before them must not be reused.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DgW4n3qYgi5jAAohEmXRQj

---------

Co-authored-by: Karan Vora <52519664+karanvora2599@users.noreply.github.com>
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-authored-by: Friesmaniac <181011464+Friesmaniac@users.noreply.github.com>
Co-authored-by: Utku Halis <personal@utkuhalis.com.tr>
Co-authored-by: Yunus Shaikh <75296019+EagleBearerYS@users.noreply.github.com>
Co-authored-by: Sanxchep Sharma <sanxchep@gmail.com>
@cookie42073-cmd

cookie42073-cmd commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Hey everyone, I followed the NHL26 capture in #5398 through the compiler and have a small follow-up to #5189 ready locally.

Thanks to @milchgeldkassierer for the capture and @EagleBearerYS for the helper-lane proof work in #5189. With that PR applied, the capture still hit the lane-63 refusal because EntryLaneWalk kept rechecking the same loop-carried mask until it used up its budget. The follow-up reuses completed proofs, keeps proof kinds and mask halves separate, and avoids saving results that depend on unresolved Phi-cycle assumptions. The budget stays at 512.

Before/after on the same capture: pinned main a5f493f plus #5189 at b6bc721 fails with the lane-63 error; adding the follow-up compiles and validates 69,230 SPIR-V words. The new CPU and GPU regressions fail with the original compiler and pass with the fix. Full Windows build and all 62 selected tests passed on Windows 11 build 26300 with an NVIDIA RTX 4070 SUPER, driver 617.42. The GPU regression compares rendered reduction values with CPU expectations and covers partial waves through a saved-EXEC loop.

This verifies the captured compiler failure and the synthetic tests. I haven't run NHL26 itself, tested native 64-lane hardware, or verified this on another GPU vendor. The loop test doesn't cover arbitrary changing execution masks.

The local follow-up is 9456e863e4cd4bb88ac77aa6871e86ad23a7349f, on main a5f493f plus #5189 at b6bc721. @EagleBearerYS, would you prefer a separate PR depending on #5189, or a follow-up after yours merges?

Once we agree on a test branch, the useful next check is a fresh NHL26 run on PPSA26785 v01.060.000: tested commit, GPU/driver/OS, and the log through its next stopping point. If another shader fails, its full RecompileRequest would let us investigate that next. We already have the capture needed for this fix; no additional game dump is needed.

AI-assisted implementation and independent review; I've checked the final commit against the saved before/after evidence.

Patch and test logs: Blazing-Cook-NHL26-proof-cache-evidence.zip

@EagleBearerYS

Copy link
Copy Markdown
Contributor Author

Thanks, and nice find. That explains why #5189 alone still refused the #5398 capture.

A separate PR that depends on #5189 sounds best to me. It can name NHL 26 as its title now instead of waiting for #5189 to merge. Put Depends on: #5189 in it and keep #5189's commit as it is under yours.

@oneandonlydean oneandonlydean self-assigned this Oct 14, 2026
@xXPBSXx

xXPBSXx commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

Title evidence for this pull request and #5398: PRAGMATA (PPSA02530), Windows 10 (19045), RTX 4080 SUPER (NVIDIA), one run per state, no picture checked.

Not established: whether the lane-63 shader of the first run is the one that compiles now (the second stop is a different shader hash; one run per state), so the link to this change is indirect.

Test conditions: the merge trees are local and not pushed (the base main commit was not recorded by me). ninja -j 8 libs exit 0 for each run, 128 .prx; libSceConvertKeycode.prx replaced by a local stub; title executable app.exe of 2026-10-14 07:36:44 relinked by another session (relinker version and relink command not recorded by me); run with run_title.ps1, 300 s limit, one game at a time.

AI-assisted (Claude Code).

@EagleBearerYS

Copy link
Copy Markdown
Contributor Author

Thanks for the PRAGMATA runs. I've added them to the description's Tested section and the Unblocks line, with your caveats (one run per state, indirect link).

The second stop looks like a separate limit. On current main that message comes from a single check in ResourceMaterializer.cpp, which throws when a bindless image's static expansion (BindlessSlots() entries) would take the shader past ShaderInfo::MaxImages (64). This PR doesn't touch that path.

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

Labels

agc libSceAgc* shader core/shader

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants