forked from MoonsideGames/Refresh
some cleanup
parent
5b3fa07790
commit
08c4f8a24f
|
@ -3280,8 +3280,10 @@ static void VULKAN_DestroyDevice(
|
||||||
|
|
||||||
VULKAN_INTERNAL_DestroyBuffer(renderer, renderer->dummyVertexUniformBuffer);
|
VULKAN_INTERNAL_DestroyBuffer(renderer, renderer->dummyVertexUniformBuffer);
|
||||||
VULKAN_INTERNAL_DestroyBuffer(renderer, renderer->dummyFragmentUniformBuffer);
|
VULKAN_INTERNAL_DestroyBuffer(renderer, renderer->dummyFragmentUniformBuffer);
|
||||||
|
VULKAN_INTERNAL_DestroyBuffer(renderer, renderer->dummyComputeUniformBuffer);
|
||||||
VULKAN_INTERNAL_DestroyBuffer(renderer, renderer->vertexUBO);
|
VULKAN_INTERNAL_DestroyBuffer(renderer, renderer->vertexUBO);
|
||||||
VULKAN_INTERNAL_DestroyBuffer(renderer, renderer->fragmentUBO);
|
VULKAN_INTERNAL_DestroyBuffer(renderer, renderer->fragmentUBO);
|
||||||
|
VULKAN_INTERNAL_DestroyBuffer(renderer, renderer->computeUBO);
|
||||||
|
|
||||||
/* We have to do this twice so the rotation happens correctly */
|
/* We have to do this twice so the rotation happens correctly */
|
||||||
VULKAN_INTERNAL_PostWorkCleanup(renderer);
|
VULKAN_INTERNAL_PostWorkCleanup(renderer);
|
||||||
|
@ -3379,6 +3381,12 @@ static void VULKAN_DestroyDevice(
|
||||||
NULL
|
NULL
|
||||||
);
|
);
|
||||||
|
|
||||||
|
renderer->vkDestroyDescriptorSetLayout(
|
||||||
|
renderer->logicalDevice,
|
||||||
|
renderer->emptyComputeImageDescriptorSetLayout,
|
||||||
|
NULL
|
||||||
|
);
|
||||||
|
|
||||||
renderer->vkDestroyDescriptorSetLayout(
|
renderer->vkDestroyDescriptorSetLayout(
|
||||||
renderer->logicalDevice,
|
renderer->logicalDevice,
|
||||||
renderer->vertexParamLayout,
|
renderer->vertexParamLayout,
|
||||||
|
@ -3391,6 +3399,12 @@ static void VULKAN_DestroyDevice(
|
||||||
NULL
|
NULL
|
||||||
);
|
);
|
||||||
|
|
||||||
|
renderer->vkDestroyDescriptorSetLayout(
|
||||||
|
renderer->logicalDevice,
|
||||||
|
renderer->computeParamLayout,
|
||||||
|
NULL
|
||||||
|
);
|
||||||
|
|
||||||
VULKAN_INTERNAL_DestroySwapchain(renderer);
|
VULKAN_INTERNAL_DestroySwapchain(renderer);
|
||||||
|
|
||||||
if (!renderer->headless)
|
if (!renderer->headless)
|
||||||
|
|
Loading…
Reference in New Issue