Home | History | Annotate | Download | only in hlsl

Lines Matching refs:getVectorSize

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