pvr: use per-arch macro for pvr_device_init_spm_load_state

Not sure how this didn't blow up in testing, but this misses the
entire per-arch dance for this function. Let's fix it up!

Fixes: e762592bff ("pvr: build pvr_arch_*.c as a multi-arch sources")
Reviewed-by: Ashish Chauhan <ashish.chauhan@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39035>
This commit is contained in:
Erik Faye-Lund 2025-12-19 13:14:15 +01:00 committed by Marge Bot
parent ea107e588d
commit 9912883045

View file

@ -69,7 +69,7 @@ uint64_t PVR_PER_ARCH(spm_scratch_buffer_calc_required_size)(
return buffer_size;
}
VkResult pvr_device_init_spm_load_state(struct pvr_device *device)
VkResult PVR_PER_ARCH(device_init_spm_load_state)(struct pvr_device *device)
{
const struct pvr_device_info *dev_info = &device->pdevice->dev_info;
uint32_t pds_texture_aligned_offsets[PVR_NUM_SPM_LOAD_SHADERS];