summaryrefslogtreecommitdiffstats
path: root/Graphics/GLSLTools
diff options
context:
space:
mode:
Diffstat (limited to 'Graphics/GLSLTools')
-rw-r--r--Graphics/GLSLTools/src/GLSLSourceBuilder.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Graphics/GLSLTools/src/GLSLSourceBuilder.cpp b/Graphics/GLSLTools/src/GLSLSourceBuilder.cpp
index d5a8ee09..d08eafb8 100644
--- a/Graphics/GLSLTools/src/GLSLSourceBuilder.cpp
+++ b/Graphics/GLSLTools/src/GLSLSourceBuilder.cpp
@@ -241,6 +241,7 @@ String BuildGLSLSourceString(const ShaderCreationAttribs& CreationAttribs, Targe
Attribs.ShaderType = CreationAttribs.Desc.ShaderType;
Attribs.IncludeDefinitions = true;
Attribs.InputFileName = CreationAttribs.FilePath;
+ Attribs.SamplerSuffix = CreationAttribs.CombinedSamplerSuffix;
auto ConvertedSource = Converter.Convert(Attribs);
GLSLSource.append(ConvertedSource);