Runtime docs: a partial copy from a buffer into a texture on RADV, a known gap
A copy from a buffer into part of a one-sample colour texture can leave one aligned 4 x 2 cell of the texture's earlier contents on the Radeon 780M under RADV (Mesa 26.2.6), measured on R8Unorm at 1920 x 1080 only: in proof job m3-max-76165, refills of the bottom band of 1920 x 216 tore 17 of 4000 through rt and 9 of 4000 in plain Vulkan on rt's create info; refills of 480 x 216 rectangles of a 4 x 5 grid in turn, 1 of 4000 through rt and 0 of 4000 plain, the bottom band reached in 800 of them. A whole-level copy discards first and does not (0 of 4000 through rt). No recording form covers a partial copy: no layout of the copy and no barrier stopped the whole-refill form (job m3-max-76144).
This commit is contained in:
1 parent
c364eddb37
commit
064bb96450
1 file changed
+8
@@ -3049,6 +3049,14 @@ while the driver's exit handler waited on a lock, with every runtime thread alre
|
||||
range is refused alike (`Gap::OverlappingCopy`): the device lays the heap texture's texels out
|
||||
as it chooses, and Metal leaves the contents of aliased heap resources undefined, so nothing is
|
||||
emulated.
|
||||
- Measured on R8Unorm at 1920 x 1080 on a Radeon 780M under RADV (Mesa 26.2.6): a copy from a
|
||||
buffer into part of a one-sample colour texture (`copy_from_buffer`; `replace_region` of part
|
||||
of a texture records the same copy, not measured) can leave one aligned 4 x 2 cell of the
|
||||
texture's earlier contents, in about 4 of 1,000 copies whose region covers the texture's last
|
||||
56 rows. A copy of a whole level and slice does not, as it discards the earlier contents first.
|
||||
A driver fault: the same copy in plain Vulkan does it, and the validation layer, with its
|
||||
synchronization checks, reports nothing on the same calls refilling the whole texture. Other
|
||||
sizes and formats of partial copies are not measured.
|
||||
|
||||
## Compute pipeline states
|
||||
|
||||
|
||||
Reference in new issue
Block a user