Skip to content

llvmpipe: Add get_{driver,device}_uuid implementations

StefanBruens requested to merge StefanBruens/mesa:llvmpipe_fix_uuid into main

Commit 9da15aa3 ("llvmpipe: enable EXT_memory_object(_fd)") enabled the extension, but left this unimplemented.

Leaving this unimplemented causes segfaults for anyone trying to retrieve the UUIDs, as the calling code in the state tracker does not check if the function is implemented. This affects e.g. current Wine versions.

Set the UUID to all zeros. Although this slightly violates the vulkan specification (since 1.2.146), the UUIDs have to match the ones from lavapipe (lvp_get_physical_device_properties_1_1).

Closes: #5865 (closed) Signed-off-by: Stefan Brüns stefan.bruens@rwth-aachen.de

Edited by StefanBruens

Merge request reports