Cthulhu
0.2.10
Cthulhu compiler collection
target.c
Go to the documentation of this file.
1
// SPDX-License-Identifier: GPL-3.0-only
2
3
#include "
hlsl/target.h
"
4
5
#include "
driver/driver.h
"
6
7
CT_DRIVER_API
const
target_t
kTargetHlsl
= {
8
.
info
= {
9
.
id
=
"target/hlsl"
,
10
.name =
"HLSL"
,
11
.version = {
12
.license =
"LGPLv3"
,
13
.author =
"Elliot Haisley"
,
14
.desc =
"HLSL code generation target"
,
15
.version =
CT_NEW_VERSION
(0, 0, 1),
16
},
17
},
18
};
19
20
CT_TARGET_EXPORT
(
kTargetHlsl
)
CT_NEW_VERSION
#define CT_NEW_VERSION(major, minor, patch)
creates a new ctu_version_t from major, minor and patch
Definition:
version_def.h:20
CT_TARGET_EXPORT
#define CT_TARGET_EXPORT(mod)
declares the entry point for a target driver module
target.h
kTargetHlsl
CT_DRIVER_API const target_t kTargetHlsl
Definition:
target.c:7
module_info_t::id
const char * id
unique id for the module
Definition:
broker.h:101
target_t
a codegen target backend
Definition:
broker.h:232
target_t::info
module_info_t info
information about the target
Definition:
broker.h:234
driver.h
target
hlsl
src
target.c
Generated by
1.9.1