From 65e215e6f3aa1478318750365c82e993f78c0c97 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Tue, 15 Oct 2019 08:55:07 +0200 Subject: [PATCH] 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 --- src/amd/vulkan/radv_device.c | 6 +++--- src/amd/vulkan/radv_query.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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, -- 2.30.2