Metal 4: promote locally validated MobileGL hotpath to master - #23
Merged
Conversation
…ified-eval-generated]
Scope Metal 4 native state to device lifetime
…-fix fix: stabilize Metal 4 Sodium terrain geometry
Adopt capability-governed hosted Metal validation on feature/mobilegl-inspired-hotpath, including strict offscreen GPU gates, iPhoneOS cross-build, iOS Simulator runtime coverage, static policy auditing, and negotiated-capability handling for Metal 4 fallback semantics.
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.
What
Promote
feature/mobilegl-inspired-hotpath(26e5adff3fbd5384b16ea9875c354c3a008a695a) tomaster.Why
This is the current Metal 4 renderer/hotpath branch with validated render-command packets, argument tables, bounded terrain ICB, residency, and production Iris-on-Metal integration.
Local Apple GPU validation
New Worldpassed Sodium-only, BSL, and Potato lanes. Each lane used the physical M1 Pro with Metal 4 main renderer closure, 17/17 render-contract captures, 0 failed captures, 0 dropped captures, 0 legacy encoder violations, and an empty validation-failure list. BSL and Potato were loaded throughMetalWorldRenderingPipeline; local fixture archives were used only as test inputs.mobilegl-completeadmitted argument tables, render-command packet, terrain ICB, and pipeline prewarm; terrain ICB attempts/accepted batches/allocations matched, draws were positive, and fallback/zero-allocation counters were zero.accepted-candidate; correctness passed, no runtime failures, no guardrail regressions. Stable improvements included average FPS +3.69%, FPS median +1.83%, GPU p95 -0.38%, GPU p99 -5.49%, Java-to-native FFM calls/frame -9.85%, and native setter operations/frame -5.80%.Checks and scope
No source changes were made during local validation; the PR head is the already-published SHA above. Generated local logs, copied world data, and shader-pack fixtures are not part of the PR.
The performance run did not produce complete paired structured values for resident memory or render-pass store/load bytes, so those metrics are not claimed. The 1% low FPS metric was not an improvement; the acceptance decision is based on the repository's declared gate and the stable metrics listed above.