Skip to content

feat(shader): implement basic f64 VALU ops - #446

Merged
oneandonlydean merged 4 commits into
boykopovar:mainfrom
adriadam10:feat/vop3-f64-basic
Oct 4, 2026
Merged

oneandonlydean merged 4 commits into
boykopovar:mainfrom
adriadam10:feat/vop3-f64-basic

Conversation

@adriadam10

@adriadam10 adriadam10 commented Oct 3, 2026 •

Copy link
Copy Markdown
Collaborator

What

The basic f64 VALU ops threw "opcode not implemented". Found by the ISA coverage sweep:

  • VOP3: v_fma_f64, v_add_f64, v_mul_f64, v_min_f64, v_max_f64, v_ldexp_f64.
  • VOP1 (and their VOP3 forms): v_cvt_{i32,u32,f32}_f64, v_cvt_f64_{i32,u32,f32}, v_{trunc,ceil,floor,rndne,fract}_f64,
    v_frexp_mant_f64, v_frexp_exp_i32_f64.

There was no f64 path in the backend, so this adds one:

  • f64 values stay as raw bits (U64, a uvec2) in the IR. New IR opcodes (FPAdd64, ConvertF64F32, ...) bitcast to
    double in SPIR-V.
  • The device enables shaderFloat64 when it is available together with shaderSignedZeroInfNanPreserveFloat64, and
    publishes Float64. Shaders that use f64 declare Float64 and SignedZeroInfNanPreserve 64. On a device without it
    they fail to compile with a clear error. Graphics validation now accepts SignedZeroInfNanPreserve 32 and 64.
  • Operand reading: a literal is the high dword (low = 0), the 1/(2π) inline constant is the exact double
    0x3fc45f306dc9c882, and abs/neg act on bit 63.

Behaviour measured on RDNA2 hardware (Radeon 660M, 8209 inputs per op, matched 100% by a Python model before the C++
was written):

  • omod is ignored by every f64 op (cvt_f32_f64 too). Clamp works: NaN → +0, -0 → +0.
  • NaN results are quiet: the first NaN input, quieted, else the default NaN. Vulkan doesn't say which NaN an operation
    returns (RADV keeps a signalling one), so the NaN is chosen on the bits.
  • min/max: a signalling NaN is returned quieted (src0 first), a quiet NaN loses, and -0 < +0.
  • v_fma_f64 is fused. GLSL Fma is not enough: Vulkan defines its precision as "inherited from OpFMul followed by
    OpFAdd", and the lavapipe in CI (Mesa 25.2.8) rounds twice. So fma is emulated with correctly rounded mul/add only:
    exact product (Dekker split) + TwoSum + round-to-odd, one final rounding (Boldo-Melquiond), on operands scaled to
    exponent 0. It matches the hardware on all 13253 captured fma results and an exact model on 300k random inputs.
  • fract: x - floor(x) clamped to 0x3fefffffffffffff. inf → NaN.
  • frexp: inf/NaN give the input (NaN quieted) and exponent 0.
  • cvt_i32/u32_f64 saturate, NaN → 0. cvt between f32 and f64 quiets NaN and keeps the payload.

trunc/ceil/floor/rndne and ldexp are done on the bits instead of GLSL.std.450. lavapipe returned wrong f64
RoundEven(1.5) (1.0) and Trunc (fraction bits kept). GLSL Ldexp is undefined past ±1024, and lavapipe gave NaN
for ldexp(-inf, huge) in one sweep run. ldexp normalises the mantissa, then scales in one exact step and one
rounding step.

Overlap: #365 (VOPC f64 compares, DotDebian) adds a similar readF64Bits helper and does not touch these opcodes.
Whichever merges second can switch to the other's helper. It merges cleanly with this one.

