From: Emil Velikov <emil.veli...@collabora.com> Otherwise we'll error out if build from a release tarball.
Cc: Jason Ekstrand <jason.ekstr...@intel.com> Cc: Kristian Høgsberg Kristensen <k...@bitplanet.net> --- This patch isn't going to fly obviously but is just enough to get things building ;-) Any input on proper fix is highly appreciated. --- src/intel/vulkan/anv_device.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index eb40e2d..98eda2b 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -416,6 +416,9 @@ void anv_device_get_cache_uuid(void *uuid) { memset(uuid, 0, VK_UUID_SIZE); +#ifndef MESA_GIT_SHA1 +#define MESA_GIT_SHA1 "git-unknown" +#endif snprintf(uuid, VK_UUID_SIZE, "anv-%s", MESA_GIT_SHA1 + 4); } -- 2.8.2 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev