intel/nir/rt: spill/fill the entire ray query data
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 19 Jul 2022 18:47:45 +0000 (21:47 +0300)
committerMarge Bot <emma+marge@anholt.net>
Fri, 23 Sep 2022 08:29:17 +0000 (08:29 +0000)
commitf843bec7de903752734c8cb8e66c57e91f5a10fb
tree84425046c299d4a8eb5973aa67f3e6f56626b4c7
parenta88f725eeaa0ae65c57927e74fcc369bd926e1a8
intel/nir/rt: spill/fill the entire ray query data

We need the traversal stack to saved/restored along with mem hits.
Total spill/fill is 256bytes.

We can potentially optimize this but we have to be very careful about
what state the query is in.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: c78be5da300ae3 ("intel/fs: lower ray query intrinsics")
Reviewed-by: Ivan Briano <ivan.briano@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17396>
src/intel/compiler/brw_nir_lower_ray_queries.c