diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2022-08-16 16:24:37 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-16 13:24:37 -0700 |
| commit | a10a94dcb86e51d74d7c545d99d98110f88e3081 (patch) | |
| tree | 03da2e66ff793aa4f68a23a47a81d5cbb097206e /tests/preprocessor/simple-pre-defined.hlsl.expected | |
| parent | 42de00db3ffe07599fff6d47d0d7228181ee3082 (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 'tests/preprocessor/simple-pre-defined.hlsl.expected')
| -rw-r--r-- | tests/preprocessor/simple-pre-defined.hlsl.expected | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/preprocessor/simple-pre-defined.hlsl.expected b/tests/preprocessor/simple-pre-defined.hlsl.expected new file mode 100644 index 000000000..98911f3c7 --- /dev/null +++ b/tests/preprocessor/simple-pre-defined.hlsl.expected @@ -0,0 +1,6 @@ +result code = 0 +standard error = { +} +standard output = { +1 2020 0 1 +} |
