Commit 91c46c65 by John Kessenich Committed by GitHub

Merge pull request #932 from LoopDawg/warning-fix-1

HLSL: compilation warning fix: no functional change
parents 5ea6a192 1892886a
......@@ -1165,7 +1165,7 @@ bool HlslParseContext::shouldFlatten(const TType& type) const
const TStorageQualifier qualifier = type.getQualifier().storage;
return (qualifier == EvqUniform && type.isArray() && intermediate.getFlattenUniformArrays()) ||
type.isStruct() && type.containsOpaque();
(type.isStruct() && type.containsOpaque());
}
// Top level variable flattening: construct data
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment