HLSL: nonfunctional: rename setId -> switchId, add comment

Method rename, add comment about its intended use.  No
test diffs.
This commit is contained in:
LoopDawg
2017-10-07 16:42:37 -06:00
parent bb79abccb3
commit 028c5a8dc4
2 changed files with 5 additions and 2 deletions

View File

@@ -2994,7 +2994,7 @@ TIntermAggregate* HlslParseContext::handleSamplerTextureCombine(const TSourceLoc
argTex->getWritableType().getSampler().shadow = shadowMode;
samplerType.shadow = shadowMode;
texSymbol->setId(newId);
texSymbol->switchId(newId);
}
txcombine->setType(TType(samplerType, EvqTemporary));