mirror of
https://github.com/RPCS3/glslang.git
synced 2024-11-24 11:50:06 +00:00
HLSL: Non-functional: warning fix, remove unused member.
Two non-functional changes:
1. Remove flattenLevel, which is unneeded since at or around d1be7545c6
.
2. Fix build warining about unused variable in executeInitializer.
This commit is contained in:
parent
a58cc9ffdf
commit
7a3cef10dc
@ -7553,7 +7553,6 @@ TIntermNode* HlslParseContext::executeInitializer(const TSourceLoc& loc, TInterm
|
||||
TType skeletalType;
|
||||
skeletalType.shallowCopy(variable->getType());
|
||||
skeletalType.getQualifier().makeTemporary();
|
||||
TIntermAggregate* initializerList = nullptr;
|
||||
if (initializer->getAsAggregate() && initializer->getAsAggregate()->getOp() == EOpNull)
|
||||
initializer = convertInitializerList(loc, skeletalType, initializer, nullptr);
|
||||
if (initializer == nullptr) {
|
||||
|
@ -374,7 +374,6 @@ protected:
|
||||
TVector<TSymbol*> ioArraySymbolResizeList;
|
||||
|
||||
TMap<int, TFlattenData> flattenMap;
|
||||
TVector<int> flattenLevel; // nested postfix operator level for flattening
|
||||
|
||||
// IO-type map. Maps a pure symbol-table form of a structure-member list into
|
||||
// each of the (up to) three kinds of IO, as each as different allowed decorations,
|
||||
|
Loading…
Reference in New Issue
Block a user