Commit 1a773c00 authored by Hyunjun Ko's avatar Hyunjun Ko Committed by Marge Bot
Browse files

turnip: add missing VKAPI_ATTR/CALL


Signed-off-by: Hyunjun Ko's avatarHyunjun Ko <zzoon@igalia.com>
Part-of: <mesa/mesa!11099>
parent ce04fd10
......@@ -329,7 +329,7 @@ setup_gralloc0_usage(struct tu_device *device, VkFormat format,
return VK_SUCCESS;
}
VkResult
VKAPI_ATTR VkResult VKAPI_CALL
tu_GetSwapchainGrallocUsageANDROID(VkDevice device_h,
VkFormat format,
VkImageUsageFlags imageUsage,
......@@ -347,7 +347,7 @@ tu_GetSwapchainGrallocUsageANDROID(VkDevice device_h,
}
#if ANDROID_API_LEVEL >= 26
VkResult
VKAPI_ATTR VkResult VKAPI_CALL
tu_GetSwapchainGrallocUsage2ANDROID(VkDevice device_h,
VkFormat format,
VkImageUsageFlags imageUsage,
......@@ -393,7 +393,7 @@ tu_GetSwapchainGrallocUsage2ANDROID(VkDevice device_h,
}
#endif
VkResult
VKAPI_ATTR VkResult VKAPI_CALL
tu_AcquireImageANDROID(VkDevice device,
VkImage image_h,
int nativeFenceFd,
......
......@@ -1215,7 +1215,7 @@ tu6_blit_image(struct tu_cmd_buffer *cmd,
ops->teardown(cmd, cs);
}
void
VKAPI_ATTR void VKAPI_CALL
tu_CmdBlitImage(VkCommandBuffer commandBuffer,
VkImage srcImage,
VkImageLayout srcImageLayout,
......@@ -1337,7 +1337,7 @@ tu_copy_buffer_to_image(struct tu_cmd_buffer *cmd,
ops->teardown(cmd, cs);
}
void
VKAPI_ATTR void VKAPI_CALL
tu_CmdCopyBufferToImage(VkCommandBuffer commandBuffer,
VkBuffer srcBuffer,
VkImage dstImage,
......@@ -1409,7 +1409,7 @@ tu_copy_image_to_buffer(struct tu_cmd_buffer *cmd,
ops->teardown(cmd, cs);
}
void
VKAPI_ATTR void VKAPI_CALL
tu_CmdCopyImageToBuffer(VkCommandBuffer commandBuffer,
VkImage srcImage,
VkImageLayout srcImageLayout,
......@@ -1623,7 +1623,7 @@ tu_copy_image_to_image(struct tu_cmd_buffer *cmd,
ops->teardown(cmd, cs);
}
void
VKAPI_ATTR void VKAPI_CALL
tu_CmdCopyImage(VkCommandBuffer commandBuffer,
VkImage srcImage,
VkImageLayout srcImageLayout,
......@@ -1683,7 +1683,7 @@ copy_buffer(struct tu_cmd_buffer *cmd,
ops->teardown(cmd, cs);
}
void
VKAPI_ATTR void VKAPI_CALL
tu_CmdCopyBuffer(VkCommandBuffer commandBuffer,
VkBuffer srcBuffer,
VkBuffer dstBuffer,
......@@ -1702,7 +1702,7 @@ tu_CmdCopyBuffer(VkCommandBuffer commandBuffer,
}
}
void
VKAPI_ATTR void VKAPI_CALL
tu_CmdUpdateBuffer(VkCommandBuffer commandBuffer,
VkBuffer dstBuffer,
VkDeviceSize dstOffset,
......@@ -1723,7 +1723,7 @@ tu_CmdUpdateBuffer(VkCommandBuffer commandBuffer,
copy_buffer(cmd, tu_buffer_iova(buffer) + dstOffset, tmp.iova, dataSize, 4);
}
void
VKAPI_ATTR void VKAPI_CALL
tu_CmdFillBuffer(VkCommandBuffer commandBuffer,
VkBuffer dstBuffer,
VkDeviceSize dstOffset,
......@@ -1759,7 +1759,7 @@ tu_CmdFillBuffer(VkCommandBuffer commandBuffer,
ops->teardown(cmd, cs);
}
void
VKAPI_ATTR void VKAPI_CALL
tu_CmdResolveImage(VkCommandBuffer commandBuffer,
VkImage srcImage,
VkImageLayout srcImageLayout,
......@@ -1912,7 +1912,7 @@ clear_image(struct tu_cmd_buffer *cmd,
ops->teardown(cmd, cs);
}
void
VKAPI_ATTR void VKAPI_CALL
tu_CmdClearColorImage(VkCommandBuffer commandBuffer,
VkImage image_h,
VkImageLayout imageLayout,
......@@ -1927,7 +1927,7 @@ tu_CmdClearColorImage(VkCommandBuffer commandBuffer,
clear_image(cmd, image, (const VkClearValue*) pColor, pRanges + i, VK_IMAGE_ASPECT_COLOR_BIT);
}
void
VKAPI_ATTR void VKAPI_CALL
tu_CmdClearDepthStencilImage(VkCommandBuffer commandBuffer,
VkImage image_h,
VkImageLayout imageLayout,
......@@ -2279,7 +2279,7 @@ tu_clear_gmem_attachments(struct tu_cmd_buffer *cmd,
}
}
void
VKAPI_ATTR void VKAPI_CALL
tu_CmdClearAttachments(VkCommandBuffer commandBuffer,
uint32_t attachmentCount,
const VkClearAttachment *pAttachments,
......
This diff is collapsed.
......@@ -73,7 +73,7 @@ descriptor_size(VkDescriptorType type)
}
}
VkResult
VKAPI_ATTR VkResult VKAPI_CALL
tu_CreateDescriptorSetLayout(
VkDevice _device,
const VkDescriptorSetLayoutCreateInfo *pCreateInfo,
......@@ -228,7 +228,7 @@ tu_CreateDescriptorSetLayout(
return VK_SUCCESS;
}
void
VKAPI_ATTR void VKAPI_CALL
tu_DestroyDescriptorSetLayout(VkDevice _device,
VkDescriptorSetLayout _set_layout,
const VkAllocationCallbacks *pAllocator)
......@@ -242,7 +242,7 @@ tu_DestroyDescriptorSetLayout(VkDevice _device,
vk_object_free(&device->vk, pAllocator, set_layout);
}
void
VKAPI_ATTR void VKAPI_CALL
tu_GetDescriptorSetLayoutSupport(
VkDevice device,
const VkDescriptorSetLayoutCreateInfo *pCreateInfo,
......@@ -308,7 +308,7 @@ tu_GetDescriptorSetLayoutSupport(
* just multiple descriptor set layouts pasted together.
*/
VkResult
VKAPI_ATTR VkResult VKAPI_CALL
tu_CreatePipelineLayout(VkDevice _device,
const VkPipelineLayoutCreateInfo *pCreateInfo,
const VkAllocationCallbacks *pAllocator,
......@@ -353,7 +353,7 @@ tu_CreatePipelineLayout(VkDevice _device,
return VK_SUCCESS;
}
void
VKAPI_ATTR void VKAPI_CALL
tu_DestroyPipelineLayout(VkDevice _device,
VkPipelineLayout _pipelineLayout,
const VkAllocationCallbacks *pAllocator)
......@@ -507,7 +507,7 @@ tu_descriptor_set_destroy(struct tu_device *device,
vk_object_free(&device->vk, NULL, set);
}
VkResult
VKAPI_ATTR VkResult VKAPI_CALL
tu_CreateDescriptorPool(VkDevice _device,
const VkDescriptorPoolCreateInfo *pCreateInfo,
const VkAllocationCallbacks *pAllocator,
......@@ -578,7 +578,7 @@ fail_alloc:
return ret;
}
void
VKAPI_ATTR void VKAPI_CALL
tu_DestroyDescriptorPool(VkDevice _device,
VkDescriptorPool _pool,
const VkAllocationCallbacks *pAllocator)
......@@ -601,7 +601,7 @@ tu_DestroyDescriptorPool(VkDevice _device,
vk_object_free(&device->vk, pAllocator, pool);
}
VkResult
VKAPI_ATTR VkResult VKAPI_CALL
tu_ResetDescriptorPool(VkDevice _device,
VkDescriptorPool descriptorPool,
VkDescriptorPoolResetFlags flags)
......@@ -622,7 +622,7 @@ tu_ResetDescriptorPool(VkDevice _device,
return VK_SUCCESS;
}
VkResult
VKAPI_ATTR VkResult VKAPI_CALL
tu_AllocateDescriptorSets(VkDevice _device,
const VkDescriptorSetAllocateInfo *pAllocateInfo,
VkDescriptorSet *pDescriptorSets)
......@@ -670,7 +670,7 @@ tu_AllocateDescriptorSets(VkDevice _device,
return result;
}
VkResult
VKAPI_ATTR VkResult VKAPI_CALL
tu_FreeDescriptorSets(VkDevice _device,
VkDescriptorPool descriptorPool,
uint32_t count,
......@@ -936,7 +936,7 @@ tu_update_descriptor_sets(const struct tu_device *device,
}
}
void
VKAPI_ATTR void VKAPI_CALL
tu_UpdateDescriptorSets(VkDevice _device,
uint32_t descriptorWriteCount,
const VkWriteDescriptorSet *pDescriptorWrites,
......@@ -949,7 +949,7 @@ tu_UpdateDescriptorSets(VkDevice _device,
descriptorCopyCount, pDescriptorCopies);
}
VkResult
VKAPI_ATTR VkResult VKAPI_CALL
tu_CreateDescriptorUpdateTemplate(
VkDevice _device,
const VkDescriptorUpdateTemplateCreateInfo *pCreateInfo,
......@@ -1034,7 +1034,7 @@ tu_CreateDescriptorUpdateTemplate(
return VK_SUCCESS;
}
void
VKAPI_ATTR void VKAPI_CALL
tu_DestroyDescriptorUpdateTemplate(
VkDevice _device,
VkDescriptorUpdateTemplate descriptorUpdateTemplate,
......@@ -1122,7 +1122,7 @@ tu_update_descriptor_set_with_template(
}
}
void
VKAPI_ATTR void VKAPI_CALL
tu_UpdateDescriptorSetWithTemplate(
VkDevice _device,
VkDescriptorSet descriptorSet,
......@@ -1135,7 +1135,7 @@ tu_UpdateDescriptorSetWithTemplate(
tu_update_descriptor_set_with_template(device, set, descriptorUpdateTemplate, pData);
}
VkResult
VKAPI_ATTR VkResult VKAPI_CALL
tu_CreateSamplerYcbcrConversion(
VkDevice _device,
const VkSamplerYcbcrConversionCreateInfo *pCreateInfo,
......@@ -1162,7 +1162,7 @@ tu_CreateSamplerYcbcrConversion(
return VK_SUCCESS;
}
void
VKAPI_ATTR void VKAPI_CALL
tu_DestroySamplerYcbcrConversion(VkDevice _device,
VkSamplerYcbcrConversion ycbcrConversion,
const VkAllocationCallbacks *pAllocator)
......
......@@ -72,7 +72,8 @@ tu_device_get_cache_uuid(uint16_t family, void *uuid)
#define TU_API_VERSION VK_MAKE_VERSION(1, 1, VK_HEADER_VERSION)
VkResult tu_EnumerateInstanceVersion(uint32_t *pApiVersion)
VKAPI_ATTR VkResult VKAPI_CALL
tu_EnumerateInstanceVersion(uint32_t *pApiVersion)
{
*pApiVersion = TU_API_VERSION;
return VK_SUCCESS;
......@@ -293,7 +294,7 @@ tu_get_debug_option_name(int id)
return tu_debug_options[id].string;
}
VkResult
VKAPI_ATTR VkResult VKAPI_CALL
tu_CreateInstance(const VkInstanceCreateInfo *pCreateInfo,
const VkAllocationCallbacks *pAllocator,
VkInstance *pInstance)
......@@ -348,7 +349,7 @@ tu_CreateInstance(const VkInstanceCreateInfo *pCreateInfo,
return VK_SUCCESS;
}
void
VKAPI_ATTR void VKAPI_CALL
tu_DestroyInstance(VkInstance _instance,
const VkAllocationCallbacks *pAllocator)
{
......@@ -367,7 +368,7 @@ tu_DestroyInstance(VkInstance _instance,
vk_free(&instance->vk.alloc, instance);
}
VkResult
VKAPI_ATTR VkResult VKAPI_CALL
tu_EnumeratePhysicalDevices(VkInstance _instance,
uint32_t *pPhysicalDeviceCount,
VkPhysicalDevice *pPhysicalDevices)
......@@ -393,7 +394,7 @@ tu_EnumeratePhysicalDevices(VkInstance _instance,
return vk_outarray_status(&out);
}
VkResult
VKAPI_ATTR VkResult VKAPI_CALL
tu_EnumeratePhysicalDeviceGroups(
VkInstance _instance,
uint32_t *pPhysicalDeviceGroupCount,
......@@ -423,7 +424,7 @@ tu_EnumeratePhysicalDeviceGroups(
return vk_outarray_status(&out);
}
void
VKAPI_ATTR void VKAPI_CALL
tu_GetPhysicalDeviceFeatures2(VkPhysicalDevice physicalDevice,
VkPhysicalDeviceFeatures2 *pFeatures)
{
......@@ -749,7 +750,7 @@ tu_GetPhysicalDeviceFeatures2(VkPhysicalDevice physicalDevice,
}
}
void
VKAPI_ATTR void VKAPI_CALL
tu_GetPhysicalDeviceProperties2(VkPhysicalDevice physicalDevice,
VkPhysicalDeviceProperties2 *pProperties)
{
......@@ -1088,7 +1089,7 @@ static const VkQueueFamilyProperties tu_queue_family_properties = {
.minImageTransferGranularity = { 1, 1, 1 },
};
void
VKAPI_ATTR void VKAPI_CALL
tu_GetPhysicalDeviceQueueFamilyProperties2(
VkPhysicalDevice physicalDevice,
uint32_t *pQueueFamilyPropertyCount,
......@@ -1140,7 +1141,7 @@ tu_get_budget_memory(struct tu_physical_device *physical_device)
return MIN2(heap_size, heap_used + heap_available);
}
void
VKAPI_ATTR void VKAPI_CALL
tu_GetPhysicalDeviceMemoryProperties2(VkPhysicalDevice pdev,
VkPhysicalDeviceMemoryProperties2 *props2)
{
......@@ -1217,7 +1218,7 @@ tu_queue_finish(struct tu_queue *queue)
tu_drm_submitqueue_close(queue->device, queue->msm_queue_id);
}
VkResult
VKAPI_ATTR VkResult VKAPI_CALL
tu_CreateDevice(VkPhysicalDevice physicalDevice,
const VkDeviceCreateInfo *pCreateInfo,
const VkAllocationCallbacks *pAllocator,
......@@ -1482,7 +1483,7 @@ fail_queues:
return result;
}
void
VKAPI_ATTR void VKAPI_CALL
tu_DestroyDevice(VkDevice _device, const VkAllocationCallbacks *pAllocator)
{
TU_FROM_HANDLE(tu_device, device, _device);
......@@ -1587,7 +1588,7 @@ tu_get_scratch_bo(struct tu_device *dev, uint64_t size, struct tu_bo **bo)
return VK_SUCCESS;
}
VkResult
VKAPI_ATTR VkResult VKAPI_CALL
tu_EnumerateInstanceLayerProperties(uint32_t *pPropertyCount,
VkLayerProperties *pProperties)
{
......@@ -1595,7 +1596,7 @@ tu_EnumerateInstanceLayerProperties(uint32_t *pPropertyCount,
return VK_SUCCESS;
}
void
VKAPI_ATTR void VKAPI_CALL
tu_GetDeviceQueue2(VkDevice _device,
const VkDeviceQueueInfo2 *pQueueInfo,
VkQueue *pQueue)
......@@ -1621,7 +1622,7 @@ tu_GetDeviceQueue2(VkDevice _device,
*pQueue = tu_queue_to_handle(queue);
}
VkResult
VKAPI_ATTR VkResult VKAPI_CALL
tu_QueueWaitIdle(VkQueue _queue)
{
TU_FROM_HANDLE(tu_queue, queue, _queue);
......@@ -1660,7 +1661,7 @@ tu_QueueWaitIdle(VkQueue _queue)
return VK_SUCCESS;
}
VkResult
VKAPI_ATTR VkResult VKAPI_CALL
tu_DeviceWaitIdle(VkDevice _device)
{
TU_FROM_HANDLE(tu_device, device, _device);
......@@ -1676,7 +1677,7 @@ tu_DeviceWaitIdle(VkDevice _device)
return VK_SUCCESS;
}
VkResult
VKAPI_ATTR VkResult VKAPI_CALL
tu_EnumerateInstanceExtensionProperties(const char *pLayerName,
uint32_t *pPropertyCount,
VkExtensionProperties *pProperties)
......@@ -1688,7 +1689,7 @@ tu_EnumerateInstanceExtensionProperties(const char *pLayerName,
&tu_instance_extensions_supported, pPropertyCount, pProperties);
}
PFN_vkVoidFunction
VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL
tu_GetInstanceProcAddr(VkInstance _instance, const char *pName)
{
TU_FROM_HANDLE(tu_instance, instance, _instance);
......@@ -1711,7 +1712,7 @@ vk_icdGetInstanceProcAddr(VkInstance instance, const char *pName)
return tu_GetInstanceProcAddr(instance, pName);
}
VkResult
VKAPI_ATTR VkResult VKAPI_CALL
tu_AllocateMemory(VkDevice _device,
const VkMemoryAllocateInfo *pAllocateInfo,
const VkAllocationCallbacks *pAllocator,
......@@ -1788,7 +1789,7 @@ tu_AllocateMemory(VkDevice _device,
return VK_SUCCESS;
}
void
VKAPI_ATTR void VKAPI_CALL
tu_FreeMemory(VkDevice _device,
VkDeviceMemory _mem,
const VkAllocationCallbacks *pAllocator)
......@@ -1804,7 +1805,7 @@ tu_FreeMemory(VkDevice _device,
vk_object_free(&device->vk, pAllocator, mem);
}
VkResult
VKAPI_ATTR VkResult VKAPI_CALL
tu_MapMemory(VkDevice _device,
VkDeviceMemory _memory,
VkDeviceSize offset,
......@@ -1831,13 +1832,13 @@ tu_MapMemory(VkDevice _device,
return VK_SUCCESS;
}
void
VKAPI_ATTR void VKAPI_CALL
tu_UnmapMemory(VkDevice _device, VkDeviceMemory _memory)
{
/* TODO: unmap here instead of waiting for FreeMemory */
}
VkResult
VKAPI_ATTR VkResult VKAPI_CALL
tu_FlushMappedMemoryRanges(VkDevice _device,
uint32_t memoryRangeCount,
const VkMappedMemoryRange *pMemoryRanges)
......@@ -1845,7 +1846,7 @@ tu_FlushMappedMemoryRanges(VkDevice _device,
return VK_SUCCESS;
}
VkResult
VKAPI_ATTR VkResult VKAPI_CALL
tu_InvalidateMappedMemoryRanges(VkDevice _device,
uint32_t memoryRangeCount,
const VkMappedMemoryRange *pMemoryRanges)
......@@ -1853,7 +1854,7 @@ tu_InvalidateMappedMemoryRanges(VkDevice _device,
return VK_SUCCESS;
}
void
VKAPI_ATTR void VKAPI_CALL
tu_GetBufferMemoryRequirements2(
VkDevice device,
const VkBufferMemoryRequirementsInfo2 *pInfo,
......@@ -1882,7 +1883,7 @@ tu_GetBufferMemoryRequirements2(
}
}
void
VKAPI_ATTR void VKAPI_CALL
tu_GetImageMemoryRequirements2(VkDevice device,
const VkImageMemoryRequirementsInfo2 *pInfo,
VkMemoryRequirements2 *pMemoryRequirements)
......@@ -1910,7 +1911,7 @@ tu_GetImageMemoryRequirements2(VkDevice device,
}
}
void
VKAPI_ATTR void VKAPI_CALL
tu_GetImageSparseMemoryRequirements2(
VkDevice device,
const VkImageSparseMemoryRequirementsInfo2 *pInfo,
......@@ -1920,7 +1921,7 @@ tu_GetImageSparseMemoryRequirements2(
tu_stub();
}
void
VKAPI_ATTR void VKAPI_CALL
tu_GetDeviceMemoryCommitment(VkDevice device,
VkDeviceMemory memory,
VkDeviceSize *pCommittedMemoryInBytes)
......@@ -1928,7 +1929,7 @@ tu_GetDeviceMemoryCommitment(VkDevice device,
*pCommittedMemoryInBytes = 0;
}
VkResult
VKAPI_ATTR VkResult VKAPI_CALL
tu_BindBufferMemory2(VkDevice device,
uint32_t bindInfoCount,
const VkBindBufferMemoryInfo *pBindInfos)
......@@ -1947,7 +1948,7 @@ tu_BindBufferMemory2(VkDevice device,
return VK_SUCCESS;
}
VkResult
VKAPI_ATTR VkResult VKAPI_CALL
tu_BindImageMemory2(VkDevice device,
uint32_t bindInfoCount,
const VkBindImageMemoryInfo *pBindInfos)
......@@ -1968,7 +1969,7 @@ tu_BindImageMemory2(VkDevice device,
return VK_SUCCESS;
}
VkResult
VKAPI_ATTR VkResult VKAPI_CALL
tu_QueueBindSparse(VkQueue _queue,
uint32_t bindInfoCount,
const VkBindSparseInfo *pBindInfo,
......@@ -1977,7 +1978,7 @@ tu_QueueBindSparse(VkQueue _queue,
return VK_SUCCESS;
}
VkResult
VKAPI_ATTR VkResult VKAPI_CALL
tu_CreateEvent(VkDevice _device,
const VkEventCreateInfo *pCreateInfo,
const VkAllocationCallbacks *pAllocator,
......@@ -2011,7 +2012,7 @@ fail_alloc:
return vk_error(device->instance, VK_ERROR_OUT_OF_HOST_MEMORY);
}
void
VKAPI_ATTR void VKAPI_CALL
tu_DestroyEvent(VkDevice _device,
VkEvent _event,
const VkAllocationCallbacks *pAllocator)
......@@ -2026,7 +2027,7 @@ tu_DestroyEvent(VkDevice _device,
vk_object_free(&device->vk, pAllocator, event);
}
VkResult
VKAPI_ATTR VkResult VKAPI_CALL
tu_GetEventStatus(VkDevice _device, VkEvent _event)
{
TU_FROM_HANDLE(tu_event, event, _event);
......@@ -2036,7 +2037,7 @@ tu_GetEventStatus(VkDevice _device, VkEvent _event)
return VK_EVENT_RESET;
}
VkResult
VKAPI_ATTR VkResult VKAPI_CALL
tu_SetEvent(VkDevice _device, VkEvent _event)
{
TU_FROM_HANDLE(tu_event, event, _event);
......@@ -2045,7 +2046,7 @@ tu_SetEvent(VkDevice _device, VkEvent _event)
return VK_SUCCESS;
}
VkResult
VKAPI_ATTR VkResult VKAPI_CALL
tu_ResetEvent(VkDevice _device, VkEvent _event)
{
TU_FROM_HANDLE(tu_event, event, _event);
......@@ -2054,7 +2055,7 @@ tu_ResetEvent(VkDevice _device, VkEvent _event)
return VK_SUCCESS;
}
VkResult
VKAPI_ATTR VkResult VKAPI_CALL
tu_CreateBuffer(VkDevice _device,
const VkBufferCreateInfo *pCreateInfo,
const VkAllocationCallbacks *pAllocator,
......@@ -2079,7 +2080,7 @@ tu_CreateBuffer(VkDevice _device,
return VK_SUCCESS;
}
void
VKAPI_ATTR void VKAPI_CALL
tu_DestroyBuffer(VkDevice _device,
VkBuffer _buffer,
const VkAllocationCallbacks *pAllocator)
......@@ -2093,7 +2094,7 @@ tu_DestroyBuffer(VkDevice _device,
vk_object_free(&device->vk, pAllocator, buffer);
}
VkResult
VKAPI_ATTR VkResult VKAPI_CALL
tu_CreateFramebuffer(VkDevice _device,
const VkFramebufferCreateInfo *pCreateInfo,
const VkAllocationCallbacks *pAllocator,
......@@ -2128,7 +2129,7 @@ tu_CreateFramebuffer(VkDevice _device,
return VK_SUCCESS;
}
void
VKAPI_ATTR void VKAPI_CALL
tu_DestroyFramebuffer(VkDevice _device,
VkFramebuffer _fb,
const VkAllocationCallbacks *pAllocator)
......@@ -2213,7 +2214,7 @@ tu_init_sampler(struct tu_device *device,
*/
}
VkResult
VKAPI_ATTR VkResult VKAPI_CALL
tu_CreateSampler(VkDevice _device,
const VkSamplerCreateInfo *pCreateInfo,
const VkAllocationCallbacks *pAllocator,
......@@ -2235,7 +2236,7 @@ tu_CreateSampler(VkDevice _device,
return VK_SUCCESS;
}
void
VKAPI_ATTR void VKAPI_CALL
tu_DestroySampler(VkDevice _device,
VkSampler _sampler,
const VkAllocationCallbacks *pAllocator)
......@@ -2305,7 +2306,7 @@ vk_icdNegotiateLoaderICDInterfaceVersion(uint32_t *pSupportedVersion)
return VK_SUCCESS;
}
VkResult
VKAPI_ATTR VkResult VKAPI_CALL
tu_GetMemoryFdKHR(VkDevice _device,
const VkMemoryGetFdInfoKHR *pGetFdInfo,
int *pFd)
......@@ -2329,7 +2330,7 @@ tu_GetMemoryFdKHR(VkDevice _device,
return VK_SUCCESS;
}
VkResult
VKAPI_ATTR VkResult VKAPI_CALL
tu_GetMemoryFdPropertiesKHR(VkDevice _device,
VkExternalMemoryHandleTypeFlagBits handleType,
int fd,
......@@ -2340,7 +2341,7 @@ tu_GetMemoryFdPropertiesKHR(VkDevice _device,
return VK_SUCCESS;
}