Lines Matching full:flatten
7 // Test for the outputting of [[unroll]] and [[flatten]] for the D3D compiler.
39 // Ignore the beginning of the shader to avoid the definitions of LOOP and FLATTEN in compile()
45 const char *badPatterns[] = {UNROLL, FLATTEN}; in expect()
75 static const char *FLATTEN; member in __anonc5993df60111::UnrollFlattenTest
86 const char *UnrollFlattenTest::FLATTEN = "FLATTEN"; member in __anonc5993df60111::UnrollFlattenTest
113 // 2 - no FLATTEN because does not contain discont loop in TEST_F()
116 // 5 - no FLATTEN because does not contain loop with a gradient in TEST_F()
118 // 7 - no FLATTEN in TEST_F()
153 // 5 - no FLATTEN because doesn't contain loop with a gradient in TEST_F()
156 // 8 - FLATTEN because it contains a loop with a gradient in TEST_F()
159 "fun(", "texture2D(", "main(", "FLATTEN", "if", "fun2("}; in TEST_F()
191 // 5 - no FLATTEN because doesn't contain a loop with a gradient in TEST_F()
194 // 8 - FLATTEN because it contains a loop with a gradient in TEST_F()
198 "break", "funLod0(", "texture2DLod0", "main(", "FLATTEN", "if", "fun2("}; in TEST_F()