mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
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:
parent
faadac57d5
commit
3b3b157961
1 changed files with 0 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue