libretro: Vulkan renderer support
This commit is contained in:
parent
218f6721d3
commit
b9ffca1ddf
16 changed files with 431 additions and 36 deletions
|
|
@ -232,6 +232,15 @@ void SafeDestroySampler(VkSampler& samp)
|
|||
}
|
||||
}
|
||||
|
||||
void SafeDestroySemaphore(VkSemaphore& sem)
|
||||
{
|
||||
if (sem != VK_NULL_HANDLE)
|
||||
{
|
||||
vkDestroySemaphore(g_vulkan_context->GetDevice(), sem, nullptr);
|
||||
sem = VK_NULL_HANDLE;
|
||||
}
|
||||
}
|
||||
|
||||
void SafeFreeGlobalDescriptorSet(VkDescriptorSet& ds)
|
||||
{
|
||||
if (ds != VK_NULL_HANDLE)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue