Build: Fix three new warnings in HLSL code.

This commit is contained in:
John Kessenich
2016-07-16 10:19:43 -06:00
parent 35dcbbef8e
commit e4821e43c8
3 changed files with 4 additions and 4 deletions

View File

@@ -906,7 +906,7 @@ void HlslParseContext::decomposeSampleMethods(const TSourceLoc& loc, TIntermType
TOperator textureOp = EOpTexture;
if (argAggregate->getSequence().size() == (nextArg+1)) { // last parameter is offset form
if ((int)argAggregate->getSequence().size() == (nextArg+1)) { // last parameter is offset form
textureOp = EOpTextureOffset;
argOffset = argAggregate->getSequence()[nextArg++]->getAsTyped();
}