/* WARNING: This is auto-generated file. Do not modify, since changes will * be lost! Modify the generating script instead. */ namespace refdetails { template<> void Deleter::operator() (VkDeviceMemory obj) const { m_deviceIface->freeMemory(m_device, obj, m_allocator); } template<> void Deleter::operator() (VkFence obj) const { m_deviceIface->destroyFence(m_device, obj, m_allocator); } template<> void Deleter::operator() (VkSemaphore obj) const { m_deviceIface->destroySemaphore(m_device, obj, m_allocator); } template<> void Deleter::operator() (VkEvent obj) const { m_deviceIface->destroyEvent(m_device, obj, m_allocator); } template<> void Deleter::operator() (VkQueryPool obj) const { m_deviceIface->destroyQueryPool(m_device, obj, m_allocator); } template<> void Deleter::operator() (VkBuffer obj) const { m_deviceIface->destroyBuffer(m_device, obj, m_allocator); } template<> void Deleter::operator() (VkBufferView obj) const { m_deviceIface->destroyBufferView(m_device, obj, m_allocator); } template<> void Deleter::operator() (VkImage obj) const { m_deviceIface->destroyImage(m_device, obj, m_allocator); } template<> void Deleter::operator() (VkImageView obj) const { m_deviceIface->destroyImageView(m_device, obj, m_allocator); } template<> void Deleter::operator() (VkShaderModule obj) const { m_deviceIface->destroyShaderModule(m_device, obj, m_allocator); } template<> void Deleter::operator() (VkPipelineCache obj) const { m_deviceIface->destroyPipelineCache(m_device, obj, m_allocator); } template<> void Deleter::operator() (VkPipeline obj) const { m_deviceIface->destroyPipeline(m_device, obj, m_allocator); } template<> void Deleter::operator() (VkPipelineLayout obj) const { m_deviceIface->destroyPipelineLayout(m_device, obj, m_allocator); } template<> void Deleter::operator() (VkSampler obj) const { m_deviceIface->destroySampler(m_device, obj, m_allocator); } template<> void Deleter::operator() (VkDescriptorSetLayout obj) const { m_deviceIface->destroyDescriptorSetLayout(m_device, obj, m_allocator); } template<> void Deleter::operator() (VkDescriptorPool obj) const { m_deviceIface->destroyDescriptorPool(m_device, obj, m_allocator); } template<> void Deleter::operator() (VkFramebuffer obj) const { m_deviceIface->destroyFramebuffer(m_device, obj, m_allocator); } template<> void Deleter::operator() (VkRenderPass obj) const { m_deviceIface->destroyRenderPass(m_device, obj, m_allocator); } template<> void Deleter::operator() (VkCommandPool obj) const { m_deviceIface->destroyCommandPool(m_device, obj, m_allocator); } template<> void Deleter::operator() (VkSwapchainKHR obj) const { m_deviceIface->destroySwapchainKHR(m_device, obj, m_allocator); } } // refdetails Move createInstance (const PlatformInterface& vk, const VkInstanceCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator) { VkInstance object = 0; VK_CHECK(vk.createInstance(pCreateInfo, pAllocator, &object)); return Move(check(object), Deleter(vk, object, pAllocator)); } Move createDevice (const InstanceInterface& vk, VkPhysicalDevice physicalDevice, const VkDeviceCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator) { VkDevice object = 0; VK_CHECK(vk.createDevice(physicalDevice, pCreateInfo, pAllocator, &object)); return Move(check(object), Deleter(vk, object, pAllocator)); } Move allocateMemory (const DeviceInterface& vk, VkDevice device, const VkMemoryAllocateInfo* pAllocateInfo, const VkAllocationCallbacks* pAllocator) { VkDeviceMemory object = 0; VK_CHECK(vk.allocateMemory(device, pAllocateInfo, pAllocator, &object)); return Move(check(object), Deleter(vk, device, pAllocator)); } Move createFence (const DeviceInterface& vk, VkDevice device, const VkFenceCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator) { VkFence object = 0; VK_CHECK(vk.createFence(device, pCreateInfo, pAllocator, &object)); return Move(check(object), Deleter(vk, device, pAllocator)); } Move createSemaphore (const DeviceInterface& vk, VkDevice device, const VkSemaphoreCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator) { VkSemaphore object = 0; VK_CHECK(vk.createSemaphore(device, pCreateInfo, pAllocator, &object)); return Move(check(object), Deleter(vk, device, pAllocator)); } Move createEvent (const DeviceInterface& vk, VkDevice device, const VkEventCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator) { VkEvent object = 0; VK_CHECK(vk.createEvent(device, pCreateInfo, pAllocator, &object)); return Move(check(object), Deleter(vk, device, pAllocator)); } Move createQueryPool (const DeviceInterface& vk, VkDevice device, const VkQueryPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator) { VkQueryPool object = 0; VK_CHECK(vk.createQueryPool(device, pCreateInfo, pAllocator, &object)); return Move(check(object), Deleter(vk, device, pAllocator)); } Move createBuffer (const DeviceInterface& vk, VkDevice device, const VkBufferCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator) { VkBuffer object = 0; VK_CHECK(vk.createBuffer(device, pCreateInfo, pAllocator, &object)); return Move(check(object), Deleter(vk, device, pAllocator)); } Move createBufferView (const DeviceInterface& vk, VkDevice device, const VkBufferViewCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator) { VkBufferView object = 0; VK_CHECK(vk.createBufferView(device, pCreateInfo, pAllocator, &object)); return Move(check(object), Deleter(vk, device, pAllocator)); } Move createImage (const DeviceInterface& vk, VkDevice device, const VkImageCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator) { VkImage object = 0; VK_CHECK(vk.createImage(device, pCreateInfo, pAllocator, &object)); return Move(check(object), Deleter(vk, device, pAllocator)); } Move createImageView (const DeviceInterface& vk, VkDevice device, const VkImageViewCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator) { VkImageView object = 0; VK_CHECK(vk.createImageView(device, pCreateInfo, pAllocator, &object)); return Move(check(object), Deleter(vk, device, pAllocator)); } Move createShaderModule (const DeviceInterface& vk, VkDevice device, const VkShaderModuleCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator) { VkShaderModule object = 0; VK_CHECK(vk.createShaderModule(device, pCreateInfo, pAllocator, &object)); return Move(check(object), Deleter(vk, device, pAllocator)); } Move createPipelineCache (const DeviceInterface& vk, VkDevice device, const VkPipelineCacheCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator) { VkPipelineCache object = 0; VK_CHECK(vk.createPipelineCache(device, pCreateInfo, pAllocator, &object)); return Move(check(object), Deleter(vk, device, pAllocator)); } Move createGraphicsPipelines (const DeviceInterface& vk, VkDevice device, VkPipelineCache pipelineCache, deUint32 createInfoCount, const VkGraphicsPipelineCreateInfo* pCreateInfos, const VkAllocationCallbacks* pAllocator) { VkPipeline object = 0; VK_CHECK(vk.createGraphicsPipelines(device, pipelineCache, createInfoCount, pCreateInfos, pAllocator, &object)); return Move(check(object), Deleter(vk, device, pAllocator)); } Move createComputePipelines (const DeviceInterface& vk, VkDevice device, VkPipelineCache pipelineCache, deUint32 createInfoCount, const VkComputePipelineCreateInfo* pCreateInfos, const VkAllocationCallbacks* pAllocator) { VkPipeline object = 0; VK_CHECK(vk.createComputePipelines(device, pipelineCache, createInfoCount, pCreateInfos, pAllocator, &object)); return Move(check(object), Deleter(vk, device, pAllocator)); } Move createPipelineLayout (const DeviceInterface& vk, VkDevice device, const VkPipelineLayoutCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator) { VkPipelineLayout object = 0; VK_CHECK(vk.createPipelineLayout(device, pCreateInfo, pAllocator, &object)); return Move(check(object), Deleter(vk, device, pAllocator)); } Move createSampler (const DeviceInterface& vk, VkDevice device, const VkSamplerCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator) { VkSampler object = 0; VK_CHECK(vk.createSampler(device, pCreateInfo, pAllocator, &object)); return Move(check(object), Deleter(vk, device, pAllocator)); } Move createDescriptorSetLayout (const DeviceInterface& vk, VkDevice device, const VkDescriptorSetLayoutCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator) { VkDescriptorSetLayout object = 0; VK_CHECK(vk.createDescriptorSetLayout(device, pCreateInfo, pAllocator, &object)); return Move(check(object), Deleter(vk, device, pAllocator)); } Move createDescriptorPool (const DeviceInterface& vk, VkDevice device, const VkDescriptorPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator) { VkDescriptorPool object = 0; VK_CHECK(vk.createDescriptorPool(device, pCreateInfo, pAllocator, &object)); return Move(check(object), Deleter(vk, device, pAllocator)); } Move createFramebuffer (const DeviceInterface& vk, VkDevice device, const VkFramebufferCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator) { VkFramebuffer object = 0; VK_CHECK(vk.createFramebuffer(device, pCreateInfo, pAllocator, &object)); return Move(check(object), Deleter(vk, device, pAllocator)); } Move createRenderPass (const DeviceInterface& vk, VkDevice device, const VkRenderPassCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator) { VkRenderPass object = 0; VK_CHECK(vk.createRenderPass(device, pCreateInfo, pAllocator, &object)); return Move(check(object), Deleter(vk, device, pAllocator)); } Move createCommandPool (const DeviceInterface& vk, VkDevice device, const VkCommandPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator) { VkCommandPool object = 0; VK_CHECK(vk.createCommandPool(device, pCreateInfo, pAllocator, &object)); return Move(check(object), Deleter(vk, device, pAllocator)); } Move createSwapchainKHR (const DeviceInterface& vk, VkDevice device, const VkSwapchainCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator) { VkSwapchainKHR object = 0; VK_CHECK(vk.createSwapchainKHR(device, pCreateInfo, pAllocator, &object)); return Move(check(object), Deleter(vk, device, pAllocator)); } Move createDisplayPlaneSurfaceKHR (const InstanceInterface& vk, VkInstance instance, const VkDisplaySurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator) { VkSurfaceKHR object = 0; VK_CHECK(vk.createDisplayPlaneSurfaceKHR(instance, pCreateInfo, pAllocator, &object)); return Move(check(object), Deleter(vk, instance, pAllocator)); } Move createSharedSwapchainsKHR (const DeviceInterface& vk, VkDevice device, deUint32 swapchainCount, const VkSwapchainCreateInfoKHR* pCreateInfos, const VkAllocationCallbacks* pAllocator) { VkSwapchainKHR object = 0; VK_CHECK(vk.createSharedSwapchainsKHR(device, swapchainCount, pCreateInfos, pAllocator, &object)); return Move(check(object), Deleter(vk, device, pAllocator)); } Move createXlibSurfaceKHR (const InstanceInterface& vk, VkInstance instance, const VkXlibSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator) { VkSurfaceKHR object = 0; VK_CHECK(vk.createXlibSurfaceKHR(instance, pCreateInfo, pAllocator, &object)); return Move(check(object), Deleter(vk, instance, pAllocator)); } Move createXcbSurfaceKHR (const InstanceInterface& vk, VkInstance instance, const VkXcbSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator) { VkSurfaceKHR object = 0; VK_CHECK(vk.createXcbSurfaceKHR(instance, pCreateInfo, pAllocator, &object)); return Move(check(object), Deleter(vk, instance, pAllocator)); } Move createWaylandSurfaceKHR (const InstanceInterface& vk, VkInstance instance, const VkWaylandSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator) { VkSurfaceKHR object = 0; VK_CHECK(vk.createWaylandSurfaceKHR(instance, pCreateInfo, pAllocator, &object)); return Move(check(object), Deleter(vk, instance, pAllocator)); } Move createMirSurfaceKHR (const InstanceInterface& vk, VkInstance instance, const VkMirSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator) { VkSurfaceKHR object = 0; VK_CHECK(vk.createMirSurfaceKHR(instance, pCreateInfo, pAllocator, &object)); return Move(check(object), Deleter(vk, instance, pAllocator)); } Move createAndroidSurfaceKHR (const InstanceInterface& vk, VkInstance instance, const VkAndroidSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator) { VkSurfaceKHR object = 0; VK_CHECK(vk.createAndroidSurfaceKHR(instance, pCreateInfo, pAllocator, &object)); return Move(check(object), Deleter(vk, instance, pAllocator)); } Move createWin32SurfaceKHR (const InstanceInterface& vk, VkInstance instance, const VkWin32SurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator) { VkSurfaceKHR object = 0; VK_CHECK(vk.createWin32SurfaceKHR(instance, pCreateInfo, pAllocator, &object)); return Move(check(object), Deleter(vk, instance, pAllocator)); } Move createDebugReportCallbackEXT (const InstanceInterface& vk, VkInstance instance, const VkDebugReportCallbackCreateInfoEXT* pCreateInfo, const VkAllocationCallbacks* pAllocator) { VkDebugReportCallbackEXT object = 0; VK_CHECK(vk.createDebugReportCallbackEXT(instance, pCreateInfo, pAllocator, &object)); return Move(check(object), Deleter(vk, instance, pAllocator)); }