turnip: lower device index to zero
authorDanylo Piliaiev <dpiliaiev@igalia.com>
Thu, 11 Mar 2021 10:35:31 +0000 (12:35 +0200)
committerMarge Bot <eric+marge@anholt.net>
Thu, 11 Mar 2021 21:12:52 +0000 (21:12 +0000)
commitae3b95daa7b7e051b78b70c82d159c821f376fea
tree239b5b824fb6faf8b39e336a529fd1d979c376dd
parentee1f140fd9b295f2494606f803b4420bf752c112
turnip: lower device index to zero

Vulkan 1.1 has VK_KHR_device_group and VK_KHR_device_group_creation
promoted to core, thus we should handle DeviceIndex built-in.

While we are here, also add these extensions to the extensions list,
even though they are not doing anything useful.

Fixes test:
 dEQP-VK.compute.device_group.device_index

Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9516>
src/freedreno/ir3/ir3_nir.c
src/freedreno/vulkan/tu_extensions.py
src/freedreno/vulkan/tu_shader.c