Docs: a written texture over host pages is a shadow by width only outside 1, 2, 4, 8 and 16 bytes

Two passages still said a shader's writes of 1- or 2-byte texels keep a texture over host pages a
shadow: the shadowed-texture entry of docs/API.md's degrade-notice catalogue and the host-pages
bullet of docs/FAST-PATHS.md's costs. The device's check now stores those widths too; a texture
is a shadow by its width only for a width outside the ones it stores.

Verified: docs only; grep finds no other passage that names 1- or 2-byte written texels as a
shadow's cause.

(cherry picked from commit 90bd51d7a55257a40e115c55da2a53c7bb0b4f80)
This commit is contained in:
Anees Iqbal committed 2026-11-08 01:47:32 -08:00
1 parent f1a1758046
commit b1e2f06e9e
2 files changed
+6 -4

No files matched your search

+3 -2
View File
@@ -1576,8 +1576,9 @@ bound.
32 MiB lies in), where an image bound to them would start `UNDEFINED` and Vulkan lets its layout
transitions (its first move among them) read and write any byte bound to it, where Metal keeps
every CPU write, and the device takes no image in place there: the policy keeps the exact form
(`HostPageTexturePolicy::Shadow`), a shader writes the texture's texels of 1 or 2 bytes, which
the device's check stores none of, the device's check that the operations of an access of the
(`HostPageTexturePolicy::Shadow`), a shader writes the texture's texels of a width the
device's check stores none of (none of 1, 2, 4, 8 and 16 bytes), the device's check that the
operations of an access of the
texture (the first move; a render pass's load and store; a kernel's storage writes) keep every
byte (but, for a kernel's writes of a texture over a buffer's rows whose padding is free, that
padding: section 10, **Kernels**) over that kind of pages, for texels that share a line of the