vulkan/overay: fix violation of VUID-VkDeviceCreateInfo-pNext-00373
authorPavel Asyutchenko <sventeam@yandex.ru>
Tue, 22 Dec 2020 21:05:54 +0000 (00:05 +0300)
committerMarge Bot <eric+marge@anholt.net>
Mon, 11 Jan 2021 20:25:50 +0000 (20:25 +0000)
commit208538143293466c5a90f6dc8a5aaa67849e3557
tree297ee03d836514e737e135b452fe84c23d5b97b7
parent14e6f541b1612b847701f09da9d5bf3f6c6c8f44
vulkan/overay: fix violation of VUID-VkDeviceCreateInfo-pNext-00373

We can't use VkDeviceCreateInfo::pEnabledFeatures when
VkPhysicalDeviceFeatures2 is present in pNext chain.

Fixes: ea7a6fa98055ad ("vulkan/overlay: add pipeline statistic & timestamps support")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8208>
src/vulkan/overlay-layer/overlay.cpp
src/vulkan/util/gen_enum_to_str.py