nak/nir: Add more helpers

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24998>
1 file changed