radv: generate same device UUID as radeonsi
authorAndres Rodriguez <andresx7@gmail.com>
Wed, 12 Jul 2017 22:45:30 +0000 (18:45 -0400)
committerTimothy Arceri <tarceri@itsqueeze.com>
Sun, 6 Aug 2017 02:42:07 +0000 (12:42 +1000)
commitf8ea71f0475fb3e5afd881d383cf04efa7a06530
treec31c7fc1638c79d07c957ceec6e4613fd901ec4e
parent059d82c1c2566afc6f7ac07d38a206c6fa7c1ed4
radv: generate same device UUID as radeonsi

This is required for interop use cases. The same device must report
identical UUIDs through the GL and Vulkan APIs so that users can
identify when it is safe to perform a memory object import.

v2: use ac helpers to calculate the uuid

Signed-off-by: Andres Rodriguez <andresx7@gmail.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/amd/vulkan/radv_device.c