diff options
Diffstat (limited to 'source/slang/slang-type-layout.cpp')
| -rw-r--r-- | source/slang/slang-type-layout.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/slang/slang-type-layout.cpp b/source/slang/slang-type-layout.cpp index 83901ecc4..bc7e4608f 100644 --- a/source/slang/slang-type-layout.cpp +++ b/source/slang/slang-type-layout.cpp @@ -4131,7 +4131,7 @@ static TypeLayoutResult _createTypeLayout( type, rules); } - else if (auto subpassType = as<SubpassInputType>(type)) + else if (as<SubpassInputType>(type)) { ShaderParameterKind kind = ShaderParameterKind::SubpassInput; return createSimpleTypeLayout( @@ -4139,7 +4139,7 @@ static TypeLayoutResult _createTypeLayout( type, rules); } - else if (auto atomicType = as<GLSLAtomicUintType>(type)) + else if (as<GLSLAtomicUintType>(type)) { ShaderParameterKind kind = ShaderParameterKind::AtomicUint; return createSimpleTypeLayout( |
