[Mesa-dev] [PATCH v2 3/3] anv: Set driver version to Mesa version

Jason Ekstrand jason at jlekstrand.net
Tue Jun 6 14:35:06 UTC 2017


Both patch 2 and 3 are

Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>

On Tue, Jun 6, 2017 at 2:42 AM, Alex Smith <asmith at feralinteractive.com>
wrote:

> As already done by RADV.
>
> v2: Move version calculation function to src/vulkan/util to share with
>     RADV.
>
> Signed-off-by: Alex Smith <asmith at feralinteractive.com>
> ---
>  src/intel/vulkan/anv_device.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
> index 6079588..72a96b7 100644
> --- a/src/intel/vulkan/anv_device.c
> +++ b/src/intel/vulkan/anv_device.c
> @@ -886,7 +886,7 @@ void anv_GetPhysicalDeviceProperties(
>
>     *pProperties = (VkPhysicalDeviceProperties) {
>        .apiVersion = VK_MAKE_VERSION(1, 0, 42),
> -      .driverVersion = 1,
> +      .driverVersion = vk_get_driver_version(),
>        .vendorID = 0x8086,
>        .deviceID = pdevice->chipset_id,
>        .deviceType = VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU,
> --
> 2.9.4
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170606/88d68efd/attachment.html>


More information about the mesa-dev mailing list