pvr: Cleanup comments in pvr_physical_device_get_supported_*()
authorMatt Coster <matt.coster@imgtec.com>
Mon, 4 Sep 2023 12:55:08 +0000 (13:55 +0100)
committerMarge Bot <emma+marge@anholt.net>
Wed, 6 Sep 2023 13:24:17 +0000 (13:24 +0000)
pvr_physical_device_get_supported_extensions() contained unneeded
/* clang-format off */ guards.

The section comments in pvr_physical_device_get_supported_features()
also now match the pattern in pvr_physical_device_get_properties().

Signed-off-by: Matt Coster <matt.coster@imgtec.com>
Reviewed-by: Vlad Schiller <vlad-radu.schiller@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25033>

src/imagination/vulkan/pvr_device.c

index 30a3739..2e54c73 100644 (file)
@@ -155,7 +155,6 @@ static const struct vk_instance_extension_table pvr_instance_extensions = {
 static void pvr_physical_device_get_supported_extensions(
    struct vk_device_extension_table *extensions)
 {
-   /* clang-format off */
    *extensions = (struct vk_device_extension_table){
       .KHR_copy_commands2 = true,
       .KHR_external_memory = true,
@@ -168,7 +167,6 @@ static void pvr_physical_device_get_supported_extensions(
       .EXT_private_data = true,
       .EXT_tooling_info = true,
    };
-   /* clang-format on */
 }
 
 static void pvr_physical_device_get_supported_features(
@@ -233,10 +231,10 @@ static void pvr_physical_device_get_supported_features(
       .variableMultisampleRate = false,
       .inheritedQueries = false,
 
-      /* VK_KHR_timeline_semaphore (promoted to Vulkan 1.2) */
+      /* Vulkan 1.2 / VK_KHR_timeline_semaphore */
       .timelineSemaphore = true,
 
-      /* VK_EXT_private_data (promoted to Vulkan 1.3) */
+      /* Vulkan 1.3 / VK_EXT_private_data */
       .privateData = true,
    };
 }