intel/nir: Add a helper for getting BRW_AOP from an intrinsic
authorJason Ekstrand <jason@jlekstrand.net>
Wed, 21 Aug 2019 04:10:50 +0000 (23:10 -0500)
committerJason Ekstrand <jason@jlekstrand.net>
Wed, 21 Aug 2019 17:19:55 +0000 (17:19 +0000)
commit021fa28163a1a8a3bda83a615d20930d2b35c651
treee3682c898282e83587dd4fbc9867f5e1043a840a
parent951cf94521a710fa2fa70329ff77934ada45bb70
intel/nir: Add a helper for getting BRW_AOP from an intrinsic

So many duplicated switch statements....

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/compiler/brw_fs_nir.cpp
src/intel/compiler/brw_nir.c
src/intel/compiler/brw_nir.h
src/intel/compiler/brw_vec4_nir.cpp