summaryrefslogtreecommitdiffstats
path: root/tools/gfx/renderer-shared.h
diff options
context:
space:
mode:
authorEllie Hermaszewska <ellieh@nvidia.com>2023-12-06 10:28:23 +0800
committerGitHub <noreply@github.com>2023-12-05 18:28:23 -0800
commitfa6d8717d02912697c09f2d7de802723ac6d6e47 (patch)
tree65c3662b6cd47ffd56cc0b5727df31daf46f8c0e /tools/gfx/renderer-shared.h
parent1050e0eb96d6c8e7a6cfb253458155e1014625c3 (diff)
squash warnings (#3378)
Co-authored-by: Yong He <yonghe@outlook.com>
Diffstat (limited to 'tools/gfx/renderer-shared.h')
-rw-r--r--tools/gfx/renderer-shared.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gfx/renderer-shared.h b/tools/gfx/renderer-shared.h
index 9e208c34c..d39b64873 100644
--- a/tools/gfx/renderer-shared.h
+++ b/tools/gfx/renderer-shared.h
@@ -342,7 +342,7 @@ struct ExtendedShaderObjectTypeList
void add(const ExtendedShaderObjectType& component)
{
componentIDs.add(component.componentID);
- components.add(slang::SpecializationArg{ slang::SpecializationArg::Kind::Type, component.slangType });
+ components.add(slang::SpecializationArg{ slang::SpecializationArg::Kind::Type, {component.slangType} });
}
void addRange(const ExtendedShaderObjectTypeList& list)
{