anv: Disable Ray Tracing on xe2 until our compiler supports Xe2 RT
authorJordan Justen <jordan.l.justen@intel.com>
Wed, 6 Jul 2022 01:57:28 +0000 (18:57 -0700)
committerMarge Bot <emma+marge@anholt.net>
Wed, 27 Sep 2023 21:11:18 +0000 (21:11 +0000)
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25411>

src/intel/vulkan/genX_acceleration_structure.c
src/intel/vulkan/genX_init_state.c
src/intel/vulkan/genX_query.c

index e05834c..ab9bae6 100644 (file)
@@ -33,7 +33,7 @@
 #include "genxml/genX_pack.h"
 #include "genxml/genX_rt_pack.h"
 
-#if GFX_VERx10 >= 125
+#if GFX_VERx10 == 125
 
 #include "grl/grl_structs.h"
 
index 46bdf6f..00d8616 100644 (file)
@@ -37,7 +37,7 @@
 
 #include "vk_standard_sample_locations.h"
 
-#if GFX_VERx10 >= 125 && ANV_SUPPORT_RT
+#if GFX_VERx10 == 125 && ANV_SUPPORT_RT
 #include "grl/genX_grl.h"
 #endif
 
@@ -676,7 +676,7 @@ void
 genX(init_physical_device_state)(ASSERTED struct anv_physical_device *pdevice)
 {
    assert(pdevice->info.verx10 == GFX_VERx10);
-#if GFX_VERx10 >= 125 && ANV_SUPPORT_RT
+#if GFX_VERx10 == 125 && ANV_SUPPORT_RT
    genX(grl_load_rt_uuid)(pdevice->rt_uuid);
    pdevice->max_grl_scratch_size = genX(grl_max_scratch_size)();
 #endif
index ef19c6e..f42298f 100644 (file)
@@ -1826,7 +1826,7 @@ void genX(CmdCopyQueryPoolResults)(
    }
 }
 
-#if GFX_VERx10 >= 125 && ANV_SUPPORT_RT
+#if GFX_VERx10 == 125 && ANV_SUPPORT_RT
 
 #include "grl/include/GRLRTASCommon.h"
 #include "grl/grl_metakernel_postbuild_info.h"