summaryrefslogtreecommitdiffstats
path: root/source/slang/type-layout.cpp
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2017-11-04 16:09:48 -0400
committerYong He <yonghe@outlook.com>2017-11-04 16:09:48 -0400
commit288841f66c808af70ad7687f9704c87075129b18 (patch)
treeb6e2e4f5a28be28b28a346f3803121c34bb28f87 /source/slang/type-layout.cpp
parent664e0da8dff1d04860cc46ce8139cbd47e15c552 (diff)
fixed all warnings
Diffstat (limited to 'source/slang/type-layout.cpp')
-rw-r--r--source/slang/type-layout.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/type-layout.cpp b/source/slang/type-layout.cpp
index bfdc6c366..822311f60 100644
--- a/source/slang/type-layout.cpp
+++ b/source/slang/type-layout.cpp
@@ -359,7 +359,7 @@ GLSLObjectLayoutRulesImpl kGLSLObjectLayoutRulesImpl;
struct GLSLPushConstantBufferObjectLayoutRulesImpl : GLSLObjectLayoutRulesImpl
{
- virtual SimpleLayoutInfo GetObjectLayout(ShaderParameterKind kind) override
+ virtual SimpleLayoutInfo GetObjectLayout(ShaderParameterKind /*kind*/) override
{
// Special-case the layout for a constant-buffer, because we don't
// want it to allocate a descriptor-table slot