/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/ |
D | ShCompile_test.cpp | 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() 258 const char *shaderStrings[] = {kFragmentShaderString}; in TEST_F() local 260 testCompile(shaderStrings, 1, true); in TEST_F() [all …]
|
D | APPLE_clip_distance_test.cpp | 60 const char *shaderStrings[] = {testing::get<1>(GetParam()), pragma, in TestShaderCompile() local 62 bool success = sh::Compile(mCompiler, shaderStrings, 3, SH_VARIABLES | SH_OBJECT_CODE); in TestShaderCompile() 127 const char *shaderStrings[] = {kNoClipCull}; in TEST_P() local 129 bool success = sh::Compile(mCompiler, shaderStrings, 1, SH_OBJECT_CODE); in TEST_P()
|
D | OES_sample_variables_test.cpp | 77 const char *shaderStrings[] = {testing::get<1>(GetParam()), pragma, in TestShaderCompile() local 79 bool success = sh::Compile(mCompiler, shaderStrings, 3, SH_VARIABLES | SH_OBJECT_CODE); in TestShaderCompile()
|
D | WorkGroupSize_test.cpp | 38 const char *shaderStrings[] = {shaderString.c_str()}; in compile() local 39 bool status = mTranslator->compile(shaderStrings, 1, SH_INTERMEDIATE_TREE | SH_VARIABLES); in compile()
|
D | FragDepth_test.cpp | 53 const char *shaderStrings[] = {version, pragma, shader}; in TestShaderCompile() local 54 bool success = sh::Compile(mCompiler, shaderStrings, 3, 0); in TestShaderCompile()
|
D | Precise_test.cpp | 81 const char *shaderStrings[] = {shaderSource}; in TestShaderCompile() local 85 bool success = sh::Compile(mCompilerList[shaderOutputType], shaderStrings, 1, options); in TestShaderCompile()
|
D | EXT_clip_cull_distance_test.cpp | 258 const char *shaderStrings[] = {testing::get<1>(GetParam()), pragma, in TestShaderCompile() local 260 bool success = sh::Compile(mCompiler, shaderStrings, 3, SH_VARIABLES | SH_OBJECT_CODE); in TestShaderCompile()
|
D | EXT_shader_framebuffer_fetch_test.cpp | 186 const char *shaderStrings[] = {testing::get<1>(GetParam()), pragma, in TestShaderCompile() local 189 bool success = sh::Compile(mCompilerList[shaderOutputType], shaderStrings, 3, in TestShaderCompile()
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/compiler_tests/ |
D | ShCompile_test.cpp | 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() 255 const char *shaderStrings[] = {kFragmentShaderString}; in TEST_F() local 257 testCompile(shaderStrings, 1, true); in TEST_F() [all …]
|
D | WorkGroupSize_test.cpp | 38 const char *shaderStrings[] = {shaderString.c_str()}; in compile() local 39 bool status = mTranslator->compile(shaderStrings, 1, SH_INTERMEDIATE_TREE | SH_VARIABLES); in compile()
|
D | FragDepth_test.cpp | 53 const char *shaderStrings[] = {version, pragma, shader}; in TestShaderCompile() local 54 bool success = sh::Compile(mCompiler, shaderStrings, 3, 0); in TestShaderCompile()
|
D | RemovePow_test.cpp | 44 const char *shaderStrings[] = {shaderString.c_str()}; in compile() local 46 shaderStrings, 1, SH_OBJECT_CODE | SH_REMOVE_POW_WITH_CONSTANT_EXPONENT); in compile()
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/perf_tests/ |
D | CompilerPerf.cpp | 305 const char *shaderStrings[] = {mTestShader}; in step() local 312 if (!mTranslator->compile(shaderStrings, 1, compileOptions)) in step() 321 mTranslator->compile(shaderStrings, 1, compileOptions); in step()
|
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/ |
D | CompilerPerf.cpp | 306 const char *shaderStrings[] = {mTestShader}; in step() local 313 if (!mTranslator->compile(shaderStrings, 1, compileOptions)) in step() 322 mTranslator->compile(shaderStrings, 1, compileOptions); in step()
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/test_utils/ |
D | ShaderExtensionTest.h | 66 const char *shaderStrings[] = {version, pragma, shader}; in TestShaderCompile() local 67 bool success = sh::Compile(mCompiler, shaderStrings, 3, 0); in TestShaderCompile()
|
D | ShaderCompileTreeTest.cpp | 136 const char *shaderStrings[] = {shaderString.c_str()}; in compile() local 137 mASTRoot = mTranslator->compileTreeForTesting(shaderStrings, 1, mExtraCompileOptions); in compile()
|
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/ |
D | ShaderExtensionTest.h | 66 const char *shaderStrings[] = {version, pragma, shader}; in TestShaderCompile() local 67 bool success = sh::Compile(mCompiler, shaderStrings, 3, 0); in TestShaderCompile()
|
D | ShaderCompileTreeTest.cpp | 136 const char *shaderStrings[] = {shaderString.c_str()}; in compile() local 137 mASTRoot = mTranslator->compileTreeForTesting(shaderStrings, 1, mExtraCompileOptions); in compile()
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/ |
D | Compiler.cpp | 102 bool TCompiler::compile(const char* const shaderStrings[], in compile() argument 117 sourcePath = shaderStrings[0]; in compile() 135 …(PaParseStrings(numStrings - firstSource, &shaderStrings[firstSource], nullptr, &parseContext) == … in compile()
|
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/ |
D | Compiler.cpp | 63 void DumpFuzzerCase(char const *const *shaderStrings, in DumpFuzzerCase() argument 88 fwrite(shaderStrings[i], sizeof(char), strlen(shaderStrings[i]), f); in DumpFuzzerCase() 331 TIntermBlock *TCompiler::compileTreeForTesting(const char *const shaderStrings[], in compileTreeForTesting() argument 335 return compileTreeImpl(shaderStrings, numStrings, compileOptions); in compileTreeForTesting() 338 TIntermBlock *TCompiler::compileTreeImpl(const char *const shaderStrings[], in compileTreeImpl() argument 377 mSourcePath = shaderStrings[0]; in compileTreeImpl() 393 if (PaParseStrings(numStrings - firstSource, &shaderStrings[firstSource], nullptr, in compileTreeImpl() 903 bool TCompiler::compile(const char *const shaderStrings[], in compile() argument 908 DumpFuzzerCase(shaderStrings, numStrings, mShaderType, mShaderSpec, mOutputType, in compile() 925 TIntermBlock *root = compileTreeImpl(shaderStrings, numStrings, compileOptions); in compile()
|
D | Compiler.h | 89 TIntermBlock *compileTreeForTesting(const char *const shaderStrings[], 93 bool compile(const char *const shaderStrings[], 218 TIntermBlock *compileTreeImpl(const char *const shaderStrings[],
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
D | Compiler.cpp | 102 void DumpFuzzerCase(char const *const *shaderStrings, in DumpFuzzerCase() argument 127 fwrite(shaderStrings[i], sizeof(char), strlen(shaderStrings[i]), f); in DumpFuzzerCase() 391 TIntermBlock *TCompiler::compileTreeForTesting(const char *const shaderStrings[], in compileTreeForTesting() argument 395 return compileTreeImpl(shaderStrings, numStrings, compileOptions); in compileTreeForTesting() 398 TIntermBlock *TCompiler::compileTreeImpl(const char *const shaderStrings[], in compileTreeImpl() argument 441 mSourcePath = shaderStrings[0]; in compileTreeImpl() 457 if (PaParseStrings(numStrings - firstSource, &shaderStrings[firstSource], nullptr, in compileTreeImpl() 1116 bool TCompiler::compile(const char *const shaderStrings[], in compile() argument 1121 DumpFuzzerCase(shaderStrings, numStrings, mShaderType, mShaderSpec, mOutputType, in compile() 1138 TIntermBlock *root = compileTreeImpl(shaderStrings, numStrings, compileOptions); in compile()
|
D | Compiler.h | 102 TIntermBlock *compileTreeForTesting(const char *const shaderStrings[], 106 bool compile(const char *const shaderStrings[], 276 TIntermBlock *compileTreeImpl(const char *const shaderStrings[],
|
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/fuzz/ |
D | translator_fuzzer.cpp | 176 const char *shaderStrings[] = {reinterpret_cast<const char *>(data)}; in LLVMFuzzerTestOneInput() local 177 translator->compile(shaderStrings, 1, options); in LLVMFuzzerTestOneInput()
|
/third_party/skia/third_party/externals/angle2/src/compiler/fuzz/ |
D | translator_fuzzer.cpp | 245 const char *shaderStrings[] = {reinterpret_cast<const char *>(data)}; in LLVMFuzzerTestOneInput() local 246 translator->compile(shaderStrings, 1, options); in LLVMFuzzerTestOneInput()
|