diff options
| author | Tim Foley <tfoleyNV@users.noreply.github.com> | 2020-05-15 14:42:02 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-15 14:42:02 -0700 |
| commit | 4397d90fe14940e421a4e87df51b22d78d5efe9e (patch) | |
| tree | b81b570e84df750d42b8147b2c8fc3cccdb8ad86 | |
| parent | d41f5d460f64c21dda45bdce24de77984d91c8bb (diff) | |
Add a few missing enum cases to slang.h (#1347)
These are cases where the C-style API had the appropriate `SLANG_*` case defined, but the wrapper C++ `enum class` declaration didn't have a matching case.
| -rw-r--r-- | slang.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -2187,6 +2187,7 @@ namespace slang ParameterBlock = SLANG_TYPE_KIND_PARAMETER_BLOCK, GenericTypeParameter = SLANG_TYPE_KIND_GENERIC_TYPE_PARAMETER, Interface = SLANG_TYPE_KIND_INTERFACE, + OutputStream = SLANG_TYPE_KIND_OUTPUT_STREAM, Specialized = SLANG_TYPE_KIND_SPECIALIZED, }; @@ -2202,6 +2203,10 @@ namespace slang Float16 = SLANG_SCALAR_TYPE_FLOAT16, Float32 = SLANG_SCALAR_TYPE_FLOAT32, Float64 = SLANG_SCALAR_TYPE_FLOAT64, + Int8 = SLANG_SCALAR_TYPE_INT8, + UInt8 = SLANG_SCALAR_TYPE_UINT8, + Int16 = SLANG_SCALAR_TYPE_INT16, + UInt16 = SLANG_SCALAR_TYPE_UINT16, }; Kind getKind() |
