Skip to content

zink: fix crash when restoring sampler-states

When I changed to heap-allocated sampler-objects, I missed the code-path that restores sampler-states after the blitter; it needs an array of pointers, not an array of VkSampler objects to behave.

This fixes spec@arb_texture_cube_map@copyteximage for me.

Signed-off-by: Erik Faye-Lund erik.faye-lund@collabora.com Fixes: 5ea78795 ("zink: heap-allocate samplers objects")

Merge request reports