mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-14 16:38:06 +02:00
intel/vk/grl: Allow grl/grl_cl_kernel.h to be included by C++ files
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21670>
This commit is contained in:
parent
4a7ddc4841
commit
14007a525b
1 changed files with 3 additions and 3 deletions
|
|
@ -36,13 +36,13 @@ TEMPLATE_H = Template(COPYRIGHT + """
|
|||
#ifndef GRL_CL_KERNEL_H
|
||||
#define GRL_CL_KERNEL_H
|
||||
|
||||
#include "genxml/gen_macros.h"
|
||||
#include "compiler/brw_kernel.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "genxml/gen_macros.h"
|
||||
#include "compiler/brw_kernel.h"
|
||||
|
||||
enum grl_cl_kernel {
|
||||
% for k in kernels:
|
||||
GRL_CL_KERNEL_${k.upper()},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue