mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
vk/meta: Destroy shader modules
This commit is contained in:
parent
3460e6cb2f
commit
b1fcc30ff0
1 changed files with 3 additions and 0 deletions
|
|
@ -141,6 +141,7 @@ anv_device_init_meta_clear_state(struct anv_device *device)
|
|||
},
|
||||
&device->meta_state.clear.pipeline);
|
||||
|
||||
anv_DestroyShaderModule(anv_device_to_handle(device), fsm);
|
||||
anv_DestroyShader(anv_device_to_handle(device), fs);
|
||||
}
|
||||
|
||||
|
|
@ -476,7 +477,9 @@ anv_device_init_meta_blit_state(struct anv_device *device)
|
|||
},
|
||||
&device->meta_state.blit.pipeline);
|
||||
|
||||
anv_DestroyShaderModule(anv_device_to_handle(device), vsm);
|
||||
anv_DestroyShader(anv_device_to_handle(device), vs);
|
||||
anv_DestroyShaderModule(anv_device_to_handle(device), fsm);
|
||||
anv_DestroyShader(anv_device_to_handle(device), fs);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue