intel/compiler: Make brw_nir_lower_intrinsics compute-specific
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 6 Oct 2017 17:08:11 +0000 (10:08 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 13 Oct 2017 05:39:30 +0000 (22:39 -0700)
commitb1d1b7222acfe45e447d1708d60b3ff98ca5a9a7
treec6ecf720d2fb8a15238bb8f1e02596b5d2df1762
parent2db9470d88bb4856152465f44fa090f1a1bbf039
intel/compiler: Make brw_nir_lower_intrinsics compute-specific

It's already only ever called from brw_compile_cs and only handles
compute intrinsics.  Let's just make it CS-specific.  We can always
make it handle other stages again later if we want.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/Makefile.sources
src/intel/compiler/brw_fs.cpp
src/intel/compiler/brw_nir.h
src/intel/compiler/brw_nir_lower_cs_intrinsics.c [moved from src/intel/compiler/brw_nir_intrinsics.c with 89% similarity]
src/intel/compiler/meson.build