diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2020-03-03 18:41:07 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-03 18:41:07 -0500 |
| commit | 5951d2a45f3546a619fb5b032a4a422229c46e4c (patch) | |
| tree | 04962fbce2e61a4fabf4449ea5bb4e8851d49c67 /source/slang/slang-syntax.h | |
| parent | 0f1f4a42df4efd32b80fd2b01f3893435e47e980 (diff) | |
__spirv_version Decoration (#1255)
* WIP add support for __spirv_version .
* Added IRRequireSPIRVVersionDecoration
Diffstat (limited to 'source/slang/slang-syntax.h')
| -rw-r--r-- | source/slang/slang-syntax.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/slang/slang-syntax.h b/source/slang/slang-syntax.h index 660cdb2d5..7a7ea3603 100644 --- a/source/slang/slang-syntax.h +++ b/source/slang/slang-syntax.h @@ -32,6 +32,8 @@ namespace Slang class Parser; class SyntaxNode; + enum class SPIRVVersion : uint32_t; + typedef RefPtr<RefObject> (*SyntaxParseCallback)(Parser* parser, void* userData); typedef unsigned int ConversionCost; |
