radv/meta: add common shader vertex generation function