Commit 48dc5872 by John Kessenich Committed by GitHub

Merge pull request #1005 from LoopDawg/remove-unused

HLSL: Non-functional: warning fix + remove unused member
parents a58cc9ff 7a3cef10
...@@ -7553,7 +7553,6 @@ TIntermNode* HlslParseContext::executeInitializer(const TSourceLoc& loc, TInterm ...@@ -7553,7 +7553,6 @@ TIntermNode* HlslParseContext::executeInitializer(const TSourceLoc& loc, TInterm
TType skeletalType; TType skeletalType;
skeletalType.shallowCopy(variable->getType()); skeletalType.shallowCopy(variable->getType());
skeletalType.getQualifier().makeTemporary(); skeletalType.getQualifier().makeTemporary();
TIntermAggregate* initializerList = nullptr;
if (initializer->getAsAggregate() && initializer->getAsAggregate()->getOp() == EOpNull) if (initializer->getAsAggregate() && initializer->getAsAggregate()->getOp() == EOpNull)
initializer = convertInitializerList(loc, skeletalType, initializer, nullptr); initializer = convertInitializerList(loc, skeletalType, initializer, nullptr);
if (initializer == nullptr) { if (initializer == nullptr) {
......
...@@ -374,7 +374,6 @@ protected: ...@@ -374,7 +374,6 @@ protected:
TVector<TSymbol*> ioArraySymbolResizeList; TVector<TSymbol*> ioArraySymbolResizeList;
TMap<int, TFlattenData> flattenMap; 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 // 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, // each of the (up to) three kinds of IO, as each as different allowed decorations,
......
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