Fix #800 (mostly): set of Linux warnings.
This commit is contained in:
parent
9fb31ce8ec
commit
aa3c64c214
7 changed files with 11 additions and 12 deletions
|
|
@ -2777,7 +2777,7 @@ void TGlslangToSpvTraverser::makeFunctions(const glslang::TIntermSequence& glslF
|
|||
if (paramType.containsOpaque() || // sampler, etc.
|
||||
(paramType.getBasicType() == glslang::EbtBlock &&
|
||||
paramType.getQualifier().storage == glslang::EvqBuffer) || // SSBO
|
||||
p == 0 && implicitThis) // implicit 'this'
|
||||
(p == 0 && implicitThis)) // implicit 'this'
|
||||
typeId = builder.makePointer(TranslateStorageClass(paramType), typeId);
|
||||
else if (paramType.getQualifier().storage != glslang::EvqConstReadOnly)
|
||||
typeId = builder.makePointer(spv::StorageClassFunction, typeId);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue