v3dv: drop unnecessary memset

We are already zeroing when we allocate the descriptor set layout
memory with vk_object_zalloc.

Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15634>
This commit is contained in:
Iago Toral Quiroga 2022-03-29 11:48:54 +02:00 committed by Marge Bot
parent 591eed30b2
commit ca861bd6f4
1 changed files with 0 additions and 3 deletions

View File

@ -606,9 +606,6 @@ v3dv_CreateDescriptorSetLayout(VkDevice _device,
return vk_error(device, result);
}
memset(set_layout->binding, 0,
size - sizeof(struct v3dv_descriptor_set_layout));
set_layout->binding_count = num_bindings;
set_layout->flags = pCreateInfo->flags;
set_layout->shader_stages = 0;