From: Samuel Pitoiset Date: Tue, 15 Oct 2019 06:55:07 +0000 (+0200) Subject: radv: update VK_EXT_host_query_reset for Vulkan 1.2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=65e215e6f3aa1478318750365c82e993f78c0c97;p=mesa.git radv: update VK_EXT_host_query_reset for Vulkan 1.2 Promoted to Vulkan 1.2 with the EXT suffix omitted. Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 2e691443b30..d39ff6c3c4d 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -1078,9 +1078,9 @@ void radv_GetPhysicalDeviceFeatures2( features->depthClipEnable = true; break; } - case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_QUERY_RESET_FEATURES_EXT: { - VkPhysicalDeviceHostQueryResetFeaturesEXT *features = - (VkPhysicalDeviceHostQueryResetFeaturesEXT *)ext; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_QUERY_RESET_FEATURES: { + VkPhysicalDeviceHostQueryResetFeatures *features = + (VkPhysicalDeviceHostQueryResetFeatures *)ext; features->hostQueryReset = true; break; } diff --git a/src/amd/vulkan/radv_query.c b/src/amd/vulkan/radv_query.c index 0adcb9af462..f59e435e018 100644 --- a/src/amd/vulkan/radv_query.c +++ b/src/amd/vulkan/radv_query.c @@ -1691,7 +1691,7 @@ void radv_CmdResetQueryPool( } } -void radv_ResetQueryPoolEXT( +void radv_ResetQueryPool( VkDevice _device, VkQueryPool queryPool, uint32_t firstQuery,