Lines Matching refs:DSLExpression
135 static SkSL::String stringize(DSLExpression& expr) { return expr.release()->description(); } in stringize()
572 DSLExpression e = x + 1; in DEF_GPUTEST_FOR_MOCK_CONTEXT()
651 DSLExpression(Float3x3(Float2(1))).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
657 DSLExpression(Half2x2(1, 2, 3, 4, 5)).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
662 DSLExpression(f43 * Float3(1)).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
667 DSLExpression(f43 = f33).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
672 DSLExpression(h22 = f22).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
677 DSLExpression(Inverse(f43)).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
700 DSLExpression((Bool2(true) + a)).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
705 DSLExpression((a += Bool2(true))).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
710 DSLExpression((1.0 += a)).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
716 DSLExpression(+c).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
739 DSLExpression(Bool2(true) - a).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
744 DSLExpression(a -= Bool2(true)).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
749 DSLExpression(1.0 -= a).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
755 DSLExpression(-c).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
774 DSLExpression(Bool2(true) * a).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
779 DSLExpression(a *= Bool2(true)).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
784 DSLExpression(1.0 *= a).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
805 DSLExpression(Bool2(true) / a).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
810 DSLExpression(a /= Bool2(true)).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
815 DSLExpression(1.0 /= a).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
820 DSLExpression(a /= 0).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
826 DSLExpression(c /= Float2(Float(0), 1)).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
847 DSLExpression(Bool2(true) % a).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
852 DSLExpression(a %= Bool2(true)).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
857 DSLExpression(1 %= a).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
862 DSLExpression(a %= 0).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
868 DSLExpression(c %= Int2(Int(0), 1)).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
889 DSLExpression(Bool2(true) << a).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
894 DSLExpression(a <<= Bool2(true)).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
899 DSLExpression(1 <<= a).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
920 DSLExpression(Bool2(true) >> a).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
925 DSLExpression(a >>= Bool2(true)).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
930 DSLExpression(1 >>= a).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
951 DSLExpression(Bool2(true) & a).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
956 DSLExpression(a &= Bool2(true)).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
961 DSLExpression(1 &= a).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
982 DSLExpression(Bool2(true) | a).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
987 DSLExpression(a |= Bool2(true)).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
992 DSLExpression(1 |= a).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1013 DSLExpression(Bool2(true) ^ a).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1018 DSLExpression(a ^= Bool2(true)).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1023 DSLExpression(1 ^= a).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1041 DSLExpression(a && 5).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1059 DSLExpression(a || 5).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1071 DSLExpression(LogicalXor(a, 5)).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1096 DSLExpression(a == Bool2(true)).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1111 DSLExpression(a != Bool2(true)).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1126 DSLExpression(a > Bool2(true)).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1141 DSLExpression(a >= Bool2(true)).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1156 DSLExpression(a < Bool2(true)).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1171 DSLExpression(a <= Bool2(true)).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1183 DSLExpression(!a).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1195 DSLExpression(~b).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1210 DSLExpression(++b).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1215 DSLExpression(b++).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1220 DSLExpression(++(a + 1)).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1225 DSLExpression((a + 1)++).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1240 DSLExpression(--b).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1245 DSLExpression(b--).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1250 DSLExpression(--(a + 1)).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1255 DSLExpression((a + 1)--).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1262 DSLExpression sqrt(SkSL::ThreadContext::Compiler().convertIdentifier(/*line=*/-1, "sqrt")); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1263 SkTArray<DSLWrapper<DSLExpression>> args; in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1269 DSLExpression pow(SkSL::ThreadContext::Compiler().convertIdentifier(/*line=*/-1, "pow")); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1272 SkTArray<DSLWrapper<DSLExpression>> args; in DEF_GPUTEST_FOR_MOCK_CONTEXT()
2014 std::vector<Wrapper<DSLExpression>> exprs; in DEF_GPUTEST_FOR_MOCK_CONTEXT()
2015 exprs.push_back(DSLExpression(1)); in DEF_GPUTEST_FOR_MOCK_CONTEXT()