mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 07:18:17 +02:00
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:
parent
09c4ed4f2c
commit
f0c033ebbc
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue