Repository navigation
Conversation
This was referenced Oct 28, 2026
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.
Projected alpha-cutout shaders need late depth writes on Metal only when a real writable depth attachment is bound. Cache separate bounded colour/depth variants through the exact native constructor, avoiding duplicate companion programs and redundant shader switches. Keep the original public userdata, uniform writes, native returns, resource lifetime and graphics stack owners.
Admit lazy native Shader method interposition only after exact predecessor attestation; intervening foreign value owners keep their original-program fallback. Retain samplers declared after valid position functions through stage-scoped helper declarations/definitions.
Validation: actual native Metal contract: 96 checks on the fork combined with main a8833b3; actual offered-component Metal contract: 96 checks; separate foreign-value-owner fixture: 79; CPU alpha-depth 69, sampler guard 16, planner 48 and platform policy 40. The deliberately weaker owned-host predicate fails the foreign-owner ownership assertion; preceding pixel comparisons pass. All 252 current-main native source groups pass. The actual unchanged-consumer rain run on combined main a8833b3 completes 120 sampled and 120 unprofiled warm frames: 59.712ms mean (~16.7FPS), draw 53.697ms, with a 3133.971ms cold shader-compilation spike. That spike and the 60 FPS target remain unresolved. Field-program specialization is active, but paper-surface is disabled and the consumer's packed-range path is inactive (5370 native indexed draws). This does not establish 60 FPS: the preceding warm Third-Person rainy view averaged 68.409 ms with 5370 indexed native draws. No private mod, graphics quality or player profile changes.
Contributions by Roxas2712 — https://github.com/Roxas2712. Original additions are offered under LICENSE-ROXAS2712.md, including specific integration/distribution permission for Cedric / UNDERdecoded with visible credit. Existing upstream/third-party licences and rights remain intact.
Depends on the offered Metal branch compiler #337. Includes the native alpha-depth foundation and explicit install on the actual older public component. This is a dependent offered stack; current upstream-main composition and complete release qualification remain open.