Files
FFmpeg/libavcodec/vulkan
Lynne 720bc0b916 vulkan/seg_gather: avoid scratch spills and serial prefix summing
Compilers lowered the funnel indexer to scratch (spilling the data),
during the tight copy loop into something that spills every load.
Just use a case to select from the 2 source vectors.

Summing the offsets at the end took far longer than expected and
blocked all invocs. Just use a trivial subgroup add + atomic add
to finish the sum quickly and with less contention.
2026-07-12 13:34:57 +09:00
..