Build: Fix three new warnings in HLSL code.
This commit is contained in:
parent
35dcbbef8e
commit
e4821e43c8
3 changed files with 4 additions and 4 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue