radv: update VK_EXT_host_query_reset for Vulkan 1.2
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 15 Oct 2019 06:55:07 +0000 (08:55 +0200)
committerJason Ekstrand <jason@jlekstrand.net>
Wed, 15 Jan 2020 14:42:25 +0000 (08:42 -0600)
Promoted to Vulkan 1.2 with the EXT suffix omitted.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_device.c
src/amd/vulkan/radv_query.c

index 2e691443b300626537b746d4ce1e88899fdf41eb..d39ff6c3c4d5d6f824753b17f019454d9cb4346e 100644 (file)
@@ -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;
                }
index 0adcb9af462790035ae42ead5f36b23db4278d60..f59e435e018dfbebe161d643ff32b88b525d3bed 100644 (file)
@@ -1691,7 +1691,7 @@ void radv_CmdResetQueryPool(
        }
 }
 
-void radv_ResetQueryPoolEXT(
+void radv_ResetQueryPool(
        VkDevice                                   _device,
        VkQueryPool                                 queryPool,
        uint32_t                                    firstQuery,