diff --git a/src/intel/vulkan/genX_acceleration_structure.c b/src/intel/vulkan/genX_acceleration_structure.c index e05834c5f37..ab9bae65953 100644 --- a/src/intel/vulkan/genX_acceleration_structure.c +++ b/src/intel/vulkan/genX_acceleration_structure.c @@ -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" diff --git a/src/intel/vulkan/genX_init_state.c b/src/intel/vulkan/genX_init_state.c index 46bdf6fadae..00d861604cf 100644 --- a/src/intel/vulkan/genX_init_state.c +++ b/src/intel/vulkan/genX_init_state.c @@ -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 diff --git a/src/intel/vulkan/genX_query.c b/src/intel/vulkan/genX_query.c index ef19c6efe50..f42298f85ab 100644 --- a/src/intel/vulkan/genX_query.c +++ b/src/intel/vulkan/genX_query.c @@ -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"