WIP because test coverage is scarce. Known bug is dynamic LDS only
allocated in kernels will be missing abs metadata and from the frame
attribute.
Approach will be to use the precisely calculated frame layout from the previous
pass instead of recompute an approximation to it.
Just say kernels, don't spell out the one that we only try to handle in random places