Searched refs:test_invalid_effect (Results 1 – 1 of 1) sorted by relevance
/third_party/skia/tests/ |
D | SkRuntimeEffectTest.cpp | 33 void test_invalid_effect(skiatest::Reporter* r, const char* src, const char* expected) { in test_invalid_effect() function 45 test_invalid_effect(r, "uniform bool b;" EMPTY_MAIN, "uniform"); in DEF_TEST() 50 test_invalid_effect(r, "in bool b;" EMPTY_MAIN, "'in'"); in DEF_TEST() 51 test_invalid_effect(r, "in float f;" EMPTY_MAIN, "'in'"); in DEF_TEST() 52 test_invalid_effect(r, "in float2 v;" EMPTY_MAIN, "'in'"); in DEF_TEST() 53 test_invalid_effect(r, "in half3x3 m;" EMPTY_MAIN, "'in'"); in DEF_TEST() 57 test_invalid_effect(r, "half4 missing(); half4 main(float2 p) { return missing(); }", in DEF_TEST() 63 test_invalid_effect(r, "", "main"); in DEF_TEST() 68 test_invalid_effect( in DEF_TEST() 101 test_invalid_effect(r, "float f[2] = float[2](0, 1);" EMPTY_MAIN, "construction of array type"); in DEF_TEST()
|