MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Tools / CreatePrivateDataSlot

Function CreatePrivateDataSlot

icd/generated/function_definitions.h:1197–1203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1195 return VK_SUCCESS;
1196}
1197static VKAPI_ATTR VkResult VKAPI_CALL CreatePrivateDataSlot(VkDevice device, const VkPrivateDataSlotCreateInfo* pCreateInfo,
1198 const VkAllocationCallbacks* pAllocator,
1199 VkPrivateDataSlot* pPrivateDataSlot) {
1200 unique_lock_t lock(global_lock);
1201 *pPrivateDataSlot = (VkPrivateDataSlot)global_unique_handle++;
1202 return VK_SUCCESS;
1203}
1204static VKAPI_ATTR void VKAPI_CALL DestroyPrivateDataSlot(VkDevice device, VkPrivateDataSlot privateDataSlot,
1205 const VkAllocationCallbacks* pAllocator) {
1206 // Destroy object

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected