intel: split driver/device UUID generators
authorJuan A. Suarez Romero <jasuarez@igalia.com>
Wed, 7 Oct 2020 06:44:44 +0000 (09:44 +0300)
committerEleni Maria Stea <estea@igalia.com>
Wed, 7 Oct 2020 08:11:23 +0000 (11:11 +0300)
commite9a766a8c02710bf206529f74b25f6cfb817b35d
tree9fd06f550b9a2deb9648e6343577391409a8b4cb
parent713386af2037254d6dbd49c56dfb8399d5870c90
intel: split driver/device UUID generators

We need Vulkan and GL to produce the same UUIDs. So move the generator
from ANV to a common code that can be shared by ANV and Iris driver.

v2: fix android build (Tapani)

Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Rohan Garg <rohan.garg@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7025>
src/intel/Android.common.mk
src/intel/Makefile.sources
src/intel/common/gen_uuid.c [new file with mode: 0644]
src/intel/common/gen_uuid.h [new file with mode: 0644]
src/intel/common/meson.build
src/intel/vulkan/anv_device.c