Module: Mesa Branch: main Commit: 421d8f14793b57cb1fd4b10302a9ae5a684f06a7 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=421d8f14793b57cb1fd4b10302a9ae5a684f06a7
Author: Matt Coster <[email protected]> Date: Mon Sep 4 13:55:08 2023 +0100 pvr: Cleanup comments in pvr_physical_device_get_supported_*() 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 <[email protected]> Reviewed-by: Vlad Schiller <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25033> --- src/imagination/vulkan/pvr_device.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/imagination/vulkan/pvr_device.c b/src/imagination/vulkan/pvr_device.c index 30a373939b5..2e54c732fa9 100644 --- a/src/imagination/vulkan/pvr_device.c +++ b/src/imagination/vulkan/pvr_device.c @@ -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, }; }
