Lines Matching defs:test_invalid_effect
33 void test_invalid_effect(skiatest::Reporter* r, const char* src, const char* expected) {
45 test_invalid_effect(r, "uniform bool b;" EMPTY_MAIN, "uniform");
50 test_invalid_effect(r, "in bool b;" EMPTY_MAIN, "'in'");
51 test_invalid_effect(r, "in float f;" EMPTY_MAIN, "'in'");
52 test_invalid_effect(r, "in float2 v;" EMPTY_MAIN, "'in'");
53 test_invalid_effect(r, "in half3x3 m;" EMPTY_MAIN, "'in'");
57 test_invalid_effect(r, "half4 missing(); half4 main(float2 p) { return missing(); }",
63 test_invalid_effect(r, "", "main");
68 test_invalid_effect(
101 test_invalid_effect(r, "float f[2] = float[2](0, 1);" EMPTY_MAIN, "construction of array type");