turnip: Implement some UUIDs.
authorBas Nieuwenhuizen <basni@chromium.org>
Mon, 31 Dec 2018 10:08:45 +0000 (11:08 +0100)
committerChia-I Wu <olvaffe@gmail.com>
Mon, 11 Mar 2019 17:01:41 +0000 (10:01 -0700)
src/freedreno/vulkan/tu_device.c

index 67c00c866beccd6de0ddf9c451ec2a537e93e644..f7dcaf0c3187430b985deeae295f71074527ffb8 100644 (file)
@@ -62,13 +62,13 @@ static void
 tu_get_driver_uuid(void *uuid)
 {
    memset(uuid, 0, VK_UUID_SIZE);
+   snprintf(uuid, VK_UUID_SIZE, "freedreno");
 }
 
 static void
 tu_get_device_uuid(void *uuid)
 {
-   tu_use_args(uuid);
-   tu_stub();
+   memset(uuid, 0, VK_UUID_SIZE);
 }
 
 VkResult