ac/nir_to_llvm: add ac_are_tessfactors_def_in_all_invocs()
authorTimothy Arceri <tarceri@itsqueeze.com>
Tue, 18 Dec 2018 01:05:31 +0000 (12:05 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Tue, 1 Jan 2019 23:01:24 +0000 (10:01 +1100)
commit2832bc972bfb512b314a3180a1258be984807760
treebe44f4ba55e5985ecc0c652edd065131cc51917a
parent2817a4ec0bebfda5fe1a4a1d72a8902b9a39e4dd
ac/nir_to_llvm: add ac_are_tessfactors_def_in_all_invocs()

The following patch will use this with the radeonsi NIR backend
but I've added it to ac so we can use it with RADV in future.

This is a NIR implementation of the tgsi function
tgsi_scan_tess_ctrl().

Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/amd/common/ac_nir_to_llvm.c
src/amd/common/ac_nir_to_llvm.h