nir: Add cull_mask_and_flags_amd intrinsic
authorKonstantin Seurer <konstantin.seurer@gmail.com>
Wed, 22 Feb 2023 16:47:58 +0000 (17:47 +0100)
committerMarge Bot <emma+marge@anholt.net>
Sat, 25 Feb 2023 12:07:46 +0000 (12:07 +0000)
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21470>

src/compiler/nir/nir_intrinsics.py

index f652fee..30ee381 100644 (file)
@@ -1467,6 +1467,7 @@ system_value("rt_dynamic_callable_stack_base_amd", 1)
 system_value("sbt_offset_amd", 1)
 system_value("sbt_stride_amd", 1)
 system_value("accel_struct_amd", 1, bit_sizes=[64])
+system_value("cull_mask_and_flags_amd", 1)
 
 #   0. SBT Index
 #   1. Ray Tmax