Tested

  • 3 new execution tests, 32 lanes each, with expected values captured on hardware. Rows were picked greedily to cover
    result classes and forced edge rows (fract of -2^-60, ldexp with INT_MIN/INT_MAX/-2100 exponents, ±inf):
    • F64Arithmetic: add, mul, fma, fma rounding error, min, max, ldexp, abs/neg.
    • F64Rounding: trunc, ceil, floor, rndne, fract, frexp, cvt_f32 with omod, cvt_i32/u32.
    • F64Conversions: cvt from f32/i32/u32, clamp, omod, literal, VOP3 VOP1 form with neg, 1/(2π) inline constant.
  • Passes on Linux with RADV, a current lavapipe and the CI's lavapipe (Mesa 25.2.8 / LLVM 20.1.2, run locally). Another 14 random batches of hardware rows (1344 rows) also passed on
    both, outside the PR.
  • f64 denormals follow the driver: lavapipe flushes them (it has no shaderDenormPreserveFloat64), so the test
    vectors exclude denormal inputs and results below 2^-1021. On RADV, 6 more batches that include denormals all match
    the hardware.
  • Negative checks, each fails a test: abs/neg on the low dword, literal in the low dword, omod applied, GLSL Fma
    (CI lavapipe), add without quieting (RADV), min/max without sNaN quieting, min/max ±0, GLSL Trunc and
    RoundEven (lavapipe), no fract clamp, f32→f64 without quieting (RADV), no i32 saturation, no clamp, 1/(2π) as the
    widened f32.
  • Full Release build + ctest: 146/147. The failure is agc_driver_pixel_helper_lanes (wave64 case) on this
    machine's RADV, and it fails the same way on main without this change.

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 in TechnicalDebt
  • 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
  • AI-assisted: yes

@github-actions

github-actions Bot commented Oct 3, 2026 •

Copy link
Copy Markdown

Progress report (b0a4a99 → fe26911)

📈 GPU shader instructions: 75.13% (+1.63%, +19 implemented instructions)

✅ 19 implemented
Encoding Name
VOP1 V_CEIL_F64
VOP1 V_CVT_F32_F64
VOP1 V_CVT_F64_F32
VOP1 V_CVT_F64_I32
VOP1 V_CVT_F64_U32
VOP1 V_CVT_I32_F64
VOP1 V_CVT_U32_F64
VOP1 V_FLOOR_F64
VOP1 V_FRACT_F64
VOP1 V_FREXP_EXP_I32_F64
VOP1 V_FREXP_MANT_F64
VOP1 V_RNDNE_F64
VOP1 V_TRUNC_F64
VOP3 V_ADD_F64
VOP3 V_FMA_F64
VOP3 V_LDEXP_F64
VOP3 V_MAX_F64
VOP3 V_MIN_F64
VOP3 V_MUL_F64

@github-actions github-actions Bot added the needs rebase Conflicts with main, rebase needed label Oct 3, 2026
adriadam10 added a commit to adriadam10/AnyPS5 that referenced this pull request Oct 3, 2026
The Vulkan precision table defines GLSL.std.450 Fma as "inherited from
OpFMul followed by OpFAdd", so a driver may round twice. RADV fuses it,
the lavapipe in CI (Mesa 25.2.8, LLVM 20) does not, and F64Arithmetic
failed there on the fma rounding-error row.

v_fma_f64 is now emulated with operations Vulkan requires to be
correctly rounded: the operands are scaled to exponent 0, the product is
split exactly (Dekker), added to the addend with TwoSum, the low parts
are summed with round-to-odd and one final round-to-nearest gives the
fused result (Boldo and Melquiond). The result is scaled back by two
exact powers of two. Inf/NaN, zero factors and subnormal inputs take the
mul + add path, an addend 2^60 larger than the product is returned as
is. Matches the hardware on all 13253 fma results captured for boykopovar#446 and
an exact model on 300000 random inputs incl. ties.

NaN results of add, mul and fract are also chosen on the bits (first NaN
input quieted, otherwise the default NaN) since Vulkan does not specify
which NaN an operation returns.

Co-Authored-By: Claude <noreply@anthropic.com>
@adriadam10
adriadam10 force-pushed the feat/vop3-f64-basic branch from c2c3f74 to e64270e Compare October 3, 2026 08:23
@github-actions github-actions Bot added build shader core/shader agc libSceAgc* labels Oct 3, 2026
adriadam10 added a commit to adriadam10/AnyPS5 that referenced this pull request Oct 3, 2026
Decode and translate the remaining unary f64 transcendentals and
v_trig_preop_f64.

On RDNA2 hardware v_rcp_f64, v_rsq_f64 and v_sqrt_f64 are approximations
(relative error up to ~2^-24.3 over 8209 inputs; sqrt(1.0) is not even
exact), so they are emitted as exact double operations and the test
compares against the hardware value with a 2^-23 tolerance. Special
cases are exact and selected on bits: NaN inputs are quieted (RADV keeps
signaling NaN on FDiv), negative inputs give the default NaN
0xfff8000000000000, rsq(-0) = -inf, sqrt(-0) = -0.

v_trig_preop_f64 matches the hardware bit for bit on 24627 results plus
a sweep of the table tail: the 2/PI table is 1184 bits (bits below b17
read as zero), shift = 53 * S1[4:0] + max(exp - 1077, 0), +128 scale for
exp >= 1968, omod ignored. The 53-bit window is read from a private u32
table and scaled in two exact steps so only the final multiply rounds.

Stacked on the f64 infrastructure of boykopovar#446.

Co-Authored-By: Claude <noreply@anthropic.com>
@adriadam10
adriadam10 force-pushed the feat/vop3-f64-basic branch from e64270e to fae9051 Compare October 3, 2026 09:44
adriadam10 added a commit to adriadam10/AnyPS5 that referenced this pull request Oct 3, 2026
Decode and translate the remaining unary f64 transcendentals and
v_trig_preop_f64.

On RDNA2 hardware v_rcp_f64, v_rsq_f64 and v_sqrt_f64 are approximations
(relative error up to ~2^-24.3 over 8209 inputs; sqrt(1.0) is not even
exact), so they are emitted as exact double operations and the test
compares against the hardware value with a 2^-23 tolerance. Special
cases are exact and selected on bits: NaN inputs are quieted (RADV keeps
signaling NaN on FDiv), negative inputs give the default NaN
0xfff8000000000000, rsq(-0) = -inf, sqrt(-0) = -0.

v_trig_preop_f64 matches the hardware bit for bit on 24627 results plus
a sweep of the table tail: the 2/PI table is 1184 bits (bits below b17
read as zero), shift = 53 * S1[4:0] + max(exp - 1077, 0), +128 scale for
exp >= 1968, omod ignored. The 53-bit window is read from a private u32
table and scaled in two exact steps so only the final multiply rounds.

Stacked on the f64 infrastructure of boykopovar#446.

Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions github-actions Bot removed the needs rebase Conflicts with main, rebase needed label Oct 3, 2026
@oneandonlydean

Copy link
Copy Markdown
Collaborator

