zink: No need to use a 2-sample dummy image for bindless without null descs.

This appears to be some leftover copy and paste or something, should be
1-sample just like other dummy usages.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19126>
This commit is contained in:
Emma Anholt 2022-10-17 15:00:11 -07:00 committed by Marge Bot
parent 09c4ed4f2c
commit f0c033ebbc

View file

@ -1982,7 +1982,7 @@ zero_bindless_descriptor(struct zink_context *ctx, uint32_t handle, bool is_buff
struct zink_buffer_view *null_bufferview = ctx->dummy_bufferview;
*bv = null_bufferview->buffer_view;
} else {
struct zink_surface *null_surface = zink_csurface(ctx->dummy_surface[is_image]);
struct zink_surface *null_surface = zink_csurface(ctx->dummy_surface[0]);
VkDescriptorImageInfo *ii = &ctx->di.bindless[is_image].img_infos[handle];
ii->sampler = VK_NULL_HANDLE;
ii->imageView = null_surface->image_view;