Skip to content

pvr: Fix segfault in pvr_physical_device_init()

Matt Coster requested to merge MTCoster/mesa:dev/pdevice-init-segv into main

What does this MR do and why?

This was introduced (by me) in a previous commit [1]. Part of pdevice->vk was initialised before calling vk_physical_device_init() which then overwrite our values.

[1]: pvr: Use common vkGetPhysicalDeviceFeatures2() implementation 4ba553ab

Signed-off-by: Matt Coster <matt.coster@imgtec.com>
Reviewed-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com>
Edited by Matt Coster

Merge request reports