Lines Matching refs:nextConst
201 …rray(const glslang::TType& type, const glslang::TConstUnionArray&, int& nextConst, bool specConsta…
2717 int nextConst = 0; in visitConstantUnion() local
2718 …t = createSpvConstantFromConstUnionArray(node->getType(), node->getConstArray(), nextConst, false); in visitConstantUnion()
7418 int nextConst = 0; local
7420 nextConst, false);
7451 int nextConst = 0; local
7452 … result = createSpvConstantFromConstUnionArray(sn->getType(), *const_union_array, nextConst, true);
7473 …lang::TType& glslangType, const glslang::TConstUnionArray& consts, int& nextConst, bool specConsta… argument
7484 … spvConsts.push_back(createSpvConstantFromConstUnionArray(elementType, consts, nextConst, false));
7488 … spvConsts.push_back(createSpvConstantFromConstUnionArray(vectorType, consts, nextConst, false));
7492 … spvConsts.push_back(createSpvConstantFromConstUnionArray(*iter->type, consts, nextConst, false));
7495 bool zero = nextConst >= consts.size();
7498 … spvConsts.push_back(builder.makeInt8Constant(zero ? 0 : consts[nextConst].getI8Const()));
7501 … spvConsts.push_back(builder.makeUint8Constant(zero ? 0 : consts[nextConst].getU8Const()));
7504 … spvConsts.push_back(builder.makeInt16Constant(zero ? 0 : consts[nextConst].getI16Const()));
7507 … spvConsts.push_back(builder.makeUint16Constant(zero ? 0 : consts[nextConst].getU16Const()));
7510 … spvConsts.push_back(builder.makeIntConstant(zero ? 0 : consts[nextConst].getIConst()));
7513 … spvConsts.push_back(builder.makeUintConstant(zero ? 0 : consts[nextConst].getUConst()));
7516 … spvConsts.push_back(builder.makeInt64Constant(zero ? 0 : consts[nextConst].getI64Const()));
7519 … spvConsts.push_back(builder.makeUint64Constant(zero ? 0 : consts[nextConst].getU64Const()));
7522 …spvConsts.push_back(builder.makeFloatConstant(zero ? 0.0F : (float)consts[nextConst].getDConst()));
7525 … spvConsts.push_back(builder.makeDoubleConstant(zero ? 0.0 : consts[nextConst].getDConst()));
7528 …vConsts.push_back(builder.makeFloat16Constant(zero ? 0.0F : (float)consts[nextConst].getDConst()));
7531 … spvConsts.push_back(builder.makeBoolConstant(zero ? false : consts[nextConst].getBConst()));
7537 ++nextConst;
7541 bool zero = nextConst >= consts.size();
7545 … scalar = builder.makeInt8Constant(zero ? 0 : consts[nextConst].getI8Const(), specConstant);
7548 … scalar = builder.makeUint8Constant(zero ? 0 : consts[nextConst].getU8Const(), specConstant);
7551 … scalar = builder.makeInt16Constant(zero ? 0 : consts[nextConst].getI16Const(), specConstant);
7554 … scalar = builder.makeUint16Constant(zero ? 0 : consts[nextConst].getU16Const(), specConstant);
7557 … scalar = builder.makeIntConstant(zero ? 0 : consts[nextConst].getIConst(), specConstant);
7560 … scalar = builder.makeUintConstant(zero ? 0 : consts[nextConst].getUConst(), specConstant);
7563 … scalar = builder.makeInt64Constant(zero ? 0 : consts[nextConst].getI64Const(), specConstant);
7566 … scalar = builder.makeUint64Constant(zero ? 0 : consts[nextConst].getU64Const(), specConstant);
7569 …scalar = builder.makeFloatConstant(zero ? 0.0F : (float)consts[nextConst].getDConst(), specConstan…
7572 … scalar = builder.makeDoubleConstant(zero ? 0.0 : consts[nextConst].getDConst(), specConstant);
7575 …scalar = builder.makeFloat16Constant(zero ? 0.0F : (float)consts[nextConst].getDConst(), specConst…
7578 … scalar = builder.makeBoolConstant(zero ? false : consts[nextConst].getBConst(), specConstant);
7584 ++nextConst;