projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f4483b
)
radv: Free empty_cs on device destruction.
author
Bas Nieuwenhuizen
<bas@basnieuwenhuizen.nl>
Mon, 20 Feb 2017 01:22:39 +0000
(
02:22
+0100)
committer
Bas Nieuwenhuizen
<bas@basnieuwenhuizen.nl>
Tue, 21 Feb 2017 08:18:50 +0000
(09:18 +0100)
Signed-off-by: Bas Nieuwenhuizen <basni@google.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_device.c
patch
|
blob
|
history
diff --git
a/src/amd/vulkan/radv_device.c
b/src/amd/vulkan/radv_device.c
index 3d0e74273e423d73083818c16cafbd5f91867cd4..222fc7ae77a5a6b43c33635f99f7b362f46d4ed2 100644
(file)
--- a/
src/amd/vulkan/radv_device.c
+++ b/
src/amd/vulkan/radv_device.c
@@
-993,6
+993,8
@@
void radv_DestroyDevice(
radv_queue_finish(&device->queues[i][q]);
if (device->queue_count[i])
vk_free(&device->alloc, device->queues[i]);
+ if (device->empty_cs[i])
+ device->ws->cs_destroy(device->empty_cs[i]);
}
radv_device_finish_meta(device);