Thanks, this is a big and careful piece of work, and the hardware vectors make it easy to trust. Two small things. Main already has TranslationContext::readF64Bits (from #365) with exactly the rules readF64 implements here (literal as the high dword, the exact 1/(2π) double, abs and neg on bit 63); could readF64 just build the U64 from readF64Bits, so the rules live in one place? #474 already uses both. And v_fma_f64 falls back to a separate multiply and add whenever an input is subnormal, which rounds twice; since f64 denormals follow the driver that may be fine for now, but I think it should be written down in docs/dev/TechnicalDebt.md so the gap is recorded.

adriadam10 added a commit to adriadam10/AnyPS5 that referenced this pull request Oct 4, 2026
The Vulkan precision table defines GLSL.std.450 Fma as "inherited from
OpFMul followed by OpFAdd", so a driver may round twice. RADV fuses it,
the lavapipe in CI (Mesa 25.2.8, LLVM 20) does not, and F64Arithmetic
failed there on the fma rounding-error row.

v_fma_f64 is now emulated with operations Vulkan requires to be
correctly rounded: the operands are scaled to exponent 0, the product is
split exactly (Dekker), added to the addend with TwoSum, the low parts
are summed with round-to-odd and one final round-to-nearest gives the
fused result (Boldo and Melquiond). The result is scaled back by two
exact powers of two. Inf/NaN, zero factors and subnormal inputs take the
mul + add path, an addend 2^60 larger than the product is returned as
is. Matches the hardware on all 13253 fma results captured for boykopovar#446 and
an exact model on 300000 random inputs incl. ties.

NaN results of add, mul and fract are also chosen on the bits (first NaN
input quieted, otherwise the default NaN) since Vulkan does not specify
which NaN an operation returns.

Co-Authored-By: Claude <noreply@anthropic.com>
@adriadam10
adriadam10 force-pushed the feat/vop3-f64-basic branch from fae9051 to 22b9fb0 Compare October 4, 2026 06:25
@adriadam10

Copy link
Copy Markdown
Collaborator Author

Thanks! Both done, rebased onto main:

  • readF64 now just builds the U64 from readF64Bits, so the literal, 1/(2π), abs and neg rules live in one place.
  • Added a line under "Functional" in TechnicalDebt.md: v_fma_f64 is exact only for normal inputs; with a subnormal input it is a separate multiply and add that rounds twice.

agc_driver_f64_arithmetic, _conversions, _rounding and agc_driver_vopc_compare_f64 pass on RADV and lavapipe.

@oneandonlydean

Copy link
Copy Markdown
Collaborator

Thanks for the quick update, that covers it. I'll test it here and merge once CI is green.

@oneandonlydean

Copy link
Copy Markdown
Collaborator

I ran the tests here and agc_driver_f64_conversions fails on NVIDIA: lane 0 cvt f64 f32 lo is 0xe0000000, expected 0x20000000. That's the f32 NaN 0x7fc00001 converted to f64: RDNA keeps the payload (0x7ff8000020000000), but OpFConvert leaves NaN payloads to the driver, and NVIDIA returns a different one, while RADV and lavapipe happen to match. Could v_cvt_f64_f32 build NaN results from the bits (sign, quiet bit set, payload shifted left by 29) and use OpFConvert only for non-NaN inputs? The test stops at the first mismatch, so other conversions in the PR that can see a NaN may need the same treatment.

adriadam10 and others added 4 commits October 4, 2026 08:52
Decode and translate v_add/mul/fma/min/max/ldexp_f64, v_trunc/ceil/floor/
rndne/fract_f64, v_frexp_mant/exp_i32_f64 and the f64 <-> f32/i32/u32
conversions. f64 values stay as their raw bits (U64) in the IR and are
bitcast to double in SPIR-V, which needs the Float64 capability: the
device enables shaderFloat64 when it also preserves signed zero, inf and
NaN for 64-bit floats, and the shader declares SignedZeroInfNanPreserve 64.

Semantics measured on RDNA2 hardware (8209 inputs per op): literals are
the high dword, the 1/(2*pi) inline constant is the exact double,
omod is ignored, clamp maps NaN to +0, min/max quiet a
signaling NaN and drop a quiet one, NaN results are quiet, and the
integer conversions saturate with NaN -> 0. Truncation, rounding and
ldexp are done on the bits so they do not depend on the driver: lavapipe
returned wrong results for f64 RoundEven and Trunc, and GLSL Ldexp is
undefined past +-1024. Fma is NoContraction so RADV keeps it fused.

Co-Authored-By: Claude <noreply@anthropic.com>
The Vulkan precision table defines GLSL.std.450 Fma as "inherited from
OpFMul followed by OpFAdd", so a driver may round twice. RADV fuses it,
the lavapipe in CI (Mesa 25.2.8, LLVM 20) does not, and F64Arithmetic
failed there on the fma rounding-error row.

v_fma_f64 is now emulated with operations Vulkan requires to be
correctly rounded: the operands are scaled to exponent 0, the product is
split exactly (Dekker), added to the addend with TwoSum, the low parts
are summed with round-to-odd and one final round-to-nearest gives the
fused result (Boldo and Melquiond). The result is scaled back by two
exact powers of two. Inf/NaN, zero factors and subnormal inputs take the
mul + add path, an addend 2^60 larger than the product is returned as
is. Matches the hardware on all 13253 fma results captured for boykopovar#446 and
an exact model on 300000 random inputs incl. ties.

NaN results of add, mul and fract are also chosen on the bits (first NaN
input quieted, otherwise the default NaN) since Vulkan does not specify
which NaN an operation returns.

Co-Authored-By: Claude <noreply@anthropic.com>
…e v_fma_f64 subnormal gap

Co-Authored-By: Claude <noreply@anthropic.com>
OpFConvert leaves NaN payloads to the driver; NVIDIA returns its own.
v_cvt_f64_f32 now shifts the f32 payload left by 29 and v_cvt_f32_f64
keeps the top 23 payload bits, both quieted, as RDNA does (60/60 NaN
conversions measured on RDNA2). F64NanConversions covers both with the
hardware rows.

Co-Authored-By: Claude <noreply@anthropic.com>
@adriadam10
adriadam10 force-pushed the feat/vop3-f64-basic branch from 22b9fb0 to fe26911 Compare October 4, 2026 06:52
@adriadam10

Copy link
Copy Markdown
Collaborator Author

Thanks for running it on NVIDIA. Fixed and rebased onto main:

  • v_cvt_f64_f32 builds NaN results from the bits: sign, 0x7ff8 quiet exponent, payload shifted left by 29. OpFConvert is used only for non-NaN inputs.
  • The reverse conversion v_cvt_f32_f64 had the same issue, so it is fixed the same way: sign, 0x7fc00000, and the top 23 payload bits ((hi & 0xfffff) << 3 | lo >> 29).

Both match the hardware on all 60 NaN conversions I measured on RDNA2 (quiet and signalling, both signs, random payloads). The other conversions here already pick their NaN results without the driver (f64 to i32/u32 select 0 for NaN; the arithmetic, rounding, min/max and fma paths go through NanResult/Quiet).

v_cvt_f32_f64 had no test, so I added F64NanConversions with those hardware rows for both directions. RADV and lavapipe keep payloads natively, so here the old code passes too. To check the test can catch a wrong payload, I dropped the shifted payload bits in each direction, and each mutation fails the test. Release build passes, and the five f64 tests pass on RADV, local lavapipe and CI's lavapipe.

@oneandonlydean

Copy link
Copy Markdown
Collaborator

Thanks, that fixes it. Merged with current main, all five f64 tests including the new agc_driver_f64_nan_conversions pass on NVIDIA here, and with the previous v_cvt_f64_f32 the new test fails with the same lane 0 mismatch, so it catches the problem. For v_cvt_f32_f64 NVIDIA's OpFConvert happens to keep the top payload bits already, but building it from the bits makes it independent of the driver. I'll run it through my PPSA21564 check with the other shader PRs and then merge it.

@github-actions github-actions Bot added the docs label Oct 4, 2026
oneandonlydean pushed a commit to oneandonlydean/AnyPS5 that referenced this pull request Oct 4, 2026
Decode v_cmp_*_f64, v_cmpx_*_f64 and v_cmp(x)_class_f64 in their VOPC and VOP3 encodings and translate them as exact IEEE-754 compares on the 64-bit pattern with the existing 64-bit integer IR, so no Float64 capability is needed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit bd75a89)

