Lines Matching full:flatten
7 // Test for the outputting of [[unroll]] and [[flatten]] for the D3D compiler.
41 // Ignore the beginning of the shader to avoid the definitions of LOOP and FLATTEN in compile()
47 const char *badPatterns[] = {UNROLL, FLATTEN}; in expect()
77 static const char *FLATTEN; member in __anon319afe2c0111::UnrollFlattenTest
88 const char *UnrollFlattenTest::FLATTEN = "FLATTEN"; member in __anon319afe2c0111::UnrollFlattenTest
115 // 2 - no FLATTEN because does not contain discont loop in TEST_F()
118 // 5 - no FLATTEN because does not contain loop with a gradient in TEST_F()
120 // 7 - no FLATTEN in TEST_F()
155 // 5 - no FLATTEN because doesn't contain loop with a gradient in TEST_F()
158 // 8 - FLATTEN because it contains a loop with a gradient in TEST_F()
161 "fun(", "texture2D(", "main(", "FLATTEN", "if", "fun2("}; in TEST_F()
193 // 5 - no FLATTEN because doesn't contain a loop with a gradient in TEST_F()
196 // 8 - FLATTEN because it contains a loop with a gradient in TEST_F()
200 "break", "funLod0(", "texture2DLod0", "main(", "FLATTEN", "if", "fun2("}; in TEST_F()