Lines Matching refs:value
132 * In SkSL, a Variable represents a named, typed value (along with qualifiers, etc).
134 * skvm::Val. Those skvm::Val entries hold the current actual value of that variable.
161 * Writes a value to a slot previously created by getSlot.
163 void writeToSlot(int slot, skvm::Val value);
396 // getSlot() allocates space for the variable's value in fSlots, initializes it to zero,
429 if (decl.value()) {
430 Value val = this->writeExpression(*decl.value());
489 void SkVMGenerator::writeToSlot(int slot, skvm::Val value) {
490 if (fDebugInfo && fSlots[slot].val != value) {
492 fBuilder->trace_var(this->mask(), slot, f32(value));
494 fBuilder->trace_var(this->mask(), slot, bool(value));
496 fBuilder->trace_var(this->mask(), slot, i32(value));
500 fSlots[slot].val = value;
1331 // Create storage for the return value
1378 // Create storage for the return value
1559 // We need to figure out the collection of slots that we're storing into. The l-value (lhs)
1720 Value switchValue = this->writeExpression(*s.value());
1724 if (c.value()) {
1725 Value caseValue = this->writeExpression(*c.value());
1728 // if the case value matches.
1752 Value val = decl.value() ? this->writeExpression(*decl.value()) : Value{};
1935 // It's also updated the contents of 'returnVals' with the return value of the entry point.