mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-14 22:01:04 +00:00
HLSL: compilation warning fix: no functional change
One liner to eliminate a compile warning.
This commit is contained in:
parent
5ea6a192f0
commit
1892886ae1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user