integ: upstream boykopovar#365 (merged on main as bd75a89, after astrobot's last main
merge), taken as the prerequisite of boykopovar#446: it adds readF64Bits.
oneandonlydean pushed a commit to oneandonlydean/AnyPS5 that referenced this pull request Oct 4, 2026
The Vulkan precision table defines GLSL.std.450 Fma as "inherited from
OpFMul followed by OpFAdd", so a driver may round twice. RADV fuses it,
the lavapipe in CI (Mesa 25.2.8, LLVM 20) does not, and F64Arithmetic
failed there on the fma rounding-error row.

v_fma_f64 is now emulated with operations Vulkan requires to be
correctly rounded: the operands are scaled to exponent 0, the product is
split exactly (Dekker), added to the addend with TwoSum, the low parts
are summed with round-to-odd and one final round-to-nearest gives the
fused result (Boldo and Melquiond). The result is scaled back by two
exact powers of two. Inf/NaN, zero factors and subnormal inputs take the
mul + add path, an addend 2^60 larger than the product is returned as
is. Matches the hardware on all 13253 fma results captured for boykopovar#446 and
an exact model on 300000 random inputs incl. ties.

NaN results of add, mul and fract are also chosen on the bits (first NaN
input quieted, otherwise the default NaN) since Vulkan does not specify
which NaN an operation returns.

Co-Authored-By: Claude <noreply@anthropic.com>
(cherry picked from commit 6f20ed3)
@oneandonlydean
oneandonlydean merged commit 97822de into boykopovar:main Oct 4, 2026
3 checks passed
adriadam10 added a commit to adriadam10/AnyPS5 that referenced this pull request Oct 4, 2026
Decode and translate the remaining unary f64 transcendentals and
v_trig_preop_f64.

On RDNA2 hardware v_rcp_f64, v_rsq_f64 and v_sqrt_f64 are approximations
(relative error up to ~2^-24.3 over 8209 inputs; sqrt(1.0) is not even
exact), so they are emitted as exact double operations and the test
compares against the hardware value with a 2^-23 tolerance. Special
cases are exact and selected on bits: NaN inputs are quieted (RADV keeps
signaling NaN on FDiv), negative inputs give the default NaN
0xfff8000000000000, rsq(-0) = -inf, sqrt(-0) = -0.

v_trig_preop_f64 matches the hardware bit for bit on 24627 results plus
a sweep of the table tail: the 2/PI table is 1184 bits (bits below b17
read as zero), shift = 53 * S1[4:0] + max(exp - 1077, 0), +128 scale for
exp >= 1968, omod ignored. The 53-bit window is read from a private u32
table and scaled in two exact steps so only the final multiply rounds.

