mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 21:40:08 +01:00
nvk: Free owned_gart_mem correctly
Fixes:fbe171638e("nvk: add gart forced cmd pool side buffer.") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34127> (cherry picked from commit90b2137ac5)
This commit is contained in:
parent
558a7d92d5
commit
c84a792c96
2 changed files with 2 additions and 2 deletions
|
|
@ -2304,7 +2304,7 @@
|
|||
"description": "nvk: Free owned_gart_mem correctly",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "fbe171638ebb2eb8d60b853e921902c068c5be98",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ nvk_destroy_cmd_buffer(struct vk_command_buffer *vk_cmd_buffer)
|
|||
nvk_descriptor_state_fini(cmd, &cmd->state.cs.descriptors);
|
||||
|
||||
nvk_cmd_pool_free_mem_list(pool, &cmd->owned_mem);
|
||||
nvk_cmd_pool_free_mem_list(pool, &cmd->owned_gart_mem);
|
||||
nvk_cmd_pool_free_gart_mem_list(pool, &cmd->owned_gart_mem);
|
||||
util_dynarray_fini(&cmd->pushes);
|
||||
vk_command_buffer_finish(&cmd->vk);
|
||||
vk_free(&pool->vk.alloc, cmd);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue