zink: heap-allocate samplers objects

Erik Faye-Lund requested to merge kusma/mesa:zink-32bit-sampler into master

VkSampler is 64-bit even on 32-bit systems, so casting it to a pointer is a bad idea there. So let's heap-allocate the sampler-object instead.

Signed-off-by: Erik Faye-Lund erik.faye-lund@collabora.com Closes: #2017 (closed)

Edited by Erik Faye-Lund

Merge request reports