diff options
author | Jason Ekstrand <jason@jlekstrand.net> | 2020-08-06 12:59:49 -0500 |
---|---|---|
committer | Marge Bot <eric+marge@anholt.net> | 2020-11-25 05:37:10 +0000 |
commit | c7660918d77851d35170e0064d22d2281fed5ac4 (patch) | |
tree | eda418ff9fe27e5ad73fba8d736b3c06ce4c561d /src/intel/Makefile.sources | |
parent | 6e50db4edac110f59b2381cbb27cb568a4a4b8ea (diff) |
intel/rt: Add a pass to lower the new ray-tracing intrinsics
The new intrinsics we added for doing address calculations are all
things we fetch from the RT_DISPATCH_GLOBALS struct. We could emit an
RT_DISPATCH_GLOBALS load at every point we want it and trust NIR to CSE
it for us but it's easier to use intermediate intrinsics.
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7356>
Diffstat (limited to 'src/intel/Makefile.sources')
-rw-r--r-- | src/intel/Makefile.sources | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/intel/Makefile.sources b/src/intel/Makefile.sources index 6b9300ddd91..7baced40d33 100644 --- a/src/intel/Makefile.sources +++ b/src/intel/Makefile.sources @@ -94,8 +94,10 @@ COMPILER_FILES = \ compiler/brw_nir_lower_cs_intrinsics.c \ compiler/brw_nir_lower_image_load_store.c \ compiler/brw_nir_lower_mem_access_bit_sizes.c \ + compiler/brw_nir_lower_rt_intrinsics.c \ compiler/brw_nir_lower_scoped_barriers.c \ compiler/brw_nir_opt_peephole_ffma.c \ + compiler/brw_nir_rt.h \ compiler/brw_nir_rt_builder.h \ compiler/brw_nir_tcs_workarounds.c \ compiler/brw_packed_float.c \ |