Home | History | Annotate | Download | only in hlsl

Lines Matching refs:getSequence

226         TIntermTyped* object = lhsAsAggregate->getSequence()[0]->getAsTyped();
280 loadOp->getSequence().push_back(object);
281 loadOp->getSequence().push_back(intermediate.addSymbol(*coord->getAsSymbolNode()));
292 storeOp->getSequence().push_back(object);
293 storeOp->getSequence().push_back(coord);
294 storeOp->getSequence().push_back(intermediate.addSymbol(*rhsTmp));
343 const TIntermSequence& seq = asAggregate->getSequence();
373 TIntermTyped* object = lhsAsAggregate->getSequence()[0]->getAsTyped();
374 TIntermTyped* coord = lhsAsAggregate->getSequence()[1]->getAsTyped();
740 load->getSequence().push_back(base);
741 load->getSequence().push_back(index);
746 load->getSequence().push_back(mipsOperatorMipArg.back().mipLevel);
749 load->getSequence().push_back(intermediate.addConstantUnion(0, loc, true));
1745 const TIntermSequence& sequence = it->args->getSequence();
3019 const TIntermSequence& swizzle = left->getAsBinaryNode()->getRight()->getAsAggregate()->getSequence();
3097 txcombine->getSequence().push_back(argTex);
3098 txcombine->getSequence().push_back(argSampler);
3256 if (argAggregate->getSequence().empty())
3258 bufferObj = argAggregate->getSequence()[0]->getAsTyped();
3278 counterIncrement->getSequence().push_back(counter);
3279 counterIncrement->getSequence().push_back(incrementValue);
3292 TIntermTyped* argIndex = makeIntegerIndex(argAggregate->getSequence()[1]->getAsTyped()); // index
3324 TIntermTyped* argIndex = makeIntegerIndex(argAggregate->getSequence()[1]->getAsTyped()); // index
3391 TIntermTyped* argIndex = makeIntegerIndex(argAggregate->getSequence()[1]->getAsTyped()); // index
3392 TIntermTyped* argValue = argAggregate->getSequence()[2]->getAsTyped(); // value
3457 const int numArgs = (int)argAggregate->getSequence().size();
3458 TIntermTyped* argNumItems = argAggregate->getSequence()[1]->getAsTyped(); // out num items
3459 TIntermTyped* argStride = numArgs > 2 ? argAggregate->getSequence()[2]->getAsTyped() : nullptr; // out stride
3508 TIntermSequence& sequence = argAggregate->getSequence();
3545 TIntermTyped* rValue = argAggregate->getSequence()[1]->getAsTyped();
3675 conversionAggregate->getSequence().push_back(shadowCopy);
3719 conversionAggregate->getSequence().push_back(memberAssign);
3724 conversionAggregate->getSequence().push_back(intermediate.addSymbol(*structVar, loc));
3757 if (argAggregate->getSequence().size() == 0 ||
3758 argAggregate->getSequence()[0]->getAsTyped()->getBasicType() != EbtSampler)
3768 if (argAggregate->getSequence().size() == 4)
3775 TIntermTyped *argSamp = argAggregate->getSequence()[0]->getAsTyped(); // sampler
3776 TIntermTyped *argCoord = argAggregate->getSequence()[1]->getAsTyped(); // coord
3797 constructCoord->getSequence().push_back(argCoord);
3802 tex->getSequence().push_back(argSamp); // sampler
3803 tex->getSequence().push_back(constructCoord); // coordinate
3804 tex->getSequence().push_back(argLod); // lod
3813 TIntermTyped* arg0 = argAggregate->getSequence()[0]->getAsTyped(); // sampler
3814 TIntermTyped* arg1 = argAggregate->getSequence()[1]->getAsTyped(); // coord
3833 constructCoord->getSequence().push_back(arg1);
3841 tex->getSequence().push_back(arg0); // sampler
3842 tex->getSequence().push_back(constructCoord); // coordinate
3843 tex->getSequence().push_back(bias); // bias
3854 TIntermTyped* argTex = argAggregate->getSequence()[0]->getAsTyped();
3855 TIntermTyped* argSamp = argAggregate->getSequence()[1]->getAsTyped();
3856 TIntermTyped* argCoord = argAggregate->getSequence()[2]->getAsTyped();
3864 argBias = argAggregate->getSequence()[nextArg++]->getAsTyped();
3868 if ((int)argAggregate->getSequence().size() == (nextArg+1)) { // last parameter is offset form
3870 argOffset = argAggregate->getSequence()[nextArg++]->getAsTyped();
3876 txsample->getSequence().push_back(txcombine);
3877 txsample->getSequence().push_back(argCoord);
3880 txsample->getSequence().push_back(argBias);
3883 txsample->getSequence().push_back(argOffset);
3892 TIntermTyped* argTex = argAggregate->getSequence()[0]->getAsTyped();
3893 TIntermTyped* argSamp = argAggregate->getSequence()[1]->getAsTyped();
3894 TIntermTyped* argCoord = argAggregate->getSequence()[2]->getAsTyped();
3895 TIntermTyped* argDDX = argAggregate->getSequence()[3]->getAsTyped();
3896 TIntermTyped* argDDY = argAggregate->getSequence()[4]->getAsTyped();
3902 if (argAggregate->getSequence().size() == 6) { // last parameter is offset form
3904 argOffset = argAggregate->getSequence()[5]->getAsTyped();
3910 txsample->getSequence().push_back(txcombine);
3911 txsample->getSequence().push_back(argCoord);
3912 txsample->getSequence().push_back(argDDX);
3913 txsample->getSequence().push_back(argDDY);
3916 txsample->getSequence().push_back(argOffset);
3932 TIntermTyped* argTex = argAggregate->getSequence()[0]->getAsTyped();
3941 const int numArgs = (int)argAggregate->getSequence().size();
3975 sizeQuery->getSequence().push_back(argTex);
3980 TIntermTyped* queryLod = mipQuery ? argAggregate->getSequence()[1]->getAsTyped() :
3982 sizeQuery->getSequence().push_back(queryLod);
4013 TIntermTyped* outParam = argAggregate->getSequence()[outParamBase + compNum]->getAsTyped();
4021 TIntermTyped* outParam = argAggregate->getSequence()[outParamBase + numDims]->getAsTyped();
4024 levelsQuery->getSequence().push_back(argTex);
4034 TIntermTyped* outParam = argAggregate->getSequence()[outParamBase + numDims]->getAsTyped();
4037 samplesQuery->getSequence().push_back(argTex);
4057 TIntermTyped* argTex = argAggregate->getSequence()[0]->getAsTyped();
4058 TIntermTyped* argSamp = argAggregate->getSequence()[1]->getAsTyped();
4059 TIntermTyped* argCoord = argAggregate->getSequence()[2]->getAsTyped();
4060 TIntermTyped* argCmpVal = argAggregate->getSequence()[3]->getAsTyped();
4076 if (argAggregate->getSequence().size() > 4)
4077 argOffset = argAggregate->getSequence()[4]->getAsTyped();
4093 coordWithCmp->getSequence().push_back(argCoord);
4095 coordWithCmp->getSequence
4106 txsample->getSequence().push_back(txcombine);
4107 txsample->getSequence().push_back(coordWithCmp);
4110 txsample->getSequence().push_back(argCmpVal);
4114 txsample->getSequence().push_back(intermediate.addConstantUnion(0.0, EbtFloat, loc, true));
4118 txsample->getSequence().push_back(argOffset);
4129 TIntermTyped* argTex = argAggregate->getSequence()[0]->getAsTyped();
4130 TIntermTyped* argCoord = argAggregate->getSequence()[1]->getAsTyped();
4161 const int numArgs = (int)argAggregate->getSequence().size();
4171 txfetch->getSequence().push_back(argTex);
4172 txfetch->getSequence().push_back(coordSwizzle);
4176 TIntermTyped* argSampleIdx = argAggregate->getSequence()[2]->getAsTyped();
4177 txfetch->getSequence().push_back(argSampleIdx);
4184 txfetch->getSequence().push_back(lodComponent);
4190 argOffset = argAggregate->getSequence()[offsetPos]->getAsTyped();
4191 txfetch->getSequence().push_back(argOffset);
4201 TIntermTyped* argTex = argAggregate->getSequence()[0]->getAsTyped();
4202 TIntermTyped* argSamp = argAggregate->getSequence()[1]->getAsTyped();
4203 TIntermTyped* argCoord = argAggregate->getSequence()[2]->getAsTyped();
4204 TIntermTyped* argLod = argAggregate->getSequence()[3]->getAsTyped();
4208 const int numArgs = (int)argAggregate->getSequence().size();
4211 argOffset = argAggregate->getSequence()[4]->getAsTyped();
4218 txsample->getSequence().push_back(txcombine);
4219 txsample->getSequence().push_back(argCoord);
4220 txsample->getSequence().push_back(argLod);
4223 txsample->getSequence().push_back(argOffset);
4232 TIntermTyped* argTex = argAggregate->getSequence()[0]->getAsTyped();
4233 TIntermTyped* argSamp = argAggregate->getSequence()[1]->getAsTyped();
4234 TIntermTyped* argCoord = argAggregate->getSequence()[2]->getAsTyped();
4238 if (argAggregate->getSequence().size() > 3)
4239 argOffset = argAggregate->getSequence()[3]->getAsTyped();
4246 txgather->getSequence().push_back(txcombine);
4247 txgather->getSequence().push_back(argCoord);
4251 txgather->getSequence().push_back(argOffset);
4297 TIntermTyped* argTex = argAggregate->getSequence()[arg++]->getAsTyped();
4298 TIntermTyped* argSamp = argAggregate->getSequence()[arg++]->getAsTyped();
4299 TIntermTyped* argCoord = argAggregate->getSequence()[arg++]->getAsTyped();
4307 const int argSize = (int)argAggregate->getSequence().size();
4336 argCmp = argOffset = argAggregate->getSequence()[arg++]->getAsTyped();
4341 argOffset = argAggregate->getSequence()[arg++]->getAsTyped();
4348 argOffsets[offsetNum] = argAggregate->getSequence()[arg++]->getAsTyped();
4353 // argStatus = argAggregate->getSequence()[arg++]->getAsTyped();
4363 txgather->getSequence().push_back(txcombine);
4364 txgather->getSequence().push_back(argCoord);
4377 initList->getSequence().push_back(argOffsets[offsetNum]);
4384 txgather->getSequence().push_back(argCmp);
4388 txgather->getSequence().push_back(argOffset);
4392 txgather->getSequence().push_back(argChannel);
4404 TIntermTyped* argTex = argAggregate->getSequence()[0]->getAsTyped();
4405 TIntermTyped* argSamp = argAggregate->getSequence()[1]->getAsTyped();
4406 TIntermTyped* argCoord = argAggregate->getSequence()[2]->getAsTyped();
4411 txquerylod->getSequence().push_back(txcombine);
4412 txquerylod->getSequence().push_back(argCoord);
4431 TIntermTyped* argTex = argAggregate->getSequence()[0]->getAsTyped();
4432 TIntermTyped* argSampIdx = argAggregate->getSequence()[1]->getAsTyped();
4435 samplesQuery->getSequence().push_back(argTex);
4494 argAggregate ? argAggregate->getSequence()[0]->getAsTyped() :
4501 if (argAggregate != nullptr && argAggregate->getSequence().size() > 1)
4541 TIntermTyped* data = argAggregate->getSequence()[1]->getAsTyped();
4593 atomic->getSequence().push_back(loadOp->getSequence()[0]);
4594 atomic->getSequence().push_back(loadOp->getSequence()[1]);
4636 TIntermTyped* arg0 = argAggregate->getSequence()[1]->getAsTyped();
4637 TIntermTyped* arg1 = argAggregate->getSequence()[0]->getAsTyped();
4688 clamp->getSequence().push_back(arg0);
4689 clamp->getSequence().push_back(intermediate.addConstantUnion(0, type0, loc, true));
4690 clamp->getSequence().push_back(intermediate.addConstantUnion(1, type0, loc, true));
4702 TIntermTyped* arg0 = argAggregate->getSequence()[0]->getAsTyped();
4703 TIntermTyped* arg1 = argAggregate->getSequence()[1]->getAsTyped();
4704 TIntermTyped* arg2 = argAggregate->getSequence()[2]->getAsTyped();
4733 less->getSequence().push_back(arg0);
4756 less->getSequence().push_back(intermediate.addConstantUnion(zeros, arg0->getType(), loc, true));
4795 TIntermTyped* arg0 = argAggregate->getSequence()[0]->getAsTyped();
4796 TIntermTyped* arg1 = argAggregate->getSequence()[1]->getAsTyped();
4809 dst->getSequence().push_back(intermediate.addConstantUnion(1.0, EbtFloat, loc, true));
4810 dst->getSequence().push_back(handleBinaryMath(loc, "mul", EOpMul, src0y, src1y));
4811 dst->getSequence().push_back(src0z);
4812 dst->getSequence().push_back(src1w);
4828 TIntermTyped* arg0 = argAggregate->getSequence()[0]->getAsTyped(); // dest
4829 TIntermTyped* arg1 = argAggregate->getSequence()[1]->getAsTyped(); // value
4832 if (argAggregate->getSequence().size() > 2)
4833 arg2 = argAggregate->getSequence()[2]->getAsTyped();
4845 atomic->getSequence().push_back(arg1);
4847 if (argAggregate->getSequence().size() > 2) {
4855 getSequence().size() > 2) {
4857 atomic->getSequence().push_back(arg0);
4858 atomic->getSequence().push_back(arg1);
4873 TIntermTyped* arg0 = argAggregate->getSequence()[0]->getAsTyped(); // dest
4874 TIntermTyped* arg1 = argAggregate->getSequence()[1]->getAsTyped(); // cmp
4875 TIntermTyped* arg2 = argAggregate->getSequence()[2]->getAsTyped(); // value
4876 TIntermTyped* arg3 = argAggregate->getSequence()[3]->getAsTyped(); // orig
4887 atomic->getSequence().push_back(arg0);
4890 atomic->getSequence().push_back(arg1);
4891 atomic->getSequence().push_back(arg2);
4906 TIntermTyped* arg0 = argAggregate->getSequence()[0]->getAsTyped(); // value
4907 TIntermTyped* arg1 = argAggregate->getSequence()[1]->getAsTyped(); // offset
4921 interp->getSequence().push_back(arg0);
4922 interp->getSequence().push_back(floatOffset);
4934 TIntermTyped* n_dot_l = argAggregate->getSequence()[0]->getAsTyped();
4935 TIntermTyped* n_dot_h = argAggregate->getSequence()[1]->getAsTyped();
4936 TIntermTyped* m = argAggregate->getSequence()[2]->getAsTyped();
4941 dst->getSequence().push_back(intermediate.addConstantUnion(1.0, EbtFloat, loc, true));
4946 diffuse->getSequence().push_back(n_dot_l);
4947 diffuse->getSequence().push_back(zero);
4950 dst->getSequence().push_back(diffuse);
4954 min_ndot->getSequence().push_back(n_dot_l);
4955 min_ndot->getSequence().push_back(n_dot_h);
4962 dst->getSequence().push_back(intermediate.addSelection(compare, zero, n_dot_h_m, loc));
4965 dst->getSequence().push_back(intermediate.addConstantUnion(1.0, EbtFloat, loc, true));
4977 TIntermTyped* arg0 = argAggregate->getSequence()[0]->getAsTyped();
4978 TIntermTyped* arg1 = argAggregate->getSequence()[1]->getAsTyped();
4987 uint64->getSequence().push_back(arg0);
4988 uint64->getSequence().push_back(arg1);
5042 result->getSequence().push_back(lowOrder);
5086 vec2ComponentAndZero->getSequence().push_back(component);
5087 vec2ComponentAndZero->getSequence().push_back(zero);
5097 result->getSequence().push_back(packOp);
5296 if (aggregate && aggregate->getSequence().size() > 0)
5297 arg0 = aggregate->getSequence()[0]->getAsTyped();
5441 arguments->getAsAggregate()->getSequence().insert(arguments->getAsAggregate()->getSequence().begin(), front);
5455 if (argAggregate == nullptr || argAggregate->getSequence().size() != 2) {
5461 TIntermTyped* arg0 = argAggregate->getSequence()[0]->getAsTyped();
5462 TIntermTyped* arg1 = argAggregate->getSequence()[1]->getAsTyped();
5512 if (arg0 != argAggregate->getSequence()[0] || arg1 != argAggregate->getSequence()[1])
5516 argAggregate->getSequence()[0] = arg0;
5517 argAggregate->getSequence()[1] = arg1;
5538 aggregate->getSequence()[paramNum] = arg;
5553 aggregate->getSequence()[param]->getAsTyped() :
5612 aggregate->getSequence()[paramNum] = arg;
5628 auto it = aggregate->getSequence().erase(aggregate->getSequence().begin() + paramNum);
5629 aggregate->getSequence().insert(it, args.begin(), args.end());
5643 aggregate->getSequence()[param + functionParamNumberOffset]->getAsTyped() :
5683 TIntermSequence& arguments = argSequence.empty() ? intermNode.getAsAggregate()->getSequence() : argSequence;
5767 std::any_of(aggregate->getSequence().begin(),
5768 aggregate->getSequence().end(),
5779 for (int param = 0; param < int(aggregate->getSequence().size()); ++param) {
5780 argsWithCounterBuffers.push_back(aggregate->getSequence()[param]);
5782 if (hasStructBuffCounter(aggregate->getSequence()[param]->getAsTyped()->getType())) {
5783 const TIntermSymbol* blockSym = aggregate->getSequence()[param]->getAsSymbolNode();
5802 aggregate->getSequence().swap(argsWithCounterBuffers);
5821 argp = &callNode.getAsAggregate()->getSequence();
7504 promote->getAsAggregate()->getSequence().swap(args->getAsAggregate()->getSequence());
7514 promote->getAsAggregate()->getSequence().swap(args->getAsAggregate()->getSequence());
7523 for (int arg=0; arg<int(args->getAsAggregate()->getSequence().size()); ++arg) {
7526 param.type->shallowCopy(args->getAsAggregate()->getSequence()[arg]->getAsTyped()->getType());
7988 arrayType.changeOuterArraySize((int)initList->getSequence().size());
7991 if (arrayType.isArrayOfArrays() && initList->getSequence().size() > 0) {
7992 TIntermTyped* firstInit = initList->getSequence()[0]->getAsTyped();
8003 lengthenList(loc, initList->getSequence(), arrayType.getOuterArraySize(), scalarInit);
8008 initList->getSequence()[i] = convertInitializerList(loc, elementType,
8009 initList->getSequence()[i]->getAsTyped(), scalarInit);
8010 if (initList->getSequence()[i] == nullptr)
8017 for (size_t i = initList->getSequence().size(); i < type.getStruct()->size(); ++i) {
8025 lengthenList(loc, initList->getSequence(), static_cast<int>(type.getStruct()->size()), scalarInit);
8027 if (type.getStruct()->size() != initList->getSequence().size()) {
8032 initList->getSequence()[i] = convertInitializerList(loc, *(*type.getStruct())[i].type,
8033 initList->getSequence()[i]->getAsTyped(), scalarInit);
8034 if (initList->getSequence()[i] == nullptr)
8038 if (type.computeNumComponents() == (int)initList->getSequence().size()) {
8044 lengthenList(loc, initList->getSequence(), type.getMatrixCols(), scalarInit);
8046 if (type.getMatrixCols() != (int)initList->getSequence().size()) {
8052 initList->getSequence()[i] = convertInitializerList(loc, vectorType,
8053 initList->getSequence()[i]->getAsTyped(), scalarInit);
8054 if (initList->getSequence()[i] == nullptr)
8060 lengthenList(loc, initList->getSequence(), type.getVectorSize(), scalarInit);
8063 if (type.getVectorSize() != (int)initList->getSequence().size()) {
8070 lengthenList(loc, initList->getSequence(), 1, scalarInit);
8072 if ((int)initList->getSequence().size() != 1) {
8084 if (initList->getSequence().size() == 1)
8085 emulatedConstructorArguments = initList->getSequence()[0]->getAsTyped();
8217 TIntermSequence& sequenceVector = aggrNode->getSequence(); // Stores the information about the parameter to the constructor
9112 body->getSequence() = *switchSequenceStack.back();
9624 TIntermSequence& epBodySeq = entryPointFunctionBody->getAsAggregate()->getSequence();
9945 append->node->getSequence()[0] =
9948 append->node->getSequence()[0]->getAsTyped());