Lines Matching defs:glslangOperands
2920 glslang::TIntermSequence& glslangOperands = node->getSequence();
2921 for (int i = 0; i < (int)glslangOperands.size(); ++i)
2922 glslangOperands[i]->traverse(this);
3146 glslang::TIntermSequence& glslangOperands = node->getSequence();
3147 if (glslangOperands[0]->getAsTyped()->getVectorSize() == 1)
3383 glslang::TIntermSequence& glslangOperands = node->getSequence();
3386 for (int arg = 0; arg < (int)glslangOperands.size(); ++arg) {
3468 if (glslangOperands[0]->getAsOperator() &&
3469 glslangOperands[0]->getAsOperator()->getOp() == glslang::EOpVectorSwizzle)
3471 glslangOperands[0]->getAsBinaryNode()->getLeft()->getType());
3509 if (glslangOperands[arg]->getAsTyped()->getQualifier().isSpirvByReference())
3514 if (arg == 0 && glslangOperands.size() != 2)
3526 glslangOperands[0]->getAsBinaryNode()->getLeft()->traverse(this);
3528 glslangOperands[arg]->traverse(this);
3539 glslangOperands[2]->traverse(this);
3541 spv::Id elementId = accessChainLoad(glslangOperands[2]->getAsTyped()->getType());
3547 TranslateCoherent(glslangOperands[arg]->getAsTyped()->getType()),
3548 glslangOperands[arg]->getAsTyped()->getType().getBufferReferenceAlignment());
3597 lvalueCoherentFlags |= TranslateCoherent(glslangOperands[arg]->getAsTyped()->getType());
3617 bool cond = glslangOperands[arg]->getAsConstantUnion()->getConstArray()[0].getBConst();
3626 const int location = glslangOperands[arg]->getAsConstantUnion()->getConstArray()[0].getUConst();
3636 const int location = glslangOperands[arg]->getAsConstantUnion()->getConstArray()[0].getUConst();
3642 } else if (glslangOperands[arg]->getAsTyped()->getQualifier().isSpirvLiteral()) {
3646 operands.push_back(accessChainLoad(glslangOperands[arg]->getAsTyped()->getType()));
3715 if (glslangOperands.size() == 4 && glslangOperands[3]->getAsConstantUnion()) {
3716 matrixOperands = glslangOperands[3]->getAsConstantUnion()->getConstArray()[0].getIConst();
3720 if (isTypeSignedInt(glslangOperands[0]->getAsTyped()->getBasicType()))
3722 if (isTypeSignedInt(glslangOperands[1]->getAsTyped()->getBasicType()))
3724 if (isTypeSignedInt(glslangOperands[2]->getAsTyped()->getBasicType()))
3747 for (unsigned int i = 0; i < glslangOperands.size(); ++i) {
3748 if (glslangOperands[i]->getAsTyped()->getQualifier().isSpirvLiteral()) {
3752 constants.push_back(glslangOperands[i]->getAsConstantUnion());
3777 switch (glslangOperands.size()) {
3789 glslangOperands[0]->getAsTyped()->getBasicType(), lvalueCoherentFlags);
3798 result = createInvertedSwizzle(precision, *glslangOperands[0]->getAsBinaryNode(), result);