rt docs: an undeclared formatless write to a texture buffer cites the Vulkan rule it leaves

The known-gaps bullet and Gap::StorageElement's doc name the undeclared argument-buffer or
resource-ID write to a texture buffer whose format's buffer features lack the formatless write
bit as outside Vulkan's valid usage (VUID-vkCmdDispatch-OpTypeImage-07029), beside the image
precedent for the undeclared formatless read: the atomic's R32ui class and the formatless class
are one storage texel-buffer element (pipeline/link.rs identity_set, binding 6 for every class of
the type; rt arrays.rs STORAGE_TEXELS_BINDING).
This commit is contained in:
Anees Iqbal committed 2026-11-21 09:23:57 -08:00
1 parent 139d9ff4f6
commit ffe36113a1
2 files changed
+6 -3

No files matched your search

+5 -2
View File
@@ -1510,8 +1510,11 @@ made, with no lock, and never rewritten for layouts.
through `access::read_write` where they lack the read bit, is `Gap::StorageElement`
(`VUID-vkCmdDispatch-OpTypeImage-07029`, `-07030`), whatever its format; so is, with no slot,
one that may reach it beyond its slots after `use_resource` declared a write of it where they
lack the write bit. A write through a resource ID with no such declaration is a write without
a format outside Vulkan's valid usage there, as a read is. The UHD Graphics 630's Windows
lack the write bit. A write through an argument buffer or a resource ID with no such
declaration is outside documented Metal and is not refused: where they lack the write bit it
writes the texture buffer's storage element without a format, outside Vulkan's valid usage
(`VUID-vkCmdDispatch-OpTypeImage-07029`), as such a read is (`-07030`), and Vulkan does not
define what it does. The UHD Graphics 630's Windows
driver (101.2145) answers neither bit for any format: there a texture buffer a function writes
or reads through `access::read_write` is refused, but at a slot a texture atomic updates, and
one it reads through `access::read` runs.
+1 -1
View File
@@ -1355,7 +1355,7 @@ pub enum Gap {
/// resource ID with no such declaration is not found: Metal documents no write to it
/// (`useHeap:` declares its heap's resources read only); its writes are dropped, but a texture
/// buffer's that the device cannot write without a format, which are outside Vulkan's valid
/// usage. A read there of a storage element the device cannot read without a format is not
/// usage (`VUID-vkCmdDispatch-OpTypeImage-07029`). A read there of a storage element the device cannot read without a format is not
/// found either (the crate's README, known gaps).
///
/// Basis: ours (the storage element through a view of the nearest format whose storage Vulkan