e47a9938d3
Larger arrays get lowered to scratch access later, as that turns out to be faster, while the if-chain is actually faster for arrays of 2 elements. Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7726>