summaryrefslogtreecommitdiffstats
path: root/source/compiler-core/slang-downstream-compiler-util.cpp
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2022-08-16 16:24:37 -0400
committerGitHub <noreply@github.com>2022-08-16 13:24:37 -0700
commita10a94dcb86e51d74d7c545d99d98110f88e3081 (patch)
tree03da2e66ff793aa4f68a23a47a81d5cbb097206e /source/compiler-core/slang-downstream-compiler-util.cpp
parent42de00db3ffe07599fff6d47d0d7228181ee3082 (diff)
Add some simple macro defines including __HLSL_VERSION (#2363)
* #include an absolute path didn't work - because paths were taken to always be relative. * Add standard macros including __HLSL_VERSION * Added hlsl test. * Defined standard macro names to values, so not undefined. Allows more convenient #if style. Co-authored-by: Yong He <yonghe@outlook.com>
Diffstat (limited to 'source/compiler-core/slang-downstream-compiler-util.cpp')
0 files changed, 0 insertions, 0 deletions