Stacked on the f64 infrastructure of boykopovar#446.

Co-Authored-By: Claude <noreply@anthropic.com>
adriadam10 added a commit to adriadam10/AnyPS5 that referenced this pull request Oct 4, 2026
Decode and translate the remaining unary f64 transcendentals and
v_trig_preop_f64.

On RDNA2 hardware v_rcp_f64, v_rsq_f64 and v_sqrt_f64 are approximations
(relative error up to ~2^-24.3 over 8209 inputs; sqrt(1.0) is not even
exact), so they are emitted as exact double operations and the test
compares against the hardware value with a 2^-23 tolerance. Special
cases are exact and selected on bits: NaN inputs are quieted (RADV keeps
signaling NaN on FDiv), negative inputs give the default NaN
0xfff8000000000000, rsq(-0) = -inf, sqrt(-0) = -0.

v_trig_preop_f64 matches the hardware bit for bit on 24627 results plus
a sweep of the table tail: the 2/PI table is 1184 bits (bits below b17
read as zero), shift = 53 * S1[4:0] + max(exp - 1077, 0), +128 scale for
exp >= 1968, omod ignored. The 53-bit window is read from a private u32
table and scaled in two exact steps so only the final multiply rounds.

Stacked on the f64 infrastructure of boykopovar#446.

Co-Authored-By: Claude <noreply@anthropic.com>
adriadam10 added a commit to adriadam10/AnyPS5 that referenced this pull request Oct 5, 2026
Decode and translate the remaining unary f64 transcendentals and
v_trig_preop_f64.

On RDNA2 hardware v_rcp_f64, v_rsq_f64 and v_sqrt_f64 are approximations
(relative error up to ~2^-24.3 over 8209 inputs; sqrt(1.0) is not even
exact), so they are emitted as exact double operations and the test
compares against the hardware value with a 2^-23 tolerance. Special
cases are exact and selected on bits: NaN inputs are quieted (RADV keeps
signaling NaN on FDiv), negative inputs give the default NaN
0xfff8000000000000, rsq(-0) = -inf, sqrt(-0) = -0.

v_trig_preop_f64 matches the hardware bit for bit on 24627 results plus
a sweep of the table tail: the 2/PI table is 1184 bits (bits below b17
read as zero), shift = 53 * S1[4:0] + max(exp - 1077, 0), +128 scale for
exp >= 1968, omod ignored. The 53-bit window is read from a private u32
table and scaled in two exact steps so only the final multiply rounds.

Stacked on the f64 infrastructure of boykopovar#446.

Co-Authored-By: Claude <noreply@anthropic.com>
@adriadam10
adriadam10 deleted the feat/vop3-f64-basic branch October 5, 2026 06:47
SP4C3B4R-8 pushed a commit to SP4C3B4R-8/AnyPS5 that referenced this pull request Oct 6, 2026
Takes the 13 gate-batch PRs that merged upstream (boykopovar#319 boykopovar#329 boykopovar#330 boykopovar#331 boykopovar#325
boykopovar#435 boykopovar#471 boykopovar#294 boykopovar#376 boykopovar#404 boykopovar#394 boykopovar#401 boykopovar#446) in place of astrobot's local
versions, as integ/gate-batch cab0eab had them: boykopovar#294 and boykopovar#376 in
astrobot's depth model (DepthTarget, state.depth), boykopovar#394 with the thick mip
tails, boykopovar#401 over astrobot's slab pool, boykopovar#471 keeping the settled single-lane
path. Also takes the rest of main since a818bee (boykopovar#532 boykopovar#340 boykopovar#486 boykopovar#484 boykopovar#316
boykopovar#243 boykopovar#334 boykopovar#434 boykopovar#437 boykopovar#470 boykopovar#373 boykopovar#452 boykopovar#455 and our upstreamed PRs, where
astrobot keeps its later revisions and env switches).

Resolution notes: relinker converter/matcher/tests are upstream's (boykopovar#432
decoder covers VEX RIP-relative followers); RecompileResult gains boykopovar#316's
hostSubgroupSize (set from request.target.subgroupSize); shader disk cache
format 9; boykopovar#452's scissor message; upstream's later live-stack and
memory-copy decode tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mgp3oZvembQziVNE2xARQK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agc libSceAgc* build docs shader core/shader

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants