Skip to content

fix(shader): quiet NaN results of native scalar f16 add, sub and mul with IEEE_MODE - #20099

Merged
oneandonlydean merged 1 commit into
boykopovar:mainfrom
c1b3r-p3d1a:fix/shader-native-f16-ieee-snan
Nov 29, 2026
Merged

oneandonlydean merged 1 commit into
boykopovar:mainfrom
c1b3r-p3d1a:fix/shader-native-f16-ieee-snan

Conversation

@c1b3r-p3d1a

@c1b3r-p3d1a c1b3r-p3d1a commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

What

With IEEE_MODE set, the native scalar f16 path (float16Native in FloatInstructions.cpp, used when the device has Float16, RTE and DenormPreserve) returned the driver's NaN result unchanged for v_add_f16, v_sub_f16, v_subrev_f16 and v_mul_f16. The AMD Windows driver returns a signaling NaN source unquieted: v_sub_f16 of 0x00ff and 0x7dbe gives 0xfdbe. RDNA2 quiets it to 0xffbe.

Measured on gfx1035 (Radeon 680M) with the hardware oracle, for the four ops in their VOP2, VOP3 clamp and SDWA forms, at IEEE_MODE 0/1 and DX10_CLAMP 0/1 (evidence: https://gist.github.com/c1b3r-p3d1a/9721280d2211f292a46b84a239a1d654):

  • With IEEE_MODE 1, every NaN result is the NaN source quieted; v_sub_f16 negates src1 first.
  • With IEEE_MODE 0, the NaN source is returned unchanged.

The native path now sets the quiet bit (0x0200) of a NaN result when IEEE_MODE is set. The payload is still the driver's, as the clamp-modifier entry already says. IEEE_MODE 0 is unchanged.

Not changed: the native v_fma_f16/v_fmac_f16/v_fmamk_f16/v_fmaak_f16 path (float16NativeFma, only on devices with VK_KHR_shader_fma). The hardware quiets there too (same gist), but this device has no FMAKHR, so I couldn't run a fix. A new debt entry records that gap first, and what the add/sub/mul path now does.

Tested

Windows 11, WinLibs GCC 15.2.0 (x86_64-ucrt-posix-seh r7), Release, AMD Radeon 680M (gfx1035), driver 32.0.21030.12001 (no VK_KHR_shader_fma).

  • agc_driver_float16_native now requires every NaN result of its add, sub, subrev and mul forms to be quiet in the IEEE_MODE modes, from both the native and the emulated path; the fma forms are left out. On main's FloatInstructions.cpp it fails: dx10 ieee ovfl, v_sub_f16 v11, v4, v5 with v4=0x39fcfd3b v5=0xe3d4feab ... is the signaling NaN 0x0000fd3b, which IEEE_MODE quiets. It also fails when the fix counts only quiet NaNs as NaN.
  • The quieting check selects those forms by name (every op except the v_fma* forms) instead of by result index, so a reordered result table can't drop a changed form (MarcZX10's review). It selects the same 9 of 16 forms as before. With the merge-base FloatInstructions.cpp, it fails at v_sub_f16 v11, v4, v5, signaling NaN 0xfd3b; with this PR's it passes.
  • The 105 tests matching f16|float16|fp16|sdwa|vop2_modifier|ldexp pass, except guest_harfbuzz_buffer_utf16 (Not Run: another library's test, not built).
  • agc_driver_float16_native, agc_driver_sdwa_float_selectors, agc_driver_float16_modifiers and agc_driver_fp16_overflow with ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation (SDK 1.4.363.1), ctest -V: pass on main and on this branch, 0 VUID- lines on both.
  • python tools/check_conventions.py --base origin/main passes. Merge simulation: clean on main and after each of the 78 open PRs touching these files that merge cleanly with main, including perf(shader): keep the device's f16 NaN results with IEEE_MODE clear when a startup probe matches RDNA #15719, which changes the same functions for IEEE_MODE clear.
  • Not run: Linux, lavapipe, NVIDIA, a device with VK_KHR_shader_fma, the console's gfx1013.

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: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: AMD Radeon 680M (gfx1035), driver 32.0.21030.12001, Windows 11
  • AI-assisted: yes

@MarcZX10 MarcZX10 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Reviewed — comments

The native scalar f16 path now quiets NaN results when IEEE_MODE is set; the remaining review feedback concerns the new test’s coverage of modifiers.

What I ran

Reviewed head 4f4d7c0e024d07ff53e1782af21346c2e0fb144f from the prepared diff and pinned reader. No commands or tests were run.

Results

Check Result Note
Diff and changed source review passed Three changed files read
Runtime tests not run Author reports tests; not independently verified

Findings

Blocking

None.

Non-blocking

  • Float16Native.cpp:230 only checks whether the result is quiet, and excludes indices 4..10. That means the regression assertion does not verify quieting for those operation forms (including FMA forms, which the description says are intentionally outside this fix). Consider documenting the index-to-operation mapping or limiting the assertion explicitly to the changed add/sub/subrev/mul forms. As written, the condition is difficult to audit and could omit a changed form if the result ordering changes.

Not verified

  • No test or build command was run; reported hardware results and CI claims were not independently verified.
  • The changed files read were core/libs/prx/libSceAgcDriver/tests/execution/Float16Native.cpp, core/shader/recompiler/Translation/src/FloatInstructions.cpp, and docs/dev/debt/shader.md. All three files listed as reviewed in the manifest were read; no files were excluded.
  • Linux, lavapipe, NVIDIA, a device with VK_KHR_shader_fma, and console gfx1013 behavior were not tested in this review.

To get this to a good state

Nothing is required. Optional: make the tested operation-index range self-documenting so it stays aligned with the intended add/sub/subrev/mul coverage.

@github-actions github-actions Bot added shader core/shader docs agc libSceAgc* labels Nov 14, 2026
@github-actions

github-actions Bot commented Nov 14, 2026 •

Copy link
Copy Markdown

Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.

Pull request Shared files not compared
PR 5371 docs/dev/debt/shader.md
PR 6235 docs/dev/debt/shader.md
PR 6280 docs/dev/debt/shader.md
PR 6412 docs/dev/debt/shader.md
PR 6488 docs/dev/debt/shader.md
PR 6924 docs/dev/debt/shader.md
PR 7392 docs/dev/debt/shader.md
PR 7684 docs/dev/debt/shader.md
PR 9387 docs/dev/debt/shader.md
PR 9633 docs/dev/debt/shader.md
PR 9749 docs/dev/debt/shader.md
PR 9790 docs/dev/debt/shader.md
PR 9969 docs/dev/debt/shader.md
PR 10652 docs/dev/debt/shader.md
PR 11483 docs/dev/debt/shader.md
PR 12944 docs/dev/debt/shader.md
PR 14853 docs/dev/debt/shader.md
PR 15555 docs/dev/debt/shader.md
PR 16571 docs/dev/debt/shader.md
PR 17606 docs/dev/debt/shader.md
PR 18106 docs/dev/debt/shader.md
PR 18107 docs/dev/debt/shader.md
PR 19505 core/shader/recompiler/Translation/src/FloatInstructions.cpp
docs/dev/debt/shader.md
PR 25767 core/shader/recompiler/Translation/src/FloatInstructions.cpp

@tablefrogpillow

Copy link
Copy Markdown
Contributor

Cross-HW verified on real AMD RADV across three generations (Mesa 26.2.6, validation layer 1.4.363), head 4f4d7c0e vs parent 8c8a6a2d. agc_driver_float16_native via ctest.

GPU native f16 path PR #20099
Vega (RADV VEGA10, GCN5/gfx900, Wave64) taken PASS
RDNA2 (RADV RAPHAEL_MENDOCINO, gfx1036) taken PASS
RDNA3 (RADV NAVI31, gfx1100) taken PASS

All three advertise Float16 + RoundingModeRTE + DenormPreserve, so the native f16vec2 add/mul path (and OpFmaKHR) is emitted and exercised — the test does not skip on any of them (327680 results, ~22–24k NaN results with another payload, fused f16 fma).

Negative control (gen-independent, run on Vega): with the pre-fix float16Native (no quieting) restored and the PR's new assertion kept, agc_driver_float16_native fails:

f16 native: dx10 ieee ovfl, v_add_f16 ... v4=0x39fcfd3b v5=0xe3d4feab
  is the signaling NaN 0x0000fd3b, which IEEE_MODE quiets

The per-lane source 0xfd3b is a signaling NaN (quiet bit 0x0200 clear); native v_add_f16 returned it unquieted, and IEEE_MODE expects 0xff3b. So RADV returns the signaling-NaN source unquieted here — same as the AMD Windows driver, not a driver that pre-quiets — which makes the fix's forced quieting required and correct (control fails pre-fix, passes post-fix). This is an end-to-end hardware confirmation of the add/sub/mul leg the debt-doc noted it couldn't test for lack of a device. (The RDNA runs confirm the fix is correct and non-regressing on the native path; the "required" is established by the gen-independent Vega control, since the recompiler now quiets regardless of what the driver returns.)

AI-assisted: yes

…with IEEE_MODE

With IEEE_MODE set, RDNA2 quiets a signaling NaN source of v_add_f16,
v_sub_f16, v_subrev_f16 and v_mul_f16 (measured on gfx1035). The native
f16 path returned the driver's NaN unchanged, which can be signaling; it
now sets the quiet bit of a NaN result. The native fma forms are not
changed: no device here has VK_KHR_shader_fma to test them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@c1b3r-p3d1a
c1b3r-p3d1a force-pushed the fix/shader-native-f16-ieee-snan branch from 4f4d7c0 to 797dbc6 Compare November 14, 2026 21:50
@c1b3r-p3d1a

Copy link
Copy Markdown
Contributor Author

@MarcZX10 797dbc6479 picks the quieting check's ops by name (every op except v_fma*) instead of by index range, so reordering the table can't drop an op. It covers the same 9 ops; it fails on the pre-fix FloatInstructions.cpp and passes with the fix.

AI-assisted: yes.

@MarcZX10 MarcZX10 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Reviewed — looks good

Nothing blocks this change; the focused code review found no verified defect.

What I ran

Reviewed head 797dbc6479e5628d703c7ee744f0b87dcb0246c6. I inspected the prepared description, commit list, manifest and diff, then read all three changed files at the pinned head. No commands or tests were run.

Results

Check Result Note
Diff and changed code passed All three changed files read
Tests not run Author-reported results were not rerun

Findings

Blocking

None.

Non-blocking

None.

Not verified

I did not run the reported Windows hardware tests, the broader test selection, convention checks, or merge simulation. Linux, lavapipe, NVIDIA, FMAKHR hardware and gfx1013 behavior remain unverified as stated in the description. All files listed under reviewed in the manifest were read; no changed files were excluded.

To get this to a good state

Nothing is required.

@ghost

ghost commented Nov 15, 2026

Copy link
Copy Markdown

Windows + NVIDIA (Blackwell) run of head 797dbc6479, merged with git merge --no-ff onto main 9659ce01e4 (clean merge). A non-AMD data point for the native f16 path.

Setup: Windows 11 Pro, NVIDIA GeForce RTX 5070 Ti, driver 621.01, Ryzen 7 5800X3D, WinLibs GCC 15.2.0 r7 UCRT, Release, BUILD_TESTING=ON, ANYPS5_REQUIRE_VULKAN=1. Both sides carry the diff of #19899, without which main does not compile on MinGW. The FPS Monitor implicit layer is disabled with DISABLE_LAYER=1 (#20011).

main 9659ce01e4 this PR
build completes completes
agc_driver_float16_native (built from the changed Float16Native.cpp), agc_driver_float16_modifiers, agc_driver_fp16_overflow, agc_driver_sdwa_float_selectors pass 4 of 4 pass in 3 of 3 serial runs
same tests with ANYPS5_NO_SHADER_CACHE=1, VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation (1.4.363), VK_LOADER_DEBUG=layer, ctest -V pass, layer inserted, 0 VUID- lines pass, layer inserted, 0 VUID- lines
ctest -R '^(agc|shader|video_out|guest_video_out)' -j 12 0 failed 1834 tests, 0 failed, 20 skipped (the same skips as main)

agc_driver_float16_native on this device, with the PR:

f16 native tests passed (327680 results, 0 NaN results with another payload, fused f16 fma)

The startup probe on this driver reports f32 denormal flush: hardware, and f16 to f32 / f32 to f16 NaN results emulated (8184 of 262144 and 98484 of 220032 probe results differ from native).

AI-assisted: yes

@domx4q

domx4q commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

Ran the focused tests with the Khronos validation layer on Linux and an NVIDIA GPU, since CI runs the GPU tests only on lavapipe, the Tested section is on an AMD 680M and the NVIDIA run in the comments is on Windows.

Setup: Arch Linux (kernel 7.3.4), GCC 16.2.1, Release, NVIDIA GeForce RTX 4090 (vendor 0x10de, device 0x2684, Ada), proprietary driver 620.70.06, Vulkan 1.4.357, Khronos validation layer 1.4.363.1. Head 797dbc6479 merged onto main fbaae8a79d with --no-ff (clean, as cf1ba7bd0e). Main baseline is a Release build of fbaae8a79d on the same machine.

ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation VK_LOADER_DEBUG=layer \
ctest --test-dir build -R '^agc_driver_(float16_native|sdwa_float_selectors|float16_modifiers|fp16_overflow)$' -V
main fbaae8a79d this PR
Result 4 of 4 passed 4 of 4 passed
Insert instance layer "VK_LAYER_KHRONOS_validation" 4 4
was not found but was requested by env var VK_INSTANCE_LAYERS 0 0
VUID- none none

All four tests from the Tested section pass on both sides; agc_driver_float16_native reports f16 native tests passed (327680 results, 0 NaN results with another payload, fused f16 fma). Every device selected the RTX 4090.

Negative control: with main's FloatInstructions.cpp and the rest of this PR, agc_driver_float16_native still passes on this GPU (FloatInstructions.cpp was rebuilt). On Ada the add, sub, subrev and mul NaN results are already quiet without the added select, so the failure described in the Tested section does not reproduce here; it is specific to the AMD device. This run shows that the extra select adds no validation messages and changes no result on NVIDIA.

No new VUID- errors; all focused tests pass on Ada.

AI-assisted: yes (Claude Code)

@kiwe147

kiwe147 commented Nov 21, 2026

Copy link
Copy Markdown

Tested head 797dbc6479, applied with git apply (with -C1, context shifted) on main fd4aeed483 together with the other 28 PRs of one batch (#22366, #22943, #23994, #24150, #24483, #14625, #16796, #17425, #20528, #22589, #22887, #14505, #16792, #17900, #18484, #20048, #20517, #21636, #22886, #23659, #23880, #24047, #24100, #24248, #16353, #21683, #21714, #22276). All applied without conflicts and the whole tree built.

Setup: Windows 11 Pro 10.0.26200, Ryzen 7 9800X3D, WinLibs GCC 15.2.0 r7, Release, BUILD_TESTING=ON. GPUs: NVIDIA GeForce RTX 3080 (driver 621.24) and the AMD Radeon iGPU of the CPU (gfx1036, driver 32.0.21036.18). No validation layer. iGPU run: ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 ANYPS5_GPU="AMD Radeon", agc_/video tests only.

tests RTX 3080 iGPU
agc_driver_float16_native, agc_driver_packed_float16_native (2 tests, matched by name to the test file this PR changes) all pass all pass

Whole batch: the full ctest -j 12 (6522 tests) on the RTX 3080 has 5 failing tests; the 4 that also fail on main fd4aeed483 are agc_driver_stencil_plane_memory, agc_driver_msaa_dcc_unwatch, agc_storage_write_back_host_retile, and pr_overlap_names, which needs a newer Python than my 3.10. Intermittent in this run (pass when rerun alone, or known flaky): agc_driver_store_over_untracked. Failing tests I could not trace to a single PR (reverting the likely candidates did not clear them): public_headers. The 2125 agc_/video tests on the iGPU have 2 failing: agc_driver_stencil_plane_memory, agc_driver_store_over_untracked (agc_driver_stencil_plane_memory also fails on main).

This is one combined tree, not a run of this PR alone.

AI-assisted: yes (Claude Code)

@Script-hpp

Copy link
Copy Markdown
Contributor

Tested on Intel Arc B390 (Mesa 26.2.7 ANV, Linux 7.2.10), PR head 797dbc6479 merged into main 8c254da48b, with ANYPS5_REQUIRE_VULKAN=1, ANYPS5_NO_SHADER_CACHE=1, VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation (layer 1.4.341, the loader log shows it inserted) and VK_LOADER_DEBUG=layer:

  • ctest -R '^agc_driver_float16_native$' -V: pass, no VUID- in the log (f16 native tests passed (327680 results, 2416 NaN results with another payload, fused f16 fma)).
  • Control: the changed test also passes on main on this device, with the same summary line. So ANV doesn't exercise the case this PR fixes; this run only shows the change doesn't break it here.

AI-assisted: yes (Claude Code)

@Helldiverr

Copy link
Copy Markdown
Contributor

GPU run on RDNA4 (gfx1201) with the AMD Windows driver and the validation layer. The rule the change applies holds on gfx1201: every NaN result of v_add_f16, v_sub_f16, v_subrev_f16 and v_mul_f16 is a NaN source with the quiet bit set. On this driver, though, the change is a no-op. main's native f16 path already returns no signaling NaN, so the merge equals main bit for bit, and the PR's stricter test also passes on main. A mutation shows that the new line does run on the native path here, and that the test catches it. The four focused tests pass 3 of 3 runs. No VUID-. One convention point below, about the debt edit.

What this run adds.

  • gfx1201, native:
    • Setup: tools/hw-oracle ran ten forms on 65,536 rows:
      • v_add_f16, v_sub_f16, v_subrev_f16 and v_mul_f16 as VOP2;
      • v_add_f16_e64 and v_sub_f16_e64 with clamp (with swapped operands for the sub);
      • v_mul_f16_e64 clamp;
      • v_add_f16, v_sub_f16 and v_mul_f16 again on a second operand pair.
        One operand of the first pair runs through all 65,536 halves. The others are the description's edge halves (including 0x00ff, 0x7dbe/0xfdbe and other signaling NaNs), random NaNs and random halves.
    • Modes: --denorm16 3 --round16 0 (the native path's mode), --ieee none --dx10-clamp none (gfx12 has neither field), and --fp16-overflow 0 and 1.
    • Results: 359,057 NaN results per run, 0 of them signaling.
      • In every non-clamp form, the result is the first NaN source in operand order with | 0x0200. That is 48,337 or 55,236 rows per form, depending on the operand pair. The subtrahend is negated first, and for v_subrev_f16 that is src0.
      • The clamp forms give 0x0000 for a NaN source.
      • So gfx1201 behaves like gfx1035 with IEEE_MODE set.
  • The recompiler, same rows:
    • Setup: HW_ORACLE_RUNTIME=vulkan, HW_ORACLE_TARGET=gfx1030, --dx10-clamp 1.
    • Runs: main and the merge, each at --ieee 1 with --fp16-overflow 0 and 1, and at --ieee 0.
    • Merge vs main: the merge equals main on all 655,360 results in all three modes.
    • Merge vs gfx1201 (--ieee 1):
      • 0 signaling results.
      • Every clamp and non-NaN result matches.
      • The NaN payload differs in two forms, the same way on main. v_subrev_f16 differs on 1,486 rows: the driver returns src1 where gfx1201 returns the negated src0. v_mul_f16 v7, v6 differs on 22,179 rows: the driver returns src1 quieted where gfx1201 returns src0. The new debt entry already says the payload is still the driver's.
    • --ieee 0, outside this change: this driver returns no signaling NaN on main or on the merge. gfx1035 in the description returns the signaling source unchanged in that mode. The PR leaves IEEE_MODE clear alone.

Code.

  • Fix: FloatInstructions.cpp:325 (at the head; :349 on the merge) sets 0x0200 on a native float16Native result whose magnitude is above 0x7c00, only when ieeeMode is set.
    • It sits after the FP16_OVFL clamp (:320-324) and before clampF16Bits, so a NaN can never come out of the overflow clamp.
    • quietNan16 (OperandAccess.cpp:434-436, on main) also checks ieeeMode, so the outer if only skips building the select.
    • The value comes from FPAdd16x2/FPMul16x2 of two zero-extended halves, so testing only the low half is enough.
  • Test: Float16Native.cpp:231-233 (at the head) requires a NaN in both the native and the emulated result to be quiet in the IEEE_MODE modes. It skips the forms whose name starts with v_fma. It needs <string_view>, which :13 now includes.
  • Debt edit: the PR adds its entry directly at docs/dev/debt/shader.md:169 (at the head). docs/dev/TechnicalDebt.md:7 on main says a pull request does not edit the debt files to add, change or remove entries; it adds a fragment docs/dev/debt/changes/<branch>.md with an ## add operation. Neither check_conventions.py --base 3f12e824a4 nor debt_fold.py --check flags it on the merge; both pass.
  • Checks: no code comments, nothing title-specific. check_conventions.py --base 3f12e824a4 and debt_fold.py --check pass on the merge.

Evidence.

  • Native, on hardware: the gfx1201 sweeps.
  • Self-consistency:
    • The recompiler sweeps.
    • The ctest runs.
    • The mutation.
  • What this device cannot show: a fix. This driver does not return the signaling NaN the description reports on gfx1035, so nothing changes here. The fix itself rests on the gfx1035 run in the description.
  • Not covered:
    • gfx1013.
    • IEEE_MODE clear on hardware: gfx12 cannot express it.
    • The v_fma_f16 family. The PR leaves it alone and records it in the debt entry. This device has VK_KHR_shader_fma (the test reports fused f16 fma), and the gap does not show here: a sweep of v_fma_f16 in two operand orders and v_fmac_f16 on the same rows, at --ieee 1, gives 0 signaling results, and the recompiler equals gfx1201 on all 173,021 NaN results.
    • SDWA forms: gfx12 has no SDWA.

Negative control and mutation.

  • Negative control: the PR's Float16Native.cpp on main passes 2 of 2 runs here, with the same summary as the merge: f16 native tests passed (327680 results, 605 NaN results with another payload, fused f16 fma). The test does not separate main from the change on this driver.
  • Mutation: applied to the merge, :349 clears 0x0200 (BitwiseAnd 0xfdff) instead of setting it. This shows the new line is on the native path that runs here.
mutation agc_driver_float16_native recompiler vs gfx1201, --ieee 1
quiet bit cleared fails: f16 native: dx10 ieee ovfl, v_add_f16 v10, v4, v5 with v4=0x02708000 v5=0xbb357efd v6=0x00000000 is the signaling NaN 0x00007cfd, which IEEE_MODE quiets 0 of 48,337 or 55,236 NaN-source rows equal in every non-clamp form; up to 54,663 signaling results per form

GPU. Head 797dbc6479, merged cleanly onto main 3f12e824a4:

ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation VK_LOADER_DEBUG=layer ctest --test-dir build -R "^(agc_driver_float16_native|agc_driver_sdwa_float_selectors|agc_driver_float16_modifiers|agc_driver_fp16_overflow)$" -V
run float16_native float16_modifiers fp16_overflow sdwa_float_selectors total
main passed passed passed passed 2.16 s
head 1 / 2 / 3 passed passed passed passed 1.69 / 1.66 / 1.70 s
negative control 1 / 2 (PR test on main) passed not run not run not run 1.36 / 0.81 s
mutation failed not run not run not run 1.33 s
  • GPU: every test and every sweep selected AMD Radeon AI PRO R9700 vendor=0x1002 device=0x7551 subgroup=64. Nothing was skipped.
  • The times are not a speed measurement.

Validation.

  • ctest logs: Insert instance layer "VK_LAYER_KHRONOS_validation" appears once per test in every log.
  • Sweep logs: the 7 agc_oracle_runner sweep logs ran with the same environment and show it once per dispatch.
  • No log contains was not found but was requested by env var VK_INSTANCE_LAYERS.
  • VUID- lines: 0 in every log.

Host:

  • GPU: AMD Radeon AI PRO R9700 (gfx1201, 1002:7551), driver 32.0.31044.16, Vulkan 1.4.349, reported subgroup size 64
  • Validation layer: Khronos validation layer 1.4.363 (LunarG SDK)
  • CPU: Ryzen 9 9950X3D
  • OS: Windows 11 Pro 26300
  • Toolchain: WinLibs GCC 15.2, Release
  • Commits: main 3f12e824a4, head 797dbc6479 (unchanged when rechecked)

AI-assisted: yes

@oneandonlydean
oneandonlydean merged commit 6b222c7 into boykopovar:main Nov 29, 2026
16 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agc libSceAgc* docs shader core/shader

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants