Lines Matching refs:shaderStrings
40 void testCompile(const char **shaderStrings, int stringCount, bool expectation) in testCompile() argument
43 bool success = sh::Compile(mCompiler, shaderStrings, stringCount, options); in testCompile()
99 const char *shaderStrings[] = {kComputeShaderString}; in TEST_F() local
101 testCompile(shaderStrings, 1, true); in TEST_F()
114 const char *shaderStrings[] = {shaderString1.c_str(), shaderString2.c_str()}; in TEST_F() local
116 testCompile(shaderStrings, 2, true); in TEST_F()
134 const char *shaderStrings[] = {shaderString1.c_str(), shaderString2.c_str(), in TEST_F() local
137 testCompile(shaderStrings, 3, true); in TEST_F()
254 const char *shaderStrings[] = {kFragmentShaderString}; in TEST_F() local
256 testCompile(shaderStrings, 1, true); in TEST_F()
268 const char *shaderStrings[] = {kFragmentShaderString}; in TEST_F() local
270 testCompile(shaderStrings, 1, true); in TEST_F()
290 const char *shaderStrings[] = {kFragmentShaderString}; in TEST_F() local
292 testCompile(shaderStrings, 1, true); in TEST_F()
311 const char *shaderStrings[] = {kFragmentShaderString}; in TEST_F() local
313 testCompile(shaderStrings, 1, true); in TEST_F()
328 const char *shaderStrings[] = {kFragmentShaderString}; in TEST_F() local
330 testCompile(shaderStrings, 1, true); in TEST_F()
345 const char *shaderStrings[] = {kFragmentShaderString}; in TEST_F() local
347 testCompile(shaderStrings, 1, false); in TEST_F()
362 const char *shaderStrings[] = {kFragmentShaderString}; in TEST_F() local
364 testCompile(shaderStrings, 1, true); in TEST_F()