Home
last modified time | relevance | path

Searched refs:declInit (Results 1 – 1 of 1) sorted by relevance

/external/swiftshader/src/OpenGL/compiler/
DValidateLimitations.cpp253 TIntermBinary* declInit = declSeq[0]->getAsBinaryNode(); in validateForLoopInit() local
254 if (!declInit || (declInit->getOp() != EOpInitialize)) { in validateForLoopInit()
258 TIntermSymbol* symbol = declInit->getLeft()->getAsSymbolNode(); in validateForLoopInit()
260 error(declInit->getLine(), "Invalid init declaration", "for"); in validateForLoopInit()
271 if (!isConstExpr(declInit->getRight())) { in validateForLoopInit()
272 error(declInit->getLine(), in validateForLoopInit()