Lines Matching refs:getVectorSize
193 const int components = txType.getVectorSize(); in getLayoutFromTxType()
351 return std::all_of(compIsSet.begin(), compIsSet.begin() + var->getType().getVectorSize(), in handleLvalue()
782 const int vecSize = index->getType().getVectorSize(); in makeIntegerIndex()
959 parseSwizzleSelector(loc, field, base->getVectorSize(), selectors); in handleDotDereference()
969 if (base->getVectorSize() == 1) { in handleDotDereference()
1500 clipSemanticNSizeIn[loc] = type.getVectorSize(); in fixBuiltInIoType()
1502 clipSemanticNSizeOut[loc] = type.getVectorSize(); in fixBuiltInIoType()
1505 cullSemanticNSizeIn[loc] = type.getVectorSize(); in fixBuiltInIoType()
1507 cullSemanticNSizeOut[loc] = type.getVectorSize(); in fixBuiltInIoType()
2493 const int internalVectorSize = internalNode->getType().getVectorSize(); in assignClipCullDistance()
2549 const int clipCullVectorSize = clipCullSym->getType().getVectorSize(); in assignClipCullDistance()
2559 assert(clipCullSym->getType().getVectorSize() == 1); in assignClipCullDistance()
3652 result->setType(TType(node->getType().getBasicType(), EvqTemporary, node->getVectorSize())); in decomposeSampleMethods()
3698 for (int component = 0; component < memberType.getVectorSize(); ++component) { in decomposeSampleMethods()
3730 if (retType.getVectorSize() < node->getVectorSize()) { in decomposeSampleMethods()
3778 assert(argCoord->getVectorSize() == 4); in decomposeSampleMethods()
3838 …tCoord->setType(TType(arg1->getBasicType(), EvqTemporary, std::max(arg1->getVectorSize() - 1, 0))); in decomposeSampleMethods()
4079 const int coordDimWithCmpVal = argCoord->getType().getVectorSize() + 1; // +1 for cmp in decomposeSampleMethods()
4147 int swizzleSize = argCoord->getType().getVectorSize() - (isMS ? 0 : 1); in decomposeSampleMethods()
4669 typedArg->getVectorSize(), in decomposeIntrinsic()
4738 arg0->getType().getVectorSize(), in decomposeIntrinsic()
4745 std::max(arg0->getType().getVectorSize(), 1) * in decomposeIntrinsic()
5007 const int vecSize = argValue->getType().getVectorSize(); in decomposeIntrinsic()
5058 const int vecSize = argValue->getType().getVectorSize(); in decomposeIntrinsic()
5149 … const TType boolType(EbtBool, EvqTemporary, arg0->getVectorSize(), arg0->getMatrixCols(), in decomposeIntrinsic()
5470 if (arg0->getVectorSize() < arg1->getMatrixCols()) { in addGenMulArgumentConversion()
5473 0, arg0->getVectorSize(), arg1->getMatrixRows()); in addGenMulArgumentConversion()
5475 } else if (arg0->getVectorSize() > arg1->getMatrixCols()) { in addGenMulArgumentConversion()
5483 if (arg1->getVectorSize() < arg0->getMatrixRows()) { in addGenMulArgumentConversion()
5486 0, arg0->getMatrixCols(), arg1->getVectorSize()); in addGenMulArgumentConversion()
5488 } else if (arg1->getVectorSize() > arg0->getMatrixRows()) { in addGenMulArgumentConversion()
5906 for (int c = 0; c < type.getVectorSize(); ++c) { in builtInOpCheck()
6181 …ermediate.addConversion(EOpConstructBool, TType(EbtBool, EvqTemporary, condition->getVectorSize()), in convertConditionalExpression()
6428 type.getVectorSize() >= 1 && function[0].type->getVectorSize() >= 1) in constructorError()
7392 (from.isVector() && to.isVector() && from.getVectorSize() >= to.getVectorSize())) in findFunction()
7412 if (from.getVectorSize() == to2.getVectorSize() && in findFunction()
7413 from.getVectorSize() != to1.getVectorSize()) in findFunction()
7415 if (from.getVectorSize() == to1.getVectorSize() && in findFunction()
7416 from.getVectorSize() != to2.getVectorSize()) in findFunction()
8060 lengthenList(loc, initList->getSequence(), type.getVectorSize(), scalarInit); in convertInitializerList()
8063 if (type.getVectorSize() != (int)initList->getSequence().size()) { in convertInitializerList()
8424 if (constructeeComponent == constructee->getVectorSize()) { in convertArray()
8437 TType crossType(node->getBasicType(), EvqTemporary, type.getVectorSize()); in convertArray()
8441 if (type.getVectorSize() == constructee->getVectorSize()) { in convertArray()
8447 if (type.getVectorSize() == 1) in convertArray()
8452 for (int c = 0; c < type.getVectorSize(); ++c) in convertArray()
9406 sampler.vectorSize = retType.getVectorSize(); in setTextureReturnType()
9440 const unsigned memberVectorSize = (*members)[m].type->getVectorSize(); in setTextureReturnType()
9492 const TType resultType(sampler.type, EvqTemporary, sampler.getVectorSize()); in getTextureReturnType()