radv: consider MESA_VK_VERSION_OVERRIDE when setting the api version
authorEleni Maria Stea <estea@igalia.com>
Mon, 29 Apr 2019 07:00:17 +0000 (09:00 +0200)
committerSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Mon, 29 Apr 2019 07:00:51 +0000 (09:00 +0200)
commitbb953de96c769618db649b0bb735a5cce3934460
tree6cd24b4b5ceaec25b5f3e23f39e5496a8588d4b2
parent9dcf90d7ba966cba904266209087a87ea9c018b9
radv: consider MESA_VK_VERSION_OVERRIDE when setting the api version

Before setting the physical device API version, we should check if the
MESA_VK_VERSION_OVERRIDE environment variable is set and take it into
account.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/vulkan/radv_extensions.py