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:
parent
591eed30b2
commit
ca861bd6f4
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue