intel/nir: document RT builder
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 11 Jan 2022 09:31:07 +0000 (11:31 +0200)
committerMarge Bot <emma+marge@anholt.net>
Tue, 8 Feb 2022 12:55:25 +0000 (12:55 +0000)
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

index 5a4cfff..86de1ad 100644 (file)
 #ifndef BRW_NIR_RT_BUILDER_H
 #define BRW_NIR_RT_BUILDER_H
 
+/* This file provides helpers to access memory based data structures that the
+ * RT hardware reads/writes and their locations.
+ *
+ * See also "Memory Based Data Structures for Ray Tracing" (BSpec 47547) and
+ * "Ray Tracing Address Computation for Memory Resident Structures" (BSpec
+ * 47550).
+ */
+
 #include "brw_rt.h"
 #include "nir_builder.h"