@thesolidpixel the alternative approach that I was considering previously would still work, but it's only good for 2D blocks, so you still need the general case for 3D:
for that one, the idea was that the addresses within each row of the weight grid are increasing.
Do 4 loads, one at [top_left], one at [top_left + 1], one at [top_left + W] and one at [top_left + W + 1], apply the same (regular) shuffle to all of them, then do the linear combine.