Lines Matching refs:args

929 std::vector<SpvId> SPIRVCodeGenerator::vectorize(const ExpressionArray& args, OutputStream& out) {
931 for (const auto& a : args) {
941 result.reserve(args.size());
942 for (const auto& arg : args) {
950 const std::vector<SpvId>& args,
952 this->writeOpCode(SpvOpExtInst, 5 + args.size(), out);
966 for (SpvId a : args) {
1007 ExpressionArray args;
1008 args.reserve_back(2);
1009 args.push_back(Literal::MakeInt(fContext, /*line=*/-1, /*value=*/0));
1010 args.push_back(Literal::MakeInt(fContext, /*line=*/-1, /*value=*/0));
1011 ConstructorCompound ctor(/*line=*/-1, *fContext.fTypes.fInt2, std::move(args));
1087 std::vector<SpvId> args = this->vectorize(arguments, out);
1088 SkASSERT(args.size() == 2);
1104 this->writeWord(args[0], out);
1105 this->writeWord(args[1], out);
1126 std::vector<SpvId> args = this->vectorize(arguments, out);
1127 SkASSERT(args.size() == 3);
1129 GLSLstd450UClamp, args, out);
1133 std::vector<SpvId> args = this->vectorize(arguments, out);
1134 SkASSERT(args.size() == 2);
1136 GLSLstd450UMax, args, out);
1140 std::vector<SpvId> args = this->vectorize(arguments, out);
1141 SkASSERT(args.size() == 2);
1143 GLSLstd450UMin, args, out);
1147 std::vector<SpvId> args = this->vectorize(arguments, out);
1148 SkASSERT(args.size() == 3);
1158 SpvOpUndef, args, out);
1175 std::vector<SpvId> args = this->vectorize(arguments, out);
1176 SkASSERT(args.size() == 3);
1178 SpvOpUndef, args, out);
1182 std::vector<SpvId> args = this->vectorize(arguments, out);
1183 SkASSERT(args.size() == 2);
1185 SpvOpUndef, args, out);
3380 ExpressionArray args;
3388 args.push_back(dsl::Float2(0).release());
3391 std::move(args));