intel/fs: Handle nir_intrinsic_terminate
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Fri, 8 May 2020 16:08:55 +0000 (09:08 -0700)
committerMarge Bot <eric+marge@anholt.net>
Thu, 15 Oct 2020 21:40:09 +0000 (21:40 +0000)
commite7e24d5039cca6c1254935ea8067e7c925b04c51
treee376922bac0aa5c44db0b67d2d17bae0c1bbe0fe
parent886d2d1a9abcb0572a957c24ae44de4d6c055bc0
intel/fs: Handle nir_intrinsic_terminate

For terminate operation, jump the invocation without predicating on
the rest of the quad being disabled -- which is what is done for
demote and discard.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7150>
src/intel/compiler/brw_fs.cpp
src/intel/compiler/brw_fs.h
src/intel/compiler/brw_fs_nir.cpp