Skip to content

perf(shader): compute v_pk_fma_f16 and v_pk_fmac_f16 with OpFmaKHR - #4072

Closed
queeeef wants to merge 2 commits into
boykopovar:mainfrom
queeeef:perf/shader-native-packed-f16-fma
Closed

queeeef wants to merge 2 commits into
boykopovar:mainfrom
queeeef:perf/shader-native-packed-f16-fma

Conversation

@queeeef

@queeeef queeeef commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

What

v_pk_fma_f16 and v_pk_fmac_f16 use one native f16vec2 fused multiply-add when the device has VK_KHR_shader_fma with shaderFmaFloat16. Before, each half was converted to f32 and summed with round-to-odd (#2000).

This extends #3531, which does the same for v_pk_add_f16 and v_pk_mul_f16. #3531 kept the fma on the f32 path because GLSL Fma is not required to be fused, and it named OpFmaKHR (VK_KHR_shader_fma, shaderFmaFloat16) as the way to get a guaranteed fused f16 fma. NVIDIA 610.74 on Windows exposes it, with shaderFmaFloat16, shaderFmaFloat32 and shaderFmaFloat64 all true on an RTX 2080 Ti.

Why the results don't change:

  • Vulkan's precision table lists OpFmaKHR as "Correctly rounded".
  • OpFmaKHR is listed among the instructions that must respect DenormPreserve. The definition of correctly rounded applies RoundingModeRTE, which this module declares for 16-bit floats.
  • So for every non-NaN input, the result is the exact a * b + c rounded once to f16, round to nearest even, denormals kept. That is the value the round-to-odd f32 sum produces.
  • Any NaN the native operation produces is replaced by the NaN the existing rules select from the source bits, as in perf(shader): compute v_pk_add_f16 and v_pk_mul_f16 with native f16 math #3531.

This PR is one commit on top of #5319.

Tested

Windows 11 Pro 26300, RTX 2080 Ti (NVIDIA 610.74), MinGW-w64 GCC 15.2.0 (WinLibs r7). Configured like the Linux CI job (-G Ninja -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON -DANYPS5_ENABLE_SPIRV_TOOLS=ON), so spirv-val checks every module, at 28cebd82b on #5319 (main 0214069e3).

  • agc_driver_packed_float16_native (perf(shader): compute v_pk_add_f16 and v_pk_mul_f16 with native f16 math #3531's test, extended). Each FLOAT_MODE compiles the test kernel three ways:

    Both native builds must give the f32 path's bits for all 8 instructions. Four of them are fma: v_pk_fma_f16 with op_sel/neg modifiers and with clamp, and v_pk_fmac_f16. The inputs are random halves weighted toward zero, denormals, infinities, NaNs and values near overflow. The test also checks that OpFmaKHR is emitted exactly when the capability is present. Here: packed f16 native tests passed (589824 halves, fused f16 fma).

  • Hardware oracle: agc_driver_float16_fma_rounding, which checks against values measured on hardware, passes on the OpFmaKHR path.

  • The tests catch a double-rounded fma. With the emitter changed to OpFmaKHR(round(a * b), 1.0, c), three tests fail:

    • agc_driver_float16_fma_rounding: v_pk_fma_f16 ... is 0xf430, expected 0xf431;
    • agc_driver_packed_alu;
    • agc_driver_packed_float16_native.
  • The six tests from the review (agc_driver_packed_float16_native, agc_driver_float16_fma_rounding, agc_driver_packed_alu, agc_driver_dx10_clamp, agc_driver_dpp8_pk_fmac, agc_driver_dpp16_operands) pass on the OpFmaKHR path with SPIRV-Tools enabled.

  • Full suite: ctest --timeout 120 --parallel 12 -E '^agc_driver_bda_device$': 1102 tests passed, 0 failed, 8 skipped. check_skips.py --job windows flags one of them, guest_video_out_high_frame_rate (current display does not provide 120 Hz), a property of this monitor.

    • Excluded: agc_driver_bda_device was not run. On this machine an earlier run on an older base lost the device, which also resets the display.
  • Repo checks: check_test_registration.py, check_conventions.py and git diff --check pass.

  • Not tested: Linux, and devices without VK_KHR_shader_fma other than by removing the capability from the target, which the test does.

Performance

Palworld (PPSA23126) title screen, idle, RTX 2080 Ti, APS5_PROFILE_GPU, shader cache off. Four runs alternated with and without the FMAKHR capability (a local switch, not in this PR), three 10 s windows each:

GPU time per frame OpFmaKHR (run 1 / run 2) f32 path (run 1 / run 2)
Compute shader 0x1bc1… 7.3 / 7.4 ms 9.2 / 9.4 ms
Compute shader 0x1a01… 18.1 / 17.2 ms 17.9 / 18.7 ms
Presents / 10 s 169–174 161–177

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: build(deps): update SPIRV-Tools to v2025.5 and SPIRV-Headers to its pinned revision #5319
  • Unblocks: none
  • GPUs tested: NVIDIA GeForce RTX 2080 Ti, driver 610.74, Windows 11 Pro 26300
  • AI-assisted: yes (Claude Code)

🤖 Generated with Claude Code

@queeeef

queeeef commented Oct 12, 2026

Copy link
Copy Markdown
Contributor Author

Rebased onto main 34a16b7f0. #3531 is merged, so this is one commit and Depends on is none. The full Windows suite passes: 918 tests, 913 passed, 5 expected skips.

The six PRs in the overlap table don't need to be dependencies. I trial-merged each with this branch. Each conflicts only on lines next to this PR's, and none of them is something this PR builds on:

PR Conflict What both sides add
#3593 docs/dev/TechnicalDebt.md neighbouring entries
#3763, #4061 ShaderValidation.cpp another allowed extension on the same Require line
#3988, #4011, #4085 VulkanDevice.cpp device feature blocks at the same place

Whichever merges second needs a rebase of those lines. If one of them merges first, I'll rebase this one.

AI-assisted (Claude Code)

@blawesom

Copy link
Copy Markdown
Contributor

Rebase handoff — rebased onto current main (only a TechnicalDebt.md union conflict; both entries kept), authorship unchanged.

Verified on Linux (CachyOS, kernel 7.2.9, GCC 16.2.1, Ninja, Release, BUILD_TESTING=ON, AMD RX 9070 XT / RADV):

  • builds; tools/check_conventions.py --base origin/main passes
  • full suite: 954/954 passed

To pick it up:

git fetch https://github.com/blawesom/AnyPS5 rebase/4072
git checkout <your branch>
git merge --ff-only FETCH_HEAD

Head is 7498a8498.

@MarcZX10

Copy link
Copy Markdown
Contributor

Thanks for the rebase handoff. I’ve pushed a packed-f16 special-rules candidate on current upstream as codex/f16-special-rules-4042-current. Queeeef asked that the guard also cover this PR’s OpFmaKHR path. The candidate wraps the fast result for packed add, multiply, and FMA, and its all-lanes test compares the guarded fallback with the existing rule expansion.

This overlaps the translation and SPIR-V math emitter changed here. I have not opened the PR yet. Would you prefer that I stack it on the rebase/4072 handoff branch (and mark the dependency), or keep it based on current main and rebase after #4072 lands? The current-main candidate builds and its four focused Linux/lavapipe tests pass; I’ll rerun after resolving the merge order.

@MarcZX10

Copy link
Copy Markdown
Contributor

I opened #5057 for #4042. It moves the existing packed-f16 special-value repair behind a guard, including the current f32 FMA fallback. Your PR adds the native OpFmaKHR path in the same translation function; that path will also need this guard so the repair stays exact without running for ordinary lanes.

Could we land #5057 first, then rebase #4072 and carry the guard over its native-FMA result? If you prefer the reverse order, I can rebase #5057 after your change and add the native-FMA coverage here. I have not measured the Palworld performance change; the issue reporter offered to run that A/B.

@adriadam10 adriadam10 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks. I ran this on Linux with RADV (Radeon 660M, Mesa exposes VK_KHR_shader_fma with shaderFmaFloat16 = true), configured like the Linux CI job (-DANYPS5_ENABLE_SPIRV_TOOLS=ON):

  • 6 tests fail, this PR's included: agc_driver_packed_float16_native, agc_driver_float16_fma_rounding, agc_driver_packed_alu, agc_driver_dx10_clamp, agc_driver_dpp8_pk_fmac, agc_driver_dpp16_operands. All of them fail with ShaderRecompiler::Recompile: SPIR-V validation before optimization failed: Invalid capability operand: 6030.
    • The cause is the 3rdparty/SPIRV-Tools submodule (v2025.4). Like SPIRV-Headers, it predates SPV_KHR_fma, so spirv-val rejects the FMAKHR capability. Every shader with a packed f16 fma then fails to recompile on any device that has shaderFmaFloat16 (current RADV, NVIDIA) in a SPIRV-Tools build.
    • CI is green only because its lavapipe (Mesa 25.2.8) has no VK_KHR_shader_fma, so it never takes the new path. Your Windows run doesn't enable SPIRV-Tools.
    • Suggested fix: update 3rdparty/SPIRV-Headers and 3rdparty/SPIRV-Tools to versions that know SPV_KHR_fma (Headers 9268f3057, SPIRV-Tools 8f9381775 "spirv-val: Add validation for SPV_KHR_fma", in v2026.1 and later), ideally in a separate PR this one depends on. That also lets SpirvFma.hpp and its TechnicalDebt entry go, since spv::OpFmaKHR/spv::CapabilityFMAKHR would exist. If the bump has to wait, don't advertise FMAKHR when SPIRV-Tools is enabled.
  • ShaderValidation.cpp:247, :295: the FMAKHR capability and SPV_KHR_fma are accepted whether or not the device enabled shaderFmaFloat16. The other optional extensions on that Require line are gated on their feature (imageInt64Atomics, descriptorIndexing, ...); please gate this one on the enabled feature too.
  • The branch conflicts with main (ShaderValidation.cpp, docs/dev/TechnicalDebt.md). Also, #5057 changes the same packedFloat16 path and asks to land first; please agree on an order with @MarcZX100 so the guard covers the OpFmaKHR result.

queeeef and others added 2 commits October 13, 2026 18:43
…inned revision

SPIRV-Tools v2025.4 and the SPIRV-Headers revision before it predate
SPV_KHR_fma, so spirv-val rejects the FMAKHR capability (6030) and
spv::OpFmaKHR does not exist. v2025.5 is the first release with
SPV_KHR_fma validation (8f9381775). SPIRV-Headers moves to b824a462d,
the revision v2025.5's DEPS pins, which includes the SPV_KHR_fma
headers update (9268f3057).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
When the device has native f16 math and VK_KHR_shader_fma with shaderFmaFloat16, a packed f16
fma is one f16vec2 OpFmaKHR (SPV_KHR_fma). Vulkan requires OpFmaKHR to be correctly rounded and
to respect RoundingModeRTE and DenormPreserve, so it gives the fused, once-rounded result the f32
round-to-odd sum computes. The NaN, FP16_OVFL and clamp rules still run on the result bits.

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

queeeef commented Oct 13, 2026

Copy link
Copy Markdown
Contributor Author

Thanks for running it on RADV with SPIRV-Tools, and sorry for the slow reply, busy day. All three points are addressed:

  • SPIRV-Tools and SPIRV-Headers: the update is its own PR, build(deps): update SPIRV-Tools to v2025.5 and SPIRV-Headers to its pinned revision #5319. It moves SPIRV-Tools to v2025.5, the first release with 8f9381775, and SPIRV-Headers to b824a462d, the revision v2025.5's DEPS pins, which contains 9268f3057. This PR now builds on it: SpirvFma.hpp and its technical-debt entry are gone, and the code uses spv::OpFmaKHR and spv::CapabilityFMAKHR.
  • Validation: the FMAKHR capability and SPV_KHR_fma are accepted only when the device enabled shaderFmaFloat16, through a new Context::fmaFloat16.
  • Conflicts: rebased onto main 0214069e3.

Tested with -DANYPS5_ENABLE_SPIRV_TOOLS=ON on an RTX 2080 Ti (NVIDIA 610.74, which exposes shaderFmaFloat16). The six tests you listed pass on the OpFmaKHR path, and the full suite passes: 1102 tests, 0 failed. One skip, guest_video_out_high_frame_rate, is because this monitor has no 120 Hz mode.

@MarcZX100 Fine with #5057 landing first. I'll rebase this on it and put the native fma result behind the guard as well. The A/B for #5057 is on that PR.

AI-assisted (Claude Code)

@MarcZX10

Copy link
Copy Markdown
Contributor

Thanks for the update. I checked the current diff: it now gates FMAKHR capability/extension acceptance on the enabled shaderFmaFloat16 feature, and the dependency update is present with #5319 listed. That addresses those two review points. The packed native-FMA result is still unguarded in this head; your plan to carry #5057’s special-value guard after #5057 lands is the remaining correctness item. Since #5057 is also a prerequisite for that rebase/order, please include it on the Depends on line while it is open. After #5319 and #5057 land, rebase this branch on current main, carry the guard through the native OpFmaKHR path, and rerun the focused tests. I will leave review pending until that head is available.

@github-actions github-actions Bot added the build label Oct 15, 2026
@github-actions github-actions Bot added perf Performance change perf numbers missing perf pull request without a before and after summary line labels Oct 18, 2026
@CPritch

CPritch commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

I ran this change on NVIDIA, where VK_KHR_shader_fma (revision 1) is exposed with shaderFmaFloat16 = true: RTX 5060 Laptop GPU, driver 615.71.09, Linux 7.2.8. #3531's conditions hold too (shaderFloat16, shaderRoundingModeRTEFloat16, shaderDenormPreserveFloat16, shaderSignedZeroInfNanPreserveFloat16).

28cebd8 no longer applies to main. Cherry-picked onto 2fee39f it conflicts in 10 files, each on neighbouring lines that main added (the per-lane source cache and !flushResults in FloatInstructions.cpp, new members and setters, new ValidateShaders and Inspect parameters). I have a resolution that keeps main's code and adds this PR's lines; it cherry-picks without conflicts onto e25333e (current main as of 2026-10-20 22:26 UTC). I can share it as a branch or a patch if you want it.

The PR also needs #5319's submodule pins, which main no longer has: 1db31b9 (#6134, merged 2026-10-18) moved SPIRV-Headers back to 01e057791 and SPIRV-Tools back to 7f2d9ee92 (v2025.4). Without #5319's pins the build fails with 'CapabilityFMAKHR' is not a member of 'spv'. So both sides below are e25333e + #5319's commit (the two pins only); B adds the resolution.

Tests, built with -DBUILD_TESTING=ON -DANYPS5_ENABLE_SPIRV_TOOLS=ON and run with the validation layer and ANYPS5_NO_SHADER_CACHE=1: the six from adriadam10's review, every test with f16, float16, fp16 or half in its name, and agc_fma_mix_once, 41 in all. All 41 pass on both sides with no validation messages. agc_driver_packed_float16_native prints "packed f16 native tests passed (294912 halves)" without this PR and "packed f16 native tests passed (589824 halves, fused f16 fma)" with it.

GTA V (PPSA04263 01.010.002), Story Mode after Resume Story (the bank), Graphics Mode Performance, 3840x2160. Each side's caches were warmed until its last 60 s built no pipelines. The window is 60 s (APS5_TRACE_FRAMES=3600:700, APS5_TRACE_EVENTS=4194304, no other trace or profile switch), the runs went in the order A B A B, no window had a pipeline build, the allocator was glibc and the laptop was on AC.

p50 p90 p99 GPU per present
A: main + #5319's pins 79.7, 79.1 ms 89.1, 88.4 ms 109.8, 110.7 ms 63.9, 63.6 ms
B: + this PR 72.1, 72.7 ms 81.4, 81.6 ms 101.3, 103.6 ms 57.0, 57.0 ms

p50 is 7.0 ms lower (-8.8 %), against a spread of 0.6 ms on each side, and GPU time per present is 6.8 ms lower. With APS5_PROFILE_GPU=1 (one run per side, not timing data), the largest dispatch program, 0x25b340600, goes from 19.42 to 13.19 ms per present.

Summary lines (A, A, B, B)
{"commit":"4b6916f7823a","dirty":false,"env":{"APS5_DUMP_FRAMES":"113","APS5_DUMP_FRAMES_EVERY":"30","APS5_NO_PAD_INPUT":"1","APS5_PAD_INPUT_FILE":"<path>","APS5_TRACE_EVENTS":"4194304","APS5_TRACE_FRAMES":"3600:700"},"gpu":"NVIDIA GeForce RTX 5060 Laptop GPU","driver":"NVIDIA 615.71.09","os":"Linux 7.2.8-zen1-2-zen","cpu":"AMD Ryzen AI 9 465 w/ Radeon 880M","cpu_threads":20,"memory_mib":31391,"title_id":"PPSA04263","title":"Grand Theft Auto V","content_version":"01.010.002","resolution":"3840x2160","window":{"spec":"frames 3600:700","first_present":3600,"ms":56732.453},"presents":700,"frame_ms":{"p50":79.712,"p90":89.119,"p99":109.798,"max":130.256},"gpu_busy_ms_per_present":63.947,"worker_busy_pct":{"queue worker 0x0":3683.704},"top_phases_ms_per_frame":{"Driver.EndSubmission":2907.391,"Driver.Packet":75.886,"Graphics.Draw":58.913,"Graphics.Draw.draw_and_resource_release":55.577,"Driver.Packet.draw":48.287,"Driver.Draw":48.086,"VideoOut.Flip":25.234,"Driver.Present":25.207},"trace_dropped":false,"trace":"aps5-trace-4b6916f7823a-4060726.json.gz"}
{"commit":"4b6916f7823a","dirty":false,"env":{"APS5_DUMP_FRAMES":"113","APS5_DUMP_FRAMES_EVERY":"30","APS5_NO_PAD_INPUT":"1","APS5_PAD_INPUT_FILE":"<path>","APS5_TRACE_EVENTS":"4194304","APS5_TRACE_FRAMES":"3600:700"},"gpu":"NVIDIA GeForce RTX 5060 Laptop GPU","driver":"NVIDIA 615.71.09","os":"Linux 7.2.8-zen1-2-zen","cpu":"AMD Ryzen AI 9 465 w/ Radeon 880M","cpu_threads":20,"memory_mib":31391,"title_id":"PPSA04263","title":"Grand Theft Auto V","content_version":"01.010.002","resolution":"3840x2160","window":{"spec":"frames 3600:700","first_present":3600,"ms":56295.599},"presents":700,"frame_ms":{"p50":79.113,"p90":88.365,"p99":110.7,"max":129.122},"gpu_busy_ms_per_present":63.629,"worker_busy_pct":{"queue worker 0x0":3669.974},"top_phases_ms_per_frame":{"Driver.EndSubmission":2873.923,"Driver.Packet":75.319,"Graphics.Draw":58.518,"Graphics.Draw.draw_and_resource_release":55.196,"Driver.Packet.draw":47.617,"Driver.Draw":47.41,"VideoOut.Flip":25.328,"Driver.Present":25.315},"trace_dropped":false,"trace":"aps5-trace-4b6916f7823a-4076517.json.gz"}
{"commit":"cfdf5cea2fed","dirty":false,"env":{"APS5_DUMP_FRAMES":"113","APS5_DUMP_FRAMES_EVERY":"30","APS5_NO_PAD_INPUT":"1","APS5_PAD_INPUT_FILE":"<path>","APS5_TRACE_EVENTS":"4194304","APS5_TRACE_FRAMES":"3600:700"},"gpu":"NVIDIA GeForce RTX 5060 Laptop GPU","driver":"NVIDIA 615.71.09","os":"Linux Ryzen AI 9 465 w/ Radeon880M","cpu_threads":20,"memory_mib":31391,"title_id":"PPSA04263","title":"Grand Theft Auto V","content_version":"01.010.002","resolution":"3840x2160","window":{"spec":"frames 3600:700","first_present":3600,"ms":51679.776},"presents":700,"frame_ms":{"p50":72.127,"p90":81.415,"p99":101.336,"max":112.579},"gpu_busy_ms_per_present":57.028,"worker_busy_pct":{"queue worker 0x0":3790.227},"top_phases_ms_per_frame":{"Driver.EndSubmission":2727.242,"Driver.Packet":,"Graphics.Draw.draw_and_resource_release":48.371,"Driver.Packet.draw":46.791,"Driver.Draw":46.588,"Driver.Draw.shader_compile_and_link":22.903,"Driver.Draw.draw_enqueued":19.169},"trace_dropped":false,"trace":"aps5-trace-cfdf5cea2fed-4068848.json.gz"}
{"commit":"cfdf5cea2fed","dirty":false,"env":{"APS5_DUMP_FRAMES":"113","APS5_DUMP_FRAMES_EVERY":"30","APS5_NO_PAD_INPUT":"1","APS5_PAD_INPUT_FILE":"<path>","APS5_TRACE_EVENTS":"4194304","APS5_TRACE_FRAMES":"360
0:700"},"gpu":"NVIDIA GeForce RTX 5060 Laptop GPU","driver":"NVIDIA 615.71.09","os":"Linux Ryzen AI 9 465 w/ Radeon880M","cpu_threads":20,"memory_mib":31391,"title_id":"PPSA04263","title":"Grand Theft Auto V","content_version":"01.010.002","resolution":"3840x2160","window":{"spec":"frames
3600:700","first_present":3600,"ms":51995.115},"presents":700,"frame_ms":{"p50":72.686,"p95.001},"gpu_busy_ms_per_present":56.998,"worker_busy_pct":{"queue worker0x0":3799.062},"top_phases_ms_per_frame":{"Driver.EndSubmission":2750.297,"Driver.Packet":69.326,"Graphics.Draw":51.663,"Graphics.Draw.draw_and_resource_release":48.613,"Driver.Packet.draw":47.349,"Driver.Draw":47.147,"Driver.Draw.shader_compile_and_link":23.278,"Driver.Draw.draw_enqueued":19.301},"trace_dropped":false,"trace":"aps5-trace-cfdf5cea2fed-4084516.json.gz"}

The summary lines' Driver.EndSubmission (about 2,700 to 2,900 ms per frame) and worker_busbout 3,700 %) are not costs: on the pipelined path the Driver.EndSubmission timer staysopen through the rewind tail, so nested tails are counted many times over (#8092, fixed on main by #8108).

Not tested: other GPUs and drivers (RADV included), Windows, other titles and scenes.

AI-assisted: yes

@oneandonlydean

Copy link
Copy Markdown
Collaborator

@adriadam10 a question on PRs assigned to you: these have been waiting on a rebase for 3+ days with no author activity for over a week: #4072 #5371 #5836 #5609 #6187 #6194 #6197 #6657 #6867. OK if I close them with a reopen-when-rebased note, or would you rather keep any of them open? (#6158 I've already closed as a duplicate of #8417.)

@fogydes

fogydes commented Oct 24, 2026

Copy link
Copy Markdown
Contributor

Verified fresh (head 28cebd82b6, main 1e20650e84):

  1. Merge-blocker now, upstream-side: main's 3rdparty/SPIRV-Headers pin is 01e0577914, and the spirv.hpp11 at that commit contains no OpFmaKHR and no FMAKHR/CapabilityFMAKHR occurrence (fetched the pinned raw file; only "Fmax" matches, in unrelated vendor tokens). [verified by fetching the pinned header] The branch references spv::OpFmaKHR / spv::CapabilityFMAKHR (SpirvAluEmitterMath.cpp, Recompiler.cpp, the new test). A merge onto current main resolves the submodule pins to main's values (they don't conflict — the PR inherits its base's pins), so the merged tree will not compile, independent of the 10 text conflicts. [verified: merge-tree output + pin values on both sides]
  2. Upstream regression that caused this: commit 1db31b9c9e rewrote both submodule pointers b824a462 → 01e0577914 (SPIRV-Headers) and 262bdab → 7f2d9ee9 (SPIRV-Tools), i.e. older pins, in a commit whose message ("name preparation-failure shader dumps apart from dispatch captures") never mentions submodules — likely an accidental restore from an older worktree. [verified: git show 1db31b9c9e --raw + commit message] If the team intended VK_KHR_shader_fma adoption via build(deps): update SPIRV-Tools to v2025.5 and SPIRV-Headers to its pinned revision #5319's pins, restoring main's pins there would unblock this PR independent of the rebase.
  3. Stale: 8,508 commits behind base b2ef1cace3; merge-tree lists 10 conflicting files (VulkanDevice.cpp, Context.hpp, Pipeline.hpp, Draw.cpp, ShaderValidation.cpp, Recompiler.cpp, InstructionTranslator.hpp/cpp, TranslationContext.hpp, FloatInstructions.cpp). [verified]
  4. Op counts for OpFmaKHR/capability in the SPIR-V spec negotiated against UNIFIED1 — that part is real; it's the headers that need the newer revision. [verified via spec text]

@queeeef

queeeef commented Oct 24, 2026

Copy link
Copy Markdown
Contributor Author

@adriadam10 a question on PRs assigned to you: these have been waiting on a rebase for 3+ days with no author activity for over a week: #4072 #5371 #5836 #5609 #6187 #6194 #6197 #6657 #6867. OK if I close them with a reopen-when-rebased note, or would you rather keep any of them open? (#6158 I've already closed as a duplicate of #8417.)

Yes, sorry too busy. Please at anytime if im standing in the way of progress just do what feels right

@oneandonlydean

Copy link
Copy Markdown
Collaborator

Thanks for the work on this and for the quick reply. Closing it for now since it needs a rebase (and the SPIRV-Headers pin on main lacks OpFmaKHR). Feel free to reopen anytime once it's rebased.

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

Labels

agc libSceAgc* build docs needs rebase Conflicts with main, rebase needed perf numbers missing perf pull request without a before and after summary line perf Performance change shader core/shader

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants