Lines Matching refs:writeExpression
636 SpvId SPIRVCodeGenerator::writeExpression(const Expression& expr, OutputStream& out) { in writeExpression() function in SkSL::SPIRVCodeGenerator
698 arguments.push_back(this->writeExpression(*c.fArguments[i], out)); in writeIntrinsicCall()
718 arguments.push_back(this->writeExpression(*c.fArguments[i], out)); in writeIntrinsicCall()
756 SpvId raw = this->writeExpression(*a, out); in vectorize()
803 arguments.push_back(this->writeExpression(*c.fArguments[i], out)); in writeSpecialIntrinsic()
816 SpvId img = this->writeExpression(*c.fArguments[0], out); in writeSpecialIntrinsic()
831 SpvId sample = this->writeExpression(*c.fArguments[1], out); in writeSpecialIntrinsic()
874 SpvId sampler = this->writeExpression(*c.fArguments[0], out); in writeSpecialIntrinsic()
875 SpvId uv = this->writeExpression(*c.fArguments[1], out); in writeSpecialIntrinsic()
879 this->writeExpression(*c.fArguments[2], out), in writeSpecialIntrinsic()
992 tmpValueId = this->writeExpression(*c.fArguments[i], out); in writeFunctionCall()
1027 arguments.push_back(this->writeExpression(*c.fArguments[i], fConstantBuffer)); in writeConstantVector()
1055 SpvId parameter = this->writeExpression(*c.fArguments[0], out); in writeFloatConstructor()
1072 SpvId parameter = this->writeExpression(*c.fArguments[0], out); in writeIntConstructor()
1090 SpvId parameter = this->writeExpression(*c.fArguments[0], out); in writeUIntConstructor()
1215 arguments.push_back(this->writeExpression(*c.fArguments[i], out)); in writeMatrixConstructor()
1308 SpvId vec = this->writeExpression(*c.fArguments[i], out); in writeVectorConstructor()
1378 arguments.push_back(this->writeExpression(*c.fArguments[i], out)); in writeVectorConstructor()
1407 arguments.push_back(this->writeExpression(*c.fArguments[i], out)); in writeArrayConstructor()
1422 return this->writeExpression(*c.fArguments[0], out); in writeConstructor()
1492 chain.push_back(this->writeExpression(*indexExpr.fIndex, out)); in getAccessChain()
1676 SpvId test = this->writeExpression(*t.fTest, out); in getLValue()
1708 this->writeInstruction(SpvOpStore, result, this->writeExpression(expr, out), out); in getLValue()
1799 SpvId base = this->writeExpression(*expr.fBase, out); in writeIndexExpression()
1800 SpvId index = this->writeExpression(*expr.fIndex, out); in writeIndexExpression()
1814 SpvId base = this->writeExpression(*swizzle.fBase, out); in writeSwizzle()
1951 SpvId rhs = this->writeExpression(*b.fRight, out); in writeBinaryExpression()
1972 lhs = this->writeExpression(*b.fLeft, out); in writeBinaryExpression()
1974 SpvId rhs = this->writeExpression(*b.fRight, out); in writeBinaryExpression()
2275 SpvId lhs = this->writeExpression(*a.fLeft, out); in writeLogicalAnd()
2282 SpvId rhs = this->writeExpression(*a.fRight, out); in writeLogicalAnd()
2296 SpvId lhs = this->writeExpression(*o.fLeft, out); in writeLogicalOr()
2303 SpvId rhs = this->writeExpression(*o.fRight, out); in writeLogicalOr()
2314 SpvId test = this->writeExpression(*t.fTest, out); in writeTernaryExpression()
2318 SpvId trueId = this->writeExpression(*t.fIfTrue, out); in writeTernaryExpression()
2319 SpvId falseId = this->writeExpression(*t.fIfFalse, out); in writeTernaryExpression()
2335 this->writeInstruction(SpvOpStore, var, this->writeExpression(*t.fIfTrue, out), out); in writeTernaryExpression()
2338 this->writeInstruction(SpvOpStore, var, this->writeExpression(*t.fIfFalse, out), out); in writeTernaryExpression()
2361 SpvId expr = this->writeExpression(*p.fOperand, out); in writePrefixExpression()
2373 return this->writeExpression(*p.fOperand, out); in writePrefixExpression()
2376 SpvId one = this->writeExpression(*create_literal_1(fContext, p.fType), out); in writePrefixExpression()
2385 SpvId one = this->writeExpression(*create_literal_1(fContext, p.fType), out); in writePrefixExpression()
2396 this->writeExpression(*p.fOperand, out), out); in writePrefixExpression()
2402 this->writeExpression(*p.fOperand, out), out); in writePrefixExpression()
2413 SpvId one = this->writeExpression(*create_literal_1(fContext, p.fType), out); in writePostfixExpression()
2744 SpvId value = this->writeExpression(*varDecl.fValue, fGlobalInitializersBuffer); in writeGlobalVars()
2777 SpvId value = this->writeExpression(*varDecl.fValue, out); in writeVarDeclarations()
2791 this->writeExpression(*((ExpressionStatement&) s).fExpression, out); in writeStatement()
2835 SpvId test = this->writeExpression(*stmt.fTest, out); in writeIfStatement()
2882 SpvId test = this->writeExpression(*f.fTest, out); in writeForStatement()
2892 this->writeExpression(*f.fNext, out); in writeForStatement()
2920 SpvId test = this->writeExpression(*w.fTest, out); in writeWhileStatement()
2957 SpvId test = this->writeExpression(*d.fTest, out); in writeDoStatement()
2965 SpvId value = this->writeExpression(*s.fValue, out); in writeSwitchStatement()
3008 this->writeInstruction(SpvOpReturnValue, this->writeExpression(*r.fExpression, out), in writeReturnStatement()