zink: properly emit PhysicalStorageBufferAddresses cap
authorKarol Herbst <kherbst@redhat.com>
Sun, 15 Oct 2023 11:29:24 +0000 (13:29 +0200)
committerMarge Bot <emma+marge@anholt.net>
Sun, 15 Oct 2023 12:19:05 +0000 (12:19 +0000)
commit3fb822dbab0e58b9bc0fb31a0c3849556b0ec2ea
treef34e9dba6b87496a123aa8673510d3b948a6601e
parent74363973ffcff9859abd114ef922a225cffec139
zink: properly emit PhysicalStorageBufferAddresses cap

The PhysicalStorageBuffer64 addressing model requires this cap. Fixes
vulkan validation error.

Fixes: ddc5c304899 ("zink: handle global and scratch vars")
Signed-off-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25736>
src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c