update parallel rdp

This commit is contained in:
Logan McNaughton
2022-05-29 18:33:47 -06:00
parent 37f61aef57
commit b96f789d1a
108 changed files with 58317 additions and 109283 deletions
@@ -1,4 +1,4 @@
/* Copyright (c) 2017-2020 Hans-Kristian Arntzen
/* Copyright (c) 2017-2022 Hans-Kristian Arntzen
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
@@ -175,7 +175,6 @@ void CommandPool::trim()
table->vkFreeCommandBuffers(device->get_device(), pool, secondary_buffers.size(), secondary_buffers.data());
buffers.clear();
secondary_buffers.clear();
if (device->get_device_features().supports_maintenance_1)
table->vkTrimCommandPoolKHR(device->get_device(), pool, 0);
table->vkTrimCommandPool(device->get_device(), pool, 0);
}
}