SPV: Fix #995: Include memory decorations on parameters.
This commit is contained in:
parent
fad6297206
commit
961cd35b73
6 changed files with 171 additions and 0 deletions
|
|
@ -2918,6 +2918,7 @@ void TGlslangToSpvTraverser::makeFunctions(const glslang::TIntermSequence& glslF
|
|||
spv::Decoration paramPrecision = TranslatePrecisionDecoration(type);
|
||||
if (paramPrecision != spv::NoPrecision)
|
||||
decorations.push_back(paramPrecision);
|
||||
TranslateMemoryDecoration(type.getQualifier(), decorations);
|
||||
};
|
||||
|
||||
for (int f = 0; f < (int)glslFunctions.size(); ++f) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue