mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-08-09 17:39:08 +00:00
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.