anv: Don't over-advertise descriptor indexing features
authorJason Ekstrand <jason@jlekstrand.net>
Mon, 13 Jan 2020 18:55:41 +0000 (12:55 -0600)
committerMarge Bot <eric+marge@anholt.net>
Mon, 13 Jan 2020 22:33:55 +0000 (22:33 +0000)
commitd36eed3e695d8f39495a3d81373a8c47853bae7e
tree0361c936ece6f859eb9c25d90a1e27aa5a21aae2
parentd7ff137445b9bfd0cf15d176d0d152d16634559f
anv: Don't over-advertise descriptor indexing features

We should only advertise sub-features if we advertise the extension.

Fixes: 6e230d7607f "anv: Implement VK_EXT_descriptor_indexing"
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Reviewed-by: Ivan Briano <ivan.briano@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3369>
src/intel/vulkan/anv_device.c