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

Closed
queeeef wants to merge 1 commit from upstream-pr/4072 into main
queeeef commented 2026-10-11 22:43:31 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by queeeef on 2026-10-11T22:43:31Z.


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.

  • VulkanDevice: queries VkPhysicalDeviceShaderFmaFeaturesKHR only when the f16 path from #3531 is already enabled (Float16, RTE, preserved denormals, preserved signed zero, inf and NaN). If shaderFmaFloat16 is supported, it enables the extension and the feature and adds the FMAKHR capability and SPV_KHR_fma. Graphics shader validation accepts both only when the device enabled shaderFmaFloat16 (Context::fmaFloat16), as for the other optional extensions.
  • Translation: the packed fma joins #3531's native path as a new IR op, FPFma16x2, and the existing NaN, FP16_OVFL and clamp rules run on the result bits unchanged.
  • SPIR-V: FPFma16x2 is emitted as OpFmaKHR on f16vec2, decorated NoContraction.
  • Fallback: without the capability, the f32 round-to-odd path is used as before.
  • SPIR-V tools and headers: spv::OpFmaKHR and spv::CapabilityFMAKHR come from SPIRV-Headers, and spirv-val accepts them, from #5319 on. This PR depends on it.

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 #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 (#3531's test, extended). Each FLOAT_MODE compiles the test kernel three ways:

    • for the device, with OpFmaKHR when it has FMAKHR;
    • for the device without FMAKHR, which is #3531's path;
    • without Float16, the f32 path.

    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
  • 0x1bc1… takes about 2 ms (21%) less per frame in both pairs.
  • 0x1a01… shows no consistent change. In both shaders, most of what is left per packed instruction is the NaN rule on the result bits, as in #3531 (see #4042).
  • The frame rate differs between runs by more than this change. The title screen's content varies, so another shader took 0 to 4.6 ms per frame depending on the run, and no frame-rate gain is claimed.

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: #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

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4822952119 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4072). Originally posted by [queeeef](https://github.com/queeeef) on 2026-10-11T22:43:31Z. --- ### 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. - **`VulkanDevice`:** queries `VkPhysicalDeviceShaderFmaFeaturesKHR` only when the f16 path from #3531 is already enabled (Float16, RTE, preserved denormals, preserved signed zero, inf and NaN). If `shaderFmaFloat16` is supported, it enables the extension and the feature and adds the `FMAKHR` capability and `SPV_KHR_fma`. Graphics shader validation accepts both only when the device enabled `shaderFmaFloat16` (`Context::fmaFloat16`), as for the other optional extensions. - **Translation:** the packed fma joins #3531's native path as a new IR op, `FPFma16x2`, and the existing NaN, `FP16_OVFL` and clamp rules run on the result bits unchanged. - **SPIR-V:** `FPFma16x2` is emitted as `OpFmaKHR` on f16vec2, decorated `NoContraction`. - **Fallback:** without the capability, the f32 round-to-odd path is used as before. - **SPIR-V tools and headers:** `spv::OpFmaKHR` and `spv::CapabilityFMAKHR` come from SPIRV-Headers, and spirv-val accepts them, from #5319 on. This PR depends on it. **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 #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` (#3531's test, extended).** Each FLOAT_MODE compiles the test kernel three ways: - for the device, with `OpFmaKHR` when it has `FMAKHR`; - for the device without `FMAKHR`, which is #3531's path; - without `Float16`, the f32 path. 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 | - **`0x1bc1…`** takes about 2 ms (21%) less per frame in both pairs. - **`0x1a01…`** shows no consistent change. In both shaders, most of what is left per packed instruction is the NaN rule on the result bits, as in #3531 (see #4042). - **The frame rate** differs between runs by more than this change. The title screen's content varies, so another shader took 0 to 4.6 ms per frame depending on the run, and no frame-rate gain is claimed. ### Checklist - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: #5319 - [x] Unblocks: none - [x] GPUs tested: NVIDIA GeForce RTX 2080 Ti, driver 610.74, Windows 11 Pro 26300 - [x] AI-assisted: yes (Claude Code) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
queeeef commented 2026-10-12 03:55:37 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by queeeef on 2026-10-12T03:55:37Z.


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)

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6117453996 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4072#issuecomment-6117453996). Originally posted by [queeeef](https://github.com/queeeef) on 2026-10-12T03:55:37Z. --- 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 commented 2026-10-12 13:37:13 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by blawesom on 2026-10-12T13:37:13Z.


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.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6125399721 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4072#issuecomment-6125399721). Originally posted by [blawesom](https://github.com/blawesom) on 2026-10-12T13:37:13Z. --- **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 commented 2026-10-12 20:27:36 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-12T20:27:36Z.


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.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6132051349 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4072#issuecomment-6132051349). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-12T20:27:36Z. --- Thanks for the rebase handoff. I’ve pushed a packed-f16 special-rules candidate on current upstream as [`codex/f16-special-rules-4042-current`](https://github.com/MarcZX100/AnyPS5/tree/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 commented 2026-10-13 10:02:15 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-13T10:02:15Z.


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.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6143099261 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4072#issuecomment-6143099261). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-13T10:02:15Z. --- 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 commented 2026-10-13 10:53:47 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-13T10:53:47Z.

Review: CHANGES_REQUESTED


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.
<!-- greyfinch-sync:boykopovar/AnyPS5:review:5502430314 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4072#pullrequestreview-5502430314). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-13T10:53:47Z. **Review:** CHANGES_REQUESTED --- 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 commented 2026-10-13 17:06:30 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by queeeef on 2026-10-13T17:06:30Z.


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, #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)

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6150920494 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4072#issuecomment-6150920494). Originally posted by [queeeef](https://github.com/queeeef) on 2026-10-13T17:06:30Z. --- 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, #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 commented 2026-10-13 22:22:46 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-13T22:22:46Z.


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.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6156480270 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4072#issuecomment-6156480270). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-13T22:22:46Z. --- 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.
CPritch commented 2026-10-21 07:54:09 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by CPritch on 2026-10-21T07:54:09Z.


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

28cebd82b no longer applies to main. Cherry-picked onto 2fee39f1b 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 e25333e39 (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: 1db31b9c9 (#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 e25333e39 + #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

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6310964644 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4072#issuecomment-6310964644). Originally posted by [CPritch](https://github.com/CPritch) on 2026-10-21T07:54:09Z. --- 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`). 28cebd82b no longer applies to main. Cherry-picked onto 2fee39f1b 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 e25333e39 (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: 1db31b9c9 (#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 e25333e39 + #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. <details><summary>Summary lines (A, A, B, B)</summary> ``` {"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"} ``` </details> 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

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!4072
No description provided.