Lines Matching refs:nslots
383 nslots = var.type().slotCount(); in SkVMGenerator() local
390 SkASSERT(nslots == 4); in SkVMGenerator()
401 SkASSERT(uniformIter + nslots <= uniforms.end()); in SkVMGenerator()
402 std::copy(uniformIter, uniformIter + nslots, fSlots.begin() + slot); in SkVMGenerator()
403 uniformIter += nslots; in SkVMGenerator()
407 for (size_t i = 0; i < nslots; ++i) { in SkVMGenerator()
428 nslots = p->type().slotCount(); in writeFunction() local
430 for (size_t i = 0; i < nslots; ++i) { in writeFunction()
433 argIdx += nslots; in writeFunction()
442 size_t nslots = p->type().slotCount(); in writeFunction() local
446 for (size_t i = 0; i < nslots; ++i) { in writeFunction()
450 argIdx += nslots; in writeFunction()
464 nslots = v.type().slotCount(); in getSlot() local
465 fSlots.resize(slot + nslots, fBuilder->splat(0.0f).id); in getSlot()
546 size_t nslots = std::max(lVal.slots(), rVal.slots()); in writeBinaryExpression() local
549 Value result(nslots); in writeBinaryExpression()
550 for (size_t i = 0; i < nslots; ++i) { in writeBinaryExpression()
574 for (size_t i = 1; i < nslots; ++i) { in writeBinaryExpression()
584 for (size_t i = 1; i < nslots; ++i) { in writeBinaryExpression()
988 size_t nslots = std::max(args[0].slots(), args[1].slots()); in writeIntrinsicCall() local
989 Value result(nslots); in writeIntrinsicCall()
990 SkASSERT(args[0].slots() == nslots || args[0].slots() == 1); in writeIntrinsicCall()
991 SkASSERT(args[1].slots() == nslots || args[1].slots() == 1); in writeIntrinsicCall()
993 for (size_t i = 0; i < nslots; ++i) { in writeIntrinsicCall()
1002 size_t nslots = std::max({args[0].slots(), args[1].slots(), args[2].slots()}); in writeIntrinsicCall() local
1003 Value result(nslots); in writeIntrinsicCall()
1004 SkASSERT(args[0].slots() == nslots || args[0].slots() == 1); in writeIntrinsicCall()
1005 SkASSERT(args[1].slots() == nslots || args[1].slots() == 1); in writeIntrinsicCall()
1006 SkASSERT(args[2].slots() == nslots || args[2].slots() == 1); in writeIntrinsicCall()
1008 for (size_t i = 0; i < nslots; ++i) { in writeIntrinsicCall()
1209 size_t nslots = f.type().slotCount(); in writeFunctionCall() local
1210 Value result(nslots); in writeFunctionCall()
1211 for (size_t i = 0; i < nslots; ++i) { in writeFunctionCall()
1228 size_t nslots = p->type().slotCount(); in writeFunctionCall() local
1230 Value v(nslots); in writeFunctionCall()
1231 for (size_t i = 0; i < nslots; ++i) { in writeFunctionCall()
1237 valIdx += nslots; in writeFunctionCall()
1255 size_t nslots = c.type().slotCount(); in writeExternalFunctionCall() local
1256 std::vector<skvm::F32> result(nslots, fBuilder->splat(0.0f)); in writeExternalFunctionCall()
1261 Value resultVal(nslots); in writeExternalFunctionCall()
1262 for (size_t i = 0; i < nslots; ++i) { in writeExternalFunctionCall()
1361 size_t nslots = ifTrue.slots(); in writeTernaryExpression() local
1362 SkASSERT(nslots == ifFalse.slots()); in writeTernaryExpression()
1364 Value result(nslots); in writeTernaryExpression()
1365 for (size_t i = 0; i < nslots; ++i) { in writeTernaryExpression()
1565 nslots = decl.var().type().slotCount(); in writeVarDeclaration() local
1568 for (size_t i = 0; i < nslots; ++i) { in writeVarDeclaration()
1696 size_t nslots = p->type().slotCount(); in ProgramToSkVM() local
1698 for (size_t i = 0; i < nslots; ++i) { in ProgramToSkVM()
1702 argIdx += nslots; in ProgramToSkVM()