Lines Matching refs:Var
119 Var a(kInt_Type, "a"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
163 Var x(kInt_Type, "x"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
172 Var x(kHalf_Type, "x"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
173 Var y(kFloat_Type, "y"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
179 Var x(kInt_Type, "x"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
571 Var x(kFloat_Type); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
589 Var f22(kFloat2x2_Type, "f22"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
591 Var f32(kFloat3x2_Type, "f32"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
594 Var f42(kFloat4x2_Type, "f42"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
597 Var f23(kFloat2x3_Type, "f23"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
600 Var f33(kFloat3x3_Type, "f33"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
603 Var f43(kFloat4x3_Type, "f43"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
606 Var f24(kFloat2x4_Type, "f24"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
609 Var f34(kFloat3x4_Type, "f34"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
612 Var f44(kFloat4x4_Type, "f44"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
615 Var h22(kHalf2x2_Type, "h22"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
617 Var h32(kHalf3x2_Type, "h32"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
620 Var h42(kHalf4x2_Type, "h42"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
623 Var h23(kHalf2x3_Type, "h23"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
626 Var h33(kHalf3x3_Type, "h33"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
629 Var h43(kHalf4x3_Type, "h43"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
632 Var h24(kHalf2x4_Type, "h24"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
635 Var h34(kHalf3x4_Type, "h34"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
638 Var h44(kHalf4x4_Type, "h44"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
683 Var a(kFloat_Type, "a"), b(kFloat_Type, "b"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
715 Var c(kBool_Type); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
722 Var a(kInt_Type, "a"), b(kInt_Type, "b"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
754 Var c(kBool_Type); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
761 Var a(kFloat_Type, "a"), b(kFloat_Type, "b"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
790 Var a(kFloat_Type, "a"), b(kFloat_Type, "b"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
824 Var c(kFloat2_Type, "c"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
832 Var a(kInt_Type, "a"), b(kInt_Type, "b"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
866 Var c(kInt2_Type, "c"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
874 Var a(kInt_Type, "a"), b(kInt_Type, "b"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
905 Var a(kInt_Type, "a"), b(kInt_Type, "b"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
936 Var a(kInt_Type, "a"), b(kInt_Type, "b"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
967 Var a(kInt_Type, "a"), b(kInt_Type, "b"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
998 Var a(kInt_Type, "a"), b(kInt_Type, "b"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1029 Var a(kBool_Type, "a"), b(kBool_Type, "b"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1047 Var a(kBool_Type, "a"), b(kBool_Type, "b"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1065 Var a(kBool_Type, "a"), b(kBool_Type, "b"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1077 Var a(kInt_Type, "a"), b(kInt_Type, "b"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1087 Var a(kInt_Type, "a"), b(kInt_Type, "b"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1102 Var a(kInt_Type, "a"), b(kInt_Type, "b"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1117 Var a(kInt_Type, "a"), b(kInt_Type, "b"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1132 Var a(kInt_Type, "a"), b(kInt_Type, "b"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1147 Var a(kInt_Type, "a"), b(kInt_Type, "b"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1162 Var a(kInt_Type, "a"), b(kInt_Type, "b"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1177 Var a(kInt_Type, "a"), b(kInt_Type, "b"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1189 Var a(kInt_Type, "a"), b(kBool_Type, "b"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1201 Var a(kInt_Type, "a"), b(kBool_Type, "b"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1231 Var a(kInt_Type, "a"), b(kBool_Type, "b"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1282 Var a(kInt_Type, "a", 1), b(kInt_Type, "b", 2); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1295 Var i(kInt_Type, "i", 0); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1315 Var i(kInt_Type, "i", 0); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1336 Var a(kHalf4_Type, "a"), b(kHalf4_Type, "b", Half4(1)); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1343 SkTArray<Var> vars; in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1344 vars.push_back(Var(kBool_Type, "a", true)); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1345 vars.push_back(Var(kFloat_Type, "b")); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1374 Var a(kHalf4_Type, "a", 1); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1381 Var a(kInt_Type, "a"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1389 Var a(kUniform_Modifier, kInt_Type, "a"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1408 Var x(kFloat_Type, "x", 1); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1417 Var a(kFloat_Type, "a"), b(kFloat_Type, "b"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1432 Var i(kInt_Type, "i", 0); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1436 Var j(kInt_Type, "j", 0); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1437 Var k(kInt_Type, "k", 10); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1503 Var varArg1(kFloat_Type, "varArg1"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1504 Var varArg2(kFloat_Type, "varArg2"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1529 Var x(kFloat_Type, "x", 0); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1564 Var a(kFloat_Type, "a"), b(kFloat_Type, "b"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1617 Var a(kInt_Type, "a"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1635 Var a(kFloat_Type, "a"), b(kInt_Type, "b"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1688 Var c(kInt_Type); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1695 Var a(kFloat4_Type, "a"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1730 Var a; in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1733 Var(kInt_Type, "a").swap(a); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1745 Var a(kFloat_Type, "a"), b(kFloat_Type, "b"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1757 Var a(Array(kInt_Type, 5), "a"), b(kInt_Type, "b"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1782 Var a(kHalf4_Type, "a"), b(kHalf4_Type, "b"), c(kHalf4_Type, "c"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1783 Var h3(kHalf3_Type, "h3"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1784 Var b4(kBool4_Type, "b4"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1842 Var v1(kConst_Modifier, kInt_Type, "v1", 0); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1849 Var v2(kIn_Modifier, kInt_Type, "v2"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1853 Var v3(kOut_Modifier, kInt_Type, "v3"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1857 Var v4(kFlat_Modifier, kInt_Type, "v4"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1861 Var v5(kNoPerspective_Modifier, kInt_Type, "v5"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1865 Var v6(kIn_Modifier | kOut_Modifier, kInt_Type, "v6"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1870 Var v7(kInOut_Modifier, kInt_Type, "v7"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1875 Var v8(kUniform_Modifier, kInt_Type, "v8"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1883 Var v1(DSLModifiers(DSLLayout().location(1).set(2).binding(3).offset(4).index(5).builtin(6) in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1889 Var v2(DSLLayout().originUpperLeft(), kFloat2_Type, "v2"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1892 Var v4(DSLLayout().pushConstant(), kBool_Type, "v4"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1895 Var v5(DSLLayout().blendSupportAllEquations(), kHalf4_Type, "v5"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
2022 REPORTER_ASSERT(r, DSLWriter::Var(*vars[0])->name() == "x"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
2169 Var u(kUInt_Type, "u"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
2177 Var u(kUInt_Type, "u"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
2181 Var g(DSLType("$genType"), "g"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()