Skip to content

Apple's open-source XNU kernel on Android phones: its own loader and drivers, Metal on the Adreno. Runs from RAM; a reboot gives the phone back to Android.

C

air: the patch is current against main, checked here and not relayed

vcvkk586880711e3e
diff --git a/tools/mesa/ir3-round-default.patch b/tools/mesa/ir3-round-default.patch
index 57867ff..0c68129 100644
--- a/tools/mesa/ir3-round-default.patch
+++ b/tools/mesa/ir3-round-default.patch
@@ -86,9 +86,16 @@ That last one is reasoning from the mechanism and is NOT measured here: this
port's harness packs every half result into a float4, so it cannot reach an
f2f16 either. It is offered as a thing to check, not as a result.
-The block is byte-identical in Mesa 26.2.5, the newest release at the time of
-writing, checked by extracting that one file from archive.mesa3d.org, so this is
-not an artefact of the 25.0.7 this port pins. Worth sending upstream.
+Checked against Mesa 25.0.7 (this port's pin), the 26.2.5 release, and main as
+fetched on 20 October 2026: the rounding block of create_cov() is 750 characters
+in each and character-for-character identical in all three, with no trailing
+else. So this is not an artefact of the pin, and not something a newer release
+has already addressed. (ROUND_ZERO = 0 in instr-a3xx.h was verified in the pin
+and in 26.2.5; only ir3_compiler_nir.c was taken from main, so that header is
+not claimed for it.)
+
+The hunk applies cleanly to main's own copy of the file, tested with
+patch --dry-run against it rather than against the pin, so it needs no rebase.
--- a/src/freedreno/ir3/ir3_compiler_nir.c
+++ b/src/freedreno/ir3/ir3_compiler_nir.c