Repository navigation
asahi: bring the A12 (G11) support up to badapple 74ef26a - #45
Merged
Merged
Conversation
The A12 port came from an older badapple snapshot (61bd066f, through Project Cascadia). badapple has since made G11 pass dEQP-GLES3 (44523 tests) and run Vulkan through Honeykrisp (vkcube, multisampling) on the iPhone XS Max. Take the difference between the two versions of its patch: - compiler: G11 sample results stay in r0-r31 under early kill, LOD queries honour sampler clamps and the mip filter, gathers and min-LOD clamps without hardware support, coherent memory through atomics, no fp16 denormal modes, coherent loads skip the zero page; - GL: drops draws past 16 texture states, compressed mip copies, the tilebuffer copy in place after clears; - Vulkan: multisampling, sparse residency refused, big binds split into at most 256 operations a call (the A12 kernel's limit); - device: G11 heap budget. [Orchard: from kiki/badapple@74ef26a patches/mesa-0001-asahi-g11.patch; applied as the difference to the 61bd066f patch (via rzxvx/Project-Cascadia@566808a devices/a12/mesa/mesa-0001-asahi-g11.patch, both on Mesa 24a0a3b) onto our main; all 24 files applied without conflicts, our capture heap kept.] Assisted-by: LLM
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.
Part of the badapple import (https://forgejo.toe.quest/kiki/badapple): the delta from the old badapple patch (61bd066f, via Cascadia) to current badapple 74ef26a, applied with no conflicts: shader compiler fixes from the dEQP-GLES3 run (badapple: 44523 pass on the XS Max), GL fixes incl. in-place tilebuffer copies, Vulkan (Honeykrisp) MSAA, binds split at the A12 kernel's 256 limit, the A12 GPU heap budget. Author kieroid ([Orchard: from kiki/badapple@74ef26a …], no sign-off: for orchard#388).
Order: after the packages PR (asahi Vulkan in the PKGBUILD), and together with the linux badapple GPU refresh it assumes. Not compiled locally (Linux DRM headers); CI compiles once packages main has asahi.