intel/nir/rt: add more helpers for ray queries
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 8 Nov 2021 13:00:46 +0000 (15:00 +0200)
committerMarge Bot <emma+marge@anholt.net>
Tue, 8 Feb 2022 12:55:25 +0000 (12:55 +0000)
commit046571479028aeb5577344a91f0c4d565415f4bc
tree7032c73bb015ccbb3aa9c7e079e59aa5faefa378
parentd5b994ec8aa4b85b0d131c2249452ffd4c429cc6
intel/nir/rt: add more helpers for ray queries

v2: Split stack_id helper in sync/async version (Caio)
    Fixup a few bit field mistake (Caio)
    Simplify some bitfield manipulations (Caio)

v3: Remove duplicated helper (Caio)
    Simplify brw_nir_rt_set_dword_bit_at (Caio)
    Comment brw_nir_rt_query_mark_init (Lionel)

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13719>
src/intel/compiler/brw_nir_rt_builder.h