diff options
| author | WHOISJARDAS <144918410+WHOISJARDAS@users.noreply.github.com> | 2026-11-22 08:54:48 +0000 |
|---|---|---|
| committer | WHOISJARDAS <144918410+WHOISJARDAS@users.noreply.github.com> | 2026-11-22 15:36:20 +0000 |
| commit | e45c973ff0bbe44d5e50f7e5f7c78eda8457a694 (patch) | |
| tree | a4c494237aa5281f693e238c95728f164a3d411d /runtime/src/pe_loader.cpp | |
| parent | bd8fb7c9f544cabd91c1de55274644ba60e9d791 (diff) | |
Tests: don't judge cs_signed_zero_nan's -0 products on Apple GPUs (#1203)
MoltenVK returns +0 for -0 products with or without SignedZeroInfNanPreserve,
in out[0] (v_mul_f32), out[2] (v_pk_mul_f16) and out[3] (v_mul_f16). The mode
still fixes the three NaN checks on Apple. Seen on an Apple A18 Pro and an Apple
Paravirtual device in #664, tracked as #1203 / SHADER-182.
- check.py: judged_words() leaves those three words of cs_signed_zero_nan
unjudged when vk_compute_test's device line names an Apple GPU, and
words_match() compares the rest. The other five words still have to match,
and every other device judges all eight.
- run_gpu_tests.py: uses the same two functions and says which words weren't
judged.
- tests/test_shader_checks.py: tests for the Apple and non-Apple cases, the
NaN checks still judged on Apple, and run_gpu_tests' judge_cs_dump.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions