anv,nir: Lower quad_broadcast with dynamic index in NIR
authorJason Ekstrand <jason@jlekstrand.net>
Mon, 16 Dec 2019 16:43:18 +0000 (10:43 -0600)
committerJason Ekstrand <jason@jlekstrand.net>
Wed, 15 Jan 2020 14:34:57 +0000 (08:34 -0600)
commit721666e52a7e95b5bc1a7bcfc9cb6b8d43f2c97f
tree7228c32ece1a4627149e0ab8f751372cbf350260
parent7e3e2ce702852d2617c250ad6cb68371697d9fa4
anv,nir: Lower quad_broadcast with dynamic index in NIR

This is required for the subgroupBroadcastDynamicId feature that was
added in Vulkan 1.2.

Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
src/compiler/nir/nir.h
src/compiler/nir/nir_lower_subgroups.c
src/intel/compiler/brw_nir.c