zink: use Aligned with global load/store ops
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Mon, 17 Oct 2022 15:49:05 +0000 (11:49 -0400)
committerMarge Bot <emma+marge@anholt.net>
Thu, 24 Aug 2023 12:44:22 +0000 (12:44 +0000)
commitdb41d62be99655893f5b54794326cd5c7cbfd79e
treeed7f5b11d3b29c0022e3a77bbdb3ea25010f1520
parent2ff560514b477decdd0278f0ff228785c10e774d
zink: use Aligned with global load/store ops

this is required by spec

Fixes: ddc5c304899 ("zink: handle global and scratch vars")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24859>
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