diff options
Diffstat (limited to 'source/slang/slang-type-layout.cpp')
| -rw-r--r-- | source/slang/slang-type-layout.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/slang/slang-type-layout.cpp b/source/slang/slang-type-layout.cpp index 3f49d62d2..f7efd4ee4 100644 --- a/source/slang/slang-type-layout.cpp +++ b/source/slang/slang-type-layout.cpp @@ -3858,6 +3858,14 @@ static TypeLayoutResult _createTypeLayout( type, rules); } + else if (auto atomicType = as<GLSLAtomicUintType>(type)) + { + ShaderParameterKind kind = ShaderParameterKind::AtomicUint; + return createSimpleTypeLayout( + rules->GetObjectLayout(kind, context.objectLayoutOptions), + type, + rules); + } // TODO: need a better way to handle this stuff... #define CASE(TYPE, KIND) \ |
