Searched refs:set_uniform (Results 1 – 1 of 1) sorted by relevance
/external/skia/tests/ |
D | SkSLTest.cpp | 31 static void set_uniform(SkRuntimeShaderBuilder* builder, const char* name, const T& value) { in set_uniform() function 58 set_uniform(&builder, "colorBlack", SkV4{0, 0, 0, 1}); in test_one_permutation() 59 set_uniform(&builder, "colorRed", SkV4{1, 0, 0, 1}); in test_one_permutation() 60 set_uniform(&builder, "colorGreen", SkV4{0, 1, 0, 1}); in test_one_permutation() 61 set_uniform(&builder, "colorBlue", SkV4{0, 0, 1, 1}); in test_one_permutation() 62 set_uniform(&builder, "colorWhite", SkV4{1, 1, 1, 1}); in test_one_permutation() 63 set_uniform(&builder, "testInputs", SkV4{-1.25, 0, 0.75, 2.25}); in test_one_permutation() 64 set_uniform(&builder, "testMatrix2x2", std::array<float,4>{1, 2, in test_one_permutation() 66 set_uniform(&builder, "testMatrix3x3", std::array<float,9>{1, 2, 3, in test_one_permutation() 69 set_uniform(&builder, "unknownInput", 1.0f); in test_one_permutation() [all …]
|