mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-21 12:10:30 +01:00
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:
parent
9edac86572
commit
157499bd05
1 changed files with 1 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue