radv: Set driver version to mesa version;
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 14 Mar 2017 21:57:55 +0000 (22:57 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 14 Mar 2017 23:37:56 +0000 (00:37 +0100)
commit407fa776698e768c9cf47612343502f271960548
treea231a3f097583e7fd5e1eaf9a241028841c4dc0e
parented28ae71f523fac3f1b18a17b4c1538502657a17
radv: Set driver version to mesa version;

I couldn't really find an encoding in the spec. I'm not sure it
prescribes VK_MAKE_VERSION format, but vulkan.gpuinfo.org interprets
it that way by default. vulkaninfo gives the raw number, so we could
alternatively do something like 17001000, but that doesn't show
up right on vulkan.gpuinfo.org again. Looking at that site, the -pro
driver also uses VK_MAKE_VERSION, so keeping consistency is probably
best.

Signed-off-by: Bas Nieuwenhuizen <basni@google.com>
Acked-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_device.c