On the RTX 5080 the decode engine sat idle 10-24% of each stream's time
(measured: 104-280 us p50 between decodes against 406-1680 us of decode):
every decode waited for the copy out of the picture before it, on the
reserved queue, and so did the event's signal batch on the decode queue,
since a copy without unified layouts moves a DPB picture's layout that the
next decode reads.
Where the device has VK_KHR_unified_image_layouts' unifiedImageLayoutsVideo
(now an optional extension of the platform's device; the 5080's 615.71
driver has it) and the copies run on the reserved queue, a decode now waits
only for the last copy out of the image it writes, sets up the free slot
copied out of longest ago, in a session of one more slot where the device
has it, and the event's signal goes on the reserved queue behind the copy.
A decode's value is signalled by a batch of no work after it that also
waits for the copy before it, so the shared timeline is still signalled in
order when a decode ends before the copy before it.
Devices without the feature, or with copies on the decode queue or a lent
queue, keep the old order. Unit tests run the order on a fake GPU: overlap
leaves the decode queue no idle tick, and a decode signalling its own value
would put the timeline out of order.