From 288841f66c808af70ad7687f9704c87075129b18 Mon Sep 17 00:00:00 2001 From: Yong He Date: Sat, 4 Nov 2017 16:09:48 -0400 Subject: fixed all warnings --- source/slang/type-layout.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/slang/type-layout.cpp') 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 -- cgit v1.2.3