From d7fb0416e8327e847169bb49eb2ac29fd7a8cfc0 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Sun, 11 Oct 2026 18:48:40 +0400 Subject: docs: clarify native TEXM channel conversion --- docs/reference/texm.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/reference') diff --git a/docs/reference/texm.md b/docs/reference/texm.md index 9f2f23d..26fd8b8 100644 --- a/docs/reference/texm.md +++ b/docs/reference/texm.md @@ -31,9 +31,9 @@ struct TexmHeader32 { Короткие каналы расширяются до 8 bits повторением значимых bits. Для 888 служебный четвёртый byte сохраняется в raw mip, но не попадает в RGBA output. Native Ngi32 code confirms this layout: VA `0x10005930` packs `0xAARRGGBB` into -ARGB4444, while VA `0x1000F620`/`0x1000F70C` route 888/8888 through the byte-copy -path at `0x1000F730`, without a channel swizzle. On disk, little-endian bytes -are `[B,G,R,A]` for 8888 and `[B,G,R,X]` for 888. +ARGB4444. VA `0x1000F620`/`0x1000F70C` select the format-specific converter for +888/8888; the mip pointer is passed unchanged, without a channel swizzle. On +disk, little-endian bytes are `[B,G,R,A]` for 8888 and `[B,G,R,X]` for 888. ## Layout -- cgit v1.2.3