zink: fix layout(local_size_variable) for vk1.3+
authorJulia Tatz <tatz.j@northeastern.edu>
Fri, 26 May 2023 00:28:45 +0000 (20:28 -0400)
committerMarge Bot <emma+marge@anholt.net>
Wed, 31 May 2023 02:48:33 +0000 (02:48 +0000)
commit2f3841339cd85f1953be2613688b86e7372e946c
treee876fed5bab53c5d6fd59793c13238a9f9ec5845
parent112e16b14daa608127c6ef0f027f0c38899093d1
zink: fix layout(local_size_variable) for vk1.3+

Use the correct exec-mode op for LocalSizeId
Corrected typo `gl_LocalGroupSize` -> `gl_LocalGroupSizeARB`

Fixes: 99bd1eaf ("zink: use spir-v 1.6 local-size when needed")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23244>
src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c
src/gallium/drivers/zink/nir_to_spirv/spirv_builder.c
src/gallium/drivers/zink/nir_to_spirv/spirv_builder.h