vulkan/device_select: Stop using device properties 2.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 11 Jan 2021 14:20:40 +0000 (15:20 +0100)
committerMarge Bot <eric+marge@anholt.net>
Mon, 22 Feb 2021 13:18:53 +0000 (13:18 +0000)
commit38ce8d4d00c2b0e567b6dd36876cf171acb1dbc7
treedeaf2ea03cbfb6a1aa1efd872da15b878e2f29df
parent2d520b692354ded47dbc32d19c2be253727bc935
vulkan/device_select: Stop using device properties 2.

We have to choose between:
1) Stop handling two identical GPUs
2) Stop having crashes with other layers active.
3) Fix the Vulkan Loader.

Since nobody seems to want to spend enough effort to do 3 the
effective choice is between 1 and 2. This is choosing 2, as
two identical GPUs is pretty uncommon since crossfire doesn't
work on Linux anyway.

(And it would only work sporadically as the game needs to enable the
 extension)

CC: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3801
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8414>
src/vulkan/device-select-layer/device_select_layer.c