Home
last modified time | relevance | path

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

/external/angle/src/compiler/translator/
DParseContext.cpp4664 TIntermConstantUnion *indexConstantUnion = indexExpression->getAsConstantUnion(); in addIndexExpression() local
4675 if (indexExpression->getQualifier() != EvqConst || indexConstantUnion == nullptr) in addIndexExpression()
4746 if (indexConstantUnion) in addIndexExpression()
4755 if (indexConstantUnion->getBasicType() == EbtInt) in addIndexExpression()
4757 index = indexConstantUnion->getIConst(0); in addIndexExpression()
4759 else if (indexConstantUnion->getBasicType() == EbtUInt) in addIndexExpression()
4761 index = static_cast<int>(indexConstantUnion->getUConst(0)); in addIndexExpression()
4816 if (safeIndex != index || indexConstantUnion->getBasicType() != EbtInt) in addIndexExpression()
/external/swiftshader/src/OpenGL/compiler/
DParseHelper.cpp2495 TIntermConstantUnion *indexConstantUnion = indexExpression->getAsConstantUnion(); in addIndexExpression() local
2497 …if(indexExpression->getQualifier() == EvqConstExpr && indexConstantUnion) // TODO: Qualifier che… in addIndexExpression()
2499 int index = indexConstantUnion->getIConst(0); in addIndexExpression()
2563 indexConstantUnion->replaceConstantUnion(safeConstantUnion); in addIndexExpression()