Docs: the red-held A8 route in the runtime README; NVIDIA's 128-byte rows and its ordered renders as known gaps
README: a read-only A8Unorm texture over a buffer, on a device whose A8_UNORM image lacks a feature in linear or DRM_FORMAT_MOD_LINEAR tiling and whose R8_UNORM image lacks none, has R8Unorm's image read through (0,0,0,R). FAST-PATHS known gaps: the RTX 3090 lays linear rows at multiples of 128 bytes and reports an explicit plane asked at 192 at rows 256, so glyph-sized A8 textures at rows 16 to 448 that are no multiple of 128 stay shadows there (m3-max-21480's sweep); and on the 3090 the check of renders over pooled memory makes no image (verdicts unchecked), so a render target over padded rows in ordered memory stays a shadow there (m3-max-21392, m3-max-21480). Verified: the cited device runs; cargo fmt.
This commit is contained in:
1 parent
4ebcf02529
commit
daf22e11d1
2 files changed
+19
-2
No files matched your search
@@ -271,7 +271,12 @@ after it, and 0 of 80 with the device dropped first
|
||||
of one image over the same bytes of one import of host pages, which share it), which over a
|
||||
no-copy buffer's or dma-buf host pages may be of `VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT`
|
||||
(`DRM_FORMAT_MOD_LINEAR`, its one memory plane at the texture's `bytes_per_row`): ask its layout
|
||||
of memory plane 0.
|
||||
of memory plane 0. An `A8Unorm` texture over a buffer that only reads (no render, shader write or
|
||||
atomic usage; one level and one sample), on a device whose `A8_UNORM` image lacks a feature its
|
||||
optimal one has in linear tiling or in `DRM_FORMAT_MOD_LINEAR` (the RTX 3090 lists that
|
||||
modifier for no `A8_UNORM` image) and whose `R8_UNORM` image lacks none in either, has the image
|
||||
an `R8Unorm` texture over the same bytes has, of `R8_UNORM`, which its bindings read through
|
||||
`(0, 0, 0, R)` (`WorkCounts::alpha_textures_held_in_red`).
|
||||
- `CommandBuffer::encode_wait_for_vk_semaphore` and `encode_signal_vk_semaphore` order a command
|
||||
buffer against the consumer's own work.
|
||||
- An event's timeline semaphore, plain or shared, orders the consumer's submissions against
|
||||
|
||||
+13
-1
@@ -640,9 +640,21 @@ driver's. Each is open work.
|
||||
`minimumLinearTextureAlignmentForPixelFormat` answers 256. So an `RGBA16Float` 18x28 IOSurface
|
||||
plane at its 192-byte rows, and dma-buf planes at rows 384 or 1920 bytes apart, are shadows on
|
||||
the Radeon 780M (Mesa 26.2.6), where lavapipe lays its linear rows at those pitches and makes
|
||||
each explicit plane. The surface or the dma-buf
|
||||
each explicit plane. The RTX 3090 (620.70.06) is alike at multiples of 128 bytes: it lays an
|
||||
`A8Unorm` row of 100 texels 128 bytes apart, makes an explicit plane asked at rows 192 bytes
|
||||
apart with its rows reported 256 apart (which the runtime takes for none), and its
|
||||
`minimumLinearTextureAlignmentForPixelFormat` answers 128; glyph-sized `A8Unorm` textures at
|
||||
rows 16, 32, 64, 112, 208 or 448 bytes apart over a `Shared` buffer are shadows there. The
|
||||
surface or the dma-buf
|
||||
sets the pitch, not the runtime: a consumer that lays out a surface of its own can lay its rows
|
||||
at the alignment `Device::minimum_linear_texture_alignment_for_pixel_format` answers.
|
||||
- **On NVIDIA, a texture that renders over rows with bytes between them in memory only the
|
||||
device's ordered commands write is a shadow** (`shadowed-texture`, `BytesBetweenRows`): a
|
||||
`Private` buffer's, or a `Managed` one's own copy. Such a texture is in place where the
|
||||
device's check of renders over its pooled memory passed (`Device::ordered_renders_kept`), and
|
||||
on the RTX 3090 (620.70.06) that check makes no image of its own, its verdicts unchecked, so an
|
||||
`RGBA8Unorm` 38x8 render target at rows 256 bytes apart over either is a shadow there, where
|
||||
one that only reads is the driver's linear image in place.
|
||||
- **A copied host buffer costs O(its size) at every batch's completion that may have written it, and
|
||||
at every commit where its pages carry no log** (`copied.rs`, `copied-host-pages`), and again at
|
||||
the submission of each batch that waits for an event value its commit found not reached
|
||||
|
||||
Reference in new issue
Block a user