diff options
| author | Tim Foley <tfoley@nvidia.com> | 2017-07-07 08:37:39 -0700 |
|---|---|---|
| committer | Tim Foley <tfoley@nvidia.com> | 2017-07-07 08:37:39 -0700 |
| commit | d644ddcc643be8b30e70b7585a1d32c958e990a4 (patch) | |
| tree | eec14828d64e529e8b0236dfa0c7e2850e210c44 /slang.h | |
| parent | 54519ed70fbe154e196d04a8b62f6ea6aeded52a (diff) | |
Add some reflection support for SSBO and `tbuffer` declarations
These are mostly copy-pasted from the existing `cbuffer` support, so there might be details I'm missing.
Diffstat (limited to 'slang.h')
| -rw-r--r-- | slang.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -358,7 +358,9 @@ extern "C" SLANG_TYPE_KIND_CONSTANT_BUFFER, SLANG_TYPE_KIND_RESOURCE, SLANG_TYPE_KIND_SAMPLER_STATE, - + SLANG_TYPE_KIND_TEXTURE_BUFFER, + SLANG_TYPE_KIND_SHADER_STORAGE_BUFFER, + SLANG_TYPE_KIND_COUNT, }; @@ -547,6 +549,8 @@ namespace slang ConstantBuffer = SLANG_TYPE_KIND_CONSTANT_BUFFER, Resource = SLANG_TYPE_KIND_RESOURCE, SamplerState = SLANG_TYPE_KIND_SAMPLER_STATE, + TextureBuffer = SLANG_TYPE_KIND_TEXTURE_BUFFER, + ShaderStorageBuffer = SLANG_TYPE_KIND_SHADER_STORAGE_BUFFER, }; enum ScalarType : SlangScalarType |
