agc_driver_fp16_overflow fails instead of skipping on devices without shaderFloat64 (Intel on Windows); fix branch ready #3230

Closed
opened 2026-10-11 02:13:22 +00:00 by Silverash-i8 · 1 comment
Silverash-i8 commented 2026-10-11 02:13:22 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by Silverash-i8 on 2026-10-11T02:13:22Z.


agc_driver_fp16_overflow fails on a device without shaderFloat64 instead of skipping. Intel iGPUs on Windows have no Float64, so on main d31b57a4 with the Arrow Lake iGPU (ANYPS5_GPU=Intel) it stops at recompilation:

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

The test shader translates to 64-bit float instructions, so there's nothing it can check on such a device. The other execution tests that need a capability already skip without it (for example BufferAtomics.cpp checks spv::CapabilityInt64Atomics).

Branch: fix/agc-fp16-overflow-skip-without-float64, commit 922d4015 on main d31b57a4: four lines in Fp16Overflow.cpp that skip with "skipped, the device has no shaderFloat64" when TargetHasCapability(device->Target(), spv::CapabilityFloat64) is false.

Tested on Windows 11, WinLibs GCC 15.2.0 r7, Release: on the RTX 5060 Laptop it still runs and passes ("fp16 overflow tests passed"); on the Arrow Lake iGPU it now skips instead of failing. tools/check_conventions.py --base upstream/main passes.

This is the last piece of the fp16_overflow line in my Intel table on #2114. The f64_fma_subnormals one is covered by #2860 / #2977.

AI-assisted (Claude Code); I ran everything above on my machine.

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5797200201 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/3230). Originally posted by [Silverash-i8](https://github.com/Silverash-i8) on 2026-10-11T02:13:22Z. --- `agc_driver_fp16_overflow` fails on a device without `shaderFloat64` instead of skipping. Intel iGPUs on Windows have no Float64, so on `main` d31b57a4 with the Arrow Lake iGPU (`ANYPS5_GPU=Intel`) it stops at recompilation: ``` ShaderRecompiler::Recompile: 64-bit float instructions need the Float64 capability, which the device lacks ``` The test shader translates to 64-bit float instructions, so there's nothing it can check on such a device. The other execution tests that need a capability already skip without it (for example `BufferAtomics.cpp` checks `spv::CapabilityInt64Atomics`). **Branch:** [`fix/agc-fp16-overflow-skip-without-float64`](https://github.com/Silverash-i8/AnyPS5-fork/tree/fix/agc-fp16-overflow-skip-without-float64), commit `922d4015` on `main` d31b57a4: four lines in `Fp16Overflow.cpp` that skip with "skipped, the device has no shaderFloat64" when `TargetHasCapability(device->Target(), spv::CapabilityFloat64)` is false. **Tested** on Windows 11, WinLibs GCC 15.2.0 r7, Release: on the RTX 5060 Laptop it still runs and passes ("fp16 overflow tests passed"); on the Arrow Lake iGPU it now skips instead of failing. `tools/check_conventions.py --base upstream/main` passes. This is the last piece of the `fp16_overflow` line in my Intel table on #2114. The `f64_fma_subnormals` one is covered by #2860 / #2977. AI-assisted (Claude Code); I ran everything above on my machine.
MarcZX10 commented 2026-10-11 04:44:49 +00:00 (Migrated from github.com)
Author
Contributor

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


Carried the offered change to current main in PR #3270, preserving Abdulrahman Elkordy's commit authorship.

The local Linux Release build and agc_driver_fp16_overflow test pass on llvmpipe, which supports shaderFloat64; that run covers the normal execution path, not the skip path. The Windows RTX 5060 pass and Arrow Lake skip are the issue author's reported results on the stated earlier main base.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6105543922 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/3230#issuecomment-6105543922). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-11T04:44:49Z. --- Carried the offered change to current `main` in [PR #3270](https://github.com/boykopovar/AnyPS5/pull/3270), preserving Abdulrahman Elkordy's commit authorship. The local Linux Release build and `agc_driver_fp16_overflow` test pass on llvmpipe, which supports `shaderFloat64`; that run covers the normal execution path, not the skip path. The Windows RTX 5060 pass and Arrow Lake skip are the issue author's reported results on the stated earlier `main` base.
Sign in to join this conversation.
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#3230
No description provided.