Repository navigation
build.py, check.py: take the f16 interpolation fallback from the device, as run_gpu_tests.py does; no false failures on MoltenVK (TEST-CHECK-F16-INTERP-AUTO) - #2176
Draft
Tauwni wants to merge 3 commits into
Conversation
… interpolation fallback, as run_gpu_tests.py Unset, LEONIDA_F16_INTERP_FALLBACK only turned the fallback on in run_gpu_tests.py. A standalone build.py + check.py run on MoltenVK translated ps_interp_f16_high and ps_ij_computed with PerVertexKHR inputs it can't compile, and both failed (vk_harness returned no pixels). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Partly verified on main a73a57e with Mesa llvmpipe (Mesa 25.2.8, LLVM 20.1.2, Ubuntu 24.04 x86-64, no GPU), llvm-mc 21.1.8, LEONIDA_F16_INTERP_FALLBACK unset. Merges cleanly into main.
Note for review: it conflicts with #1444 in runtime/test/shaders/build.py, so whichever lands later needs a rebase, and a full standalone run needs both. AI-assisted: yes (Claude Code) |
4 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Claimed in the coordination issue as: TEST-CHECK-F16-INTERP-AUTO (#1608 (comment))
What and why
scripts/run_gpu_tests.pyturns on--f16-interp-fallbackby itself wheretools/vk_subgroup_info.pyreportsper_vertex_inputs: false(MoltenVK can't convertPerVertexKHRinputs to Metal).runtime/test/shaders/build.pyandcheck.pytook it only fromLEONIDA_F16_INTERP_FALLBACK=1. So the standalonebuild.py+check.pyrun thatdocs/testing.mddescribes fails two fixtures on a Mac:Both were translated with
PerVertexKHRinputs that MoltenVK can't compile.With this change,
build.pyandcheck.pyask the same question asrun_gpu_tests.py. The variable still forces the answer either way, and now also takes0.build.pycaches the answer, asrun_gpu_tests.pydoes.docs/testing.mdis updated to match.Tested
Apple M3, macOS 26.5.1.
build.py+check.pyonmainwith this change and the open fixes the run needs (#1444 sobuild.pygets pastcs_dpp_cmp), test programs rebuilt:ps_interp_f16_high,ps_ij_computedFAILps_interp_f16_highok,ps_ij_computedSKIPVK_KHR_fragment_shader_barycentric)ps_interp_f16_highok,ps_ij_computedSKIPps_interp_f16_highok,ps_ij_computedSKIPThese now match what
run_gpu_tests.pyreports on the same three drivers. No other fixture changes.tests/test_run_gpu_tests.py,tests/test_shader_checks.pyand the docs tests are OK.GPUs tested: Apple M3 (10-core GPU), MoltenVK 1.4.2 and KosmicKrisp (Mesa 26.3.1), macOS 26.5.1 (25F80); llvmpipe (Mesa 26.3.1)
AI-assisted: yes (Claude Code)
Checklist
mainand merges cleanly.🤖 Generated with Claude Code