intel/genxml: add a genX RT include header

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/33751>
This commit is contained in:
Lionel Landwerlin 2024-09-24 15:30:40 +03:00 committed by Marge Bot
parent 17ba9a19d1
commit 374d2168ee

View file

@ -0,0 +1,24 @@
/* Copyright © 2024 Intel Corporation
* SPDX-License-Identifier: MIT
*/
#ifndef GENX_RT_CL_PACK_H
#define GENX_RT_CL_PACK_H
#ifndef GFX_VERx10
# error "The GFX_VERx10 macro must be defined"
#endif
#if (GFX_VERx10 < 125)
/* No RT support for those gfx ver */
#elif (GFX_VERx10 == 125)
# include "genxml/gen125_rt_cl_pack.h"
#elif (GFX_VERx10 == 200)
# include "genxml/gen200_rt_cl_pack.h"
#elif (GFX_VERx10 == 300)
# include "genxml/gen300_rt_cl_pack.h"
#else
# error "Need to add a pack header include for this gen"
#endif
#endif /* GENX_RT_CL_PACK_H */