test(agc): skip fp16 overflow without shaderFloat64 #3270

Merged
MarcZX10 merged 1 commit from upstream-pr/3270 into main 2026-10-11 06:04:59 +00:00
MarcZX10 commented 2026-10-11 04:44:40 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-11T04:44:40Z.


What

agc_driver_fp16_overflow recompiles a shader containing 64-bit float instructions. On devices without shaderFloat64, the test cannot execute and currently fails during recompilation. Skip it when the target lacks spv::CapabilityFloat64, before the shader is recompiled.

This carries Abdulrahman Elkordy's offered fix from issue #3230. The implementation commit retains his authorship.

Tested

Linux, GCC 12.2, Release, llvmpipe: built agc_driver_fp16_overflow_tests; agc_driver_fp16_overflow passed (1/1). The local llvmpipe supports the capability, so this validates the normal execution path but does not exercise the new skip path.

The issue author reports Windows 11 / WinLibs GCC 15.2 results on the branch's stated base (main d31b57a4): the test passed on an RTX 5060 Laptop and skipped on an Arrow Lake iGPU without shaderFloat64. Those hardware results are reported by the issue author, not rerun here.

tools/check_conventions.py --base upstream/main and git diff --check pass. The full Linux and Windows workflows are skipped automatically for pull requests under repository policy.

Checklist

  • Based on current main; no other open PR implements this fix
  • 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
  • New third-party code is a submodule built from source (none added)
  • Generic behaviour, not specific to one title
  • Depends on: none
  • AI-assisted: yes

Fixes #3230

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4816638738 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3270). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-11T04:44:40Z. --- ### What `agc_driver_fp16_overflow` recompiles a shader containing 64-bit float instructions. On devices without `shaderFloat64`, the test cannot execute and currently fails during recompilation. Skip it when the target lacks `spv::CapabilityFloat64`, before the shader is recompiled. This carries Abdulrahman Elkordy's offered fix from issue #3230. The implementation commit retains his authorship. ### Tested Linux, GCC 12.2, Release, llvmpipe: built `agc_driver_fp16_overflow_tests`; `agc_driver_fp16_overflow` passed (1/1). The local llvmpipe supports the capability, so this validates the normal execution path but does not exercise the new skip path. The issue author reports Windows 11 / WinLibs GCC 15.2 results on the branch's stated base (`main` d31b57a4): the test passed on an RTX 5060 Laptop and skipped on an Arrow Lake iGPU without `shaderFloat64`. Those hardware results are reported by the issue author, not rerun here. `tools/check_conventions.py --base upstream/main` and `git diff --check` pass. The full Linux and Windows workflows are skipped automatically for pull requests under repository policy. ### Checklist - [x] Based on current `main`; no other open PR implements this fix - [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 - [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] AI-assisted: yes Fixes #3230
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!3270
No description provided.