upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/scripts/dev.py
diff options
context:
space:
mode:
authorhugo <63666848+hugo0024@users.noreply.github.com>2026-11-24 22:12:21 +0800
committerhugo <63666848+hugo0024@users.noreply.github.com>2026-11-28 12:44:46 +0800
commit6064cbbb49b3fddaa44608a984ac06b44f511fa6 (patch)
treea7ebf3d8d4f1cf212fdd5321b95a13215f0e5ab7 /scripts/dev.py
parentef8fbf09f3ba00460e1c08102b096b76702a70b6 (diff)
tests: build.py and check.py pick the f16 interpolation fallback from the device (TEST-CHECK-F16-FALLBACK)
run_gpu_tests.py and make_game.py translate with --f16-interp-fallback by themselves where tools/vk_subgroup_info.py reports per_vertex_inputs false (MoltenVK). build.py and check.py only did so with LEONIDA_F16_INTERP_FALLBACK=1, so the two-step form on a Mac built ps_ij_computed and ps_interp_f16_high for PerVertexKHR inputs and check.py reported both as failed. Both scripts now ask the device when the variable is unset, the way they already do for the barycentric fallback, and take 1/0 (true/false, yes/no, on/off) as run_gpu_tests.py does. On an Apple M5 (MoltenVK 1.4.2) check.py goes from 175 of 220 pass, 39 skipped, 6 failed to 176 pass, 40 skipped, 4 failed: ps_interp_f16_high passes and ps_ij_computed is a SKIP. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Diffstat (limited to 'scripts/dev.py')
0 files changed, 0 insertions, 0 deletions