nvk: Don't set pipeline->base.type manually

It's already set by nvk_pipeline_zalloc().

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26241>
This commit is contained in:
Faith Ekstrand 2023-11-16 16:08:40 -06:00 committed by Marge Bot
parent faadac57d5
commit 3b3b157961

View file

@ -314,8 +314,6 @@ nvk_graphics_pipeline_create(struct nvk_device *dev,
if (pipeline == NULL)
return vk_error(dev, VK_ERROR_OUT_OF_HOST_MEMORY);
pipeline->base.type = NVK_PIPELINE_GRAPHICS;
struct vk_graphics_pipeline_all_state all;
struct vk_graphics_pipeline_state state = {};
result = vk_graphics_pipeline_state_fill(&dev->vk, &state, pCreateInfo,