mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 20:48:08 +02:00
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:
parent
17ba9a19d1
commit
374d2168ee
1 changed files with 24 additions and 0 deletions
24
src/intel/genxml/genX_rt_cl_pack.h
Normal file
24
src/intel/genxml/genX_rt_cl_pack.h
Normal 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 */
|
||||
Loading…
Add table
Reference in a new issue