diff options
author | Yonggang Luo <luoyonggang@gmail.com> | 2022-11-08 20:15:10 +0800 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2022-11-11 05:38:19 +0000 |
commit | e5656f07c7a65b1d143684671cd8235af099a84c (patch) | |
tree | 249b806c9e33430f5edb33402eb269a427ea3e2e | |
parent | 9b3e4d5d7cd14a82693336f54c9e3b4b521a244c (diff) | |
download | mesa-e5656f07c7a65b1d143684671cd8235af099a84c.tar.gz mesa-e5656f07c7a65b1d143684671cd8235af099a84c.tar.bz2 mesa-e5656f07c7a65b1d143684671cd8235af099a84c.zip |
radv: Fixes prototypes
Cc: mesa-stable
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19610>
-rw-r--r-- | src/amd/vulkan/radv_cmd_buffer.c | 4 | ||||
-rw-r--r-- | src/amd/vulkan/radv_device_generated_commands.c | 8 | ||||
-rw-r--r-- | src/amd/vulkan/radv_perfcounter.c | 4 |
3 files changed, 8 insertions, 8 deletions
diff --git a/src/amd/vulkan/radv_cmd_buffer.c b/src/amd/vulkan/radv_cmd_buffer.c index 23ccc097f38..d5eff7eb11e 100644 --- a/src/amd/vulkan/radv_cmd_buffer.c +++ b/src/amd/vulkan/radv_cmd_buffer.c @@ -8948,7 +8948,7 @@ radv_CmdDrawMeshTasksIndirectCountEXT(VkCommandBuffer commandBuffer, VkBuffer _b radv_after_draw(cmd_buffer); } -void +VKAPI_ATTR void VKAPI_CALL radv_CmdExecuteGeneratedCommandsNV(VkCommandBuffer commandBuffer, VkBool32 isPreprocessed, const VkGeneratedCommandsInfoNV *pGeneratedCommandsInfo) { @@ -10673,7 +10673,7 @@ radv_CmdWriteBufferMarker2AMD(VkCommandBuffer commandBuffer, VkPipelineStageFlag assert(cmd_buffer->cs->cdw <= cdw_max); } -void +VKAPI_ATTR void VKAPI_CALL radv_CmdBindPipelineShaderGroupNV(VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipeline pipeline, uint32_t groupIndex) diff --git a/src/amd/vulkan/radv_device_generated_commands.c b/src/amd/vulkan/radv_device_generated_commands.c index 69b233cac23..0e2cb0ab967 100644 --- a/src/amd/vulkan/radv_device_generated_commands.c +++ b/src/amd/vulkan/radv_device_generated_commands.c @@ -972,7 +972,7 @@ cleanup: return result; } -VkResult +VKAPI_ATTR VkResult VKAPI_CALL radv_CreateIndirectCommandsLayoutNV(VkDevice _device, const VkIndirectCommandsLayoutCreateInfoNV *pCreateInfo, const VkAllocationCallbacks *pAllocator, @@ -1048,7 +1048,7 @@ radv_CreateIndirectCommandsLayoutNV(VkDevice _device, return VK_SUCCESS; } -void +VKAPI_ATTR void VKAPI_CALL radv_DestroyIndirectCommandsLayoutNV(VkDevice _device, VkIndirectCommandsLayoutNV indirectCommandsLayout, const VkAllocationCallbacks *pAllocator) @@ -1063,7 +1063,7 @@ radv_DestroyIndirectCommandsLayoutNV(VkDevice _device, vk_free2(&device->vk.alloc, pAllocator, layout); } -void +VKAPI_ATTR void VKAPI_CALL radv_GetGeneratedCommandsMemoryRequirementsNV( VkDevice _device, const VkGeneratedCommandsMemoryRequirementsInfoNV *pInfo, VkMemoryRequirements2 *pMemoryRequirements) @@ -1086,7 +1086,7 @@ radv_GetGeneratedCommandsMemoryRequirementsNV( align(cmd_buf_size + upload_buf_size, pMemoryRequirements->memoryRequirements.alignment); } -void +VKAPI_ATTR void VKAPI_CALL radv_CmdPreprocessGeneratedCommandsNV(VkCommandBuffer commandBuffer, const VkGeneratedCommandsInfoNV *pGeneratedCommandsInfo) { diff --git a/src/amd/vulkan/radv_perfcounter.c b/src/amd/vulkan/radv_perfcounter.c index 98c89fd649c..64f55a7a917 100644 --- a/src/amd/vulkan/radv_perfcounter.c +++ b/src/amd/vulkan/radv_perfcounter.c @@ -836,7 +836,7 @@ radv_pc_get_results(const struct radv_pc_query_pool *pc_pool, const uint64_t *da } } -VkResult +VKAPI_ATTR VkResult VKAPI_CALL radv_EnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR( VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, uint32_t *pCounterCount, VkPerformanceCounterKHR *pCounters, VkPerformanceCounterDescriptionKHR *pCounterDescriptions) @@ -889,7 +889,7 @@ radv_EnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR( return result; } -void +VKAPI_ATTR void VKAPI_CALL radv_GetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR( VkPhysicalDevice physicalDevice, const VkQueryPoolPerformanceCreateInfoKHR *pPerformanceQueryCreateInfo, uint32_t *pNumPasses) |