pvr: Drop pdevice from pvr_physical_device_get_supported_extensions()

This parameter doesn't make a lot of sense - it's currently unused, but
it can never be valid anyway since the return of this function is used
in the early initialization of pvr_physical_device.

Signed-off-by: Matt Coster <matt.coster@imgtec.com>
Reviewed-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23023>
This commit is contained in:
Matt Coster 2023-04-27 16:14:46 +01:00 committed by Marge Bot
parent 9edac86572
commit 157499bd05

View file

@ -147,7 +147,6 @@ static const struct vk_instance_extension_table pvr_instance_extensions = {
};
static void pvr_physical_device_get_supported_extensions(
const struct pvr_physical_device *pdevice,
struct vk_device_extension_table *extensions)
{
/* clang-format off */
@ -373,7 +372,7 @@ static VkResult pvr_physical_device_init(struct pvr_physical_device *pdevice,
if (result != VK_SUCCESS)
goto err_vk_free_primary_path;
pvr_physical_device_get_supported_extensions(pdevice, &supported_extensions);
pvr_physical_device_get_supported_extensions(&supported_extensions);
vk_physical_device_dispatch_table_from_entrypoints(
&dispatch_table,