radv: fix robust_buffer_access if enabled via VkPhysicalDeviceFeatures2
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 23 Apr 2020 12:05:07 +0000 (14:05 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 27 Apr 2020 07:33:44 +0000 (09:33 +0200)
commit574196d5f6f4769c7c5b8e126226dbda4b2f4df9
treecd9b9197e002bf885cbe5ec2221289a82588d0f5
parent8faa0e2c1b295d271a5ca98ac9c46462a1522524
radv: fix robust_buffer_access if enabled via VkPhysicalDeviceFeatures2

It can be enabled via pEnabledFeatures or via vkPhysicalDeviceFeatures2.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4706>
src/amd/vulkan/radv_device.c