test(agc): skip the f32 dot2 rounding test on devices without shaderFloat64 #4528

Merged
kr4y4 merged 1 commit from upstream-pr/4528 into main 2026-10-12 18:31:11 +00:00
kr4y4 commented 2026-10-12 14:33:40 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by kr4y4 on 2026-10-12T14:33:40Z.


What

agc_driver_f32_dot2_rounding, added by #2428, fails on GPUs without shaderFloat64. On an Intel Raptor Lake-S iGPU, on main 8fa5cc486:

ShaderRecompiler::Recompile: 64-bit float instructions need the Float64 capability, which the device lacks

#2428 computes v_dot2_f32_f16 in f32 but keeps the f64 lowering in a branch for the other inputs and zero results, so the shader still needs Float64, and the recompiler refuses it on purpose. agc_driver_float16_dot already skips on such devices for the same reason (#1259).

The test now skips with TargetHasCapability(target, spv::CapabilityFloat64) and prints why, as Float16Dot.cpp and the f64 execution tests do. On devices that have the capability nothing changes.

Tested

Windows 11 (26200), WinLibs GCC 15.2.0 r7, CI configure flags, main 8fa5cc486:

  • Intel Raptor Lake-S iGPU, which has no shaderFloat64:
    • before: fails with the message above;
    • after: skipped (exit 77), printing skipped, v_dot2_f32_f16 takes an f64 branch and the device has no shaderFloat64.
  • RTX 4070 Laptop GPU: passes with --repeat until-fail:3, checking 239,680 cases each time, as before.
  • tools/check_conventions.py --base origin/main passes, and tools/pr_overlap.py finds no overlap with open pull requests.

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 (none added)
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Unblocks: none
  • AI-assisted: yes

🤖 Generated with Claude Code

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4830892021 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4528). Originally posted by [kr4y4](https://github.com/kr4y4) on 2026-10-12T14:33:40Z. --- ### What `agc_driver_f32_dot2_rounding`, added by #2428, fails on GPUs without `shaderFloat64`. On an Intel Raptor Lake-S iGPU, on `main` 8fa5cc486: ``` ShaderRecompiler::Recompile: 64-bit float instructions need the Float64 capability, which the device lacks ``` #2428 computes `v_dot2_f32_f16` in f32 but keeps the f64 lowering in a branch for the other inputs and zero results, so the shader still needs Float64, and the recompiler refuses it on purpose. `agc_driver_float16_dot` already skips on such devices for the same reason (#1259). The test now skips with `TargetHasCapability(target, spv::CapabilityFloat64)` and prints why, as `Float16Dot.cpp` and the f64 execution tests do. On devices that have the capability nothing changes. ### Tested Windows 11 (26200), WinLibs GCC 15.2.0 r7, CI configure flags, `main` 8fa5cc486: - Intel Raptor Lake-S iGPU, which has no `shaderFloat64`: - before: fails with the message above; - after: skipped (exit 77), printing `skipped, v_dot2_f32_f16 takes an f64 branch and the device has no shaderFloat64`. - RTX 4070 Laptop GPU: passes with `--repeat until-fail:3`, checking 239,680 cases each time, as before. - `tools/check_conventions.py --base origin/main` passes, and `tools/pr_overlap.py` finds no overlap with open pull requests. ### 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 in [TechnicalDebt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/TechnicalDebt.md#silent-stubs) - [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 (none added) - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Unblocks: none - [x] AI-assisted: yes 🤖 Generated with [Claude Code](https://claude.com/claude-code)
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!4528
No description provided.