spirv: Add a vtn_block() helper

Cherry-pick'd from 8c5c65d0d6a64a3bcc057e5cf61a94eda4b72f86

Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3820>
Change-Id: Ib27f1aedc19d8b009793dbe248ee6e5325d8fe38
Reviewed-on: https://fuchsia-review.googlesource.com/c/third_party/mesa/+/403112
Reviewed-by: John Bauman <jbauman@google.com>
1 file changed