/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/ |
H A 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, in TEST_F() 272 const char *shaderStrings[] = {kFragmentShaderString}; TEST_F() local 294 const char *shaderStrings[] = {kFragmentShaderString}; TEST_F() local 315 const char *shaderStrings[] = {kFragmentShaderString}; TEST_F() local 332 const char *shaderStrings[] = {kFragmentShaderString}; TEST_F() local 349 const char *shaderStrings[] = {kFragmentShaderString}; TEST_F() local 366 const char *shaderStrings[] = {kFragmentShaderString}; TEST_F() local [all...] |
H A 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()
|
H A 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()
|
H A 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()
|
H A 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()
|
H A 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()
|
H A D | Precise_test.cpp | 81 const char *shaderStrings[] = {shaderSource}; in TestShaderCompile() local 85 bool success = sh::Compile(mCompilerList[shaderOutputType], shaderStrings, 1, options); in TestShaderCompile()
|
H A 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()
|
H A D | TypeTracking_test.cpp | 38 const char *shaderStrings[] = {shaderString.c_str()}; in compile() local 39 bool compilationSuccess = mTranslator->compile(shaderStrings, 1, SH_INTERMEDIATE_TREE); in compile()
|
H A D | CollectVariables_test.cpp | 59 const char *shaderStrings[] = {shaderString.c_str()}; in validateDepthRangeShader() local 60 ASSERT_TRUE(mTranslator->compile(shaderStrings, 1, SH_VARIABLES)); in validateDepthRangeShader() 109 const char *shaderStrings[] = {shaderString.c_str()}; in validateOutputVariableForShader() local 110 ASSERT_TRUE(mTranslator->compile(shaderStrings, 1, SH_VARIABLES)) in validateOutputVariableForShader() 125 const char *shaderStrings[] = {shaderString.c_str()}; in compile() local 126 ASSERT_TRUE(mTranslator->compile(shaderStrings, 1, SH_VARIABLES | compileOptions)); in compile()
|
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/ |
H A 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/skia/third_party/externals/angle2/src/tests/test_utils/ |
H A D | ShaderExtensionTest.h | 66 const char *shaderStrings[] = {version, pragma, shader}; in TestShaderCompile() local 67 bool success = sh::Compile(mCompiler, shaderStrings, 3, 0); in TestShaderCompile()
|
H A D | ShaderCompileTreeTest.cpp | 136 const char *shaderStrings[] = {shaderString.c_str()}; in compile() local 137 mASTRoot = mTranslator->compileTreeForTesting(shaderStrings, 1, mExtraCompileOptions); in compile()
|
H A D | compiler_test.cpp | 79 const char *shaderStrings[] = {shaderString.c_str()}; in compileTestShader() local 82 translator->compile(shaderStrings, 1, SH_OBJECT_CODE | compileOptions); in compileTestShader()
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/ |
H A 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) == 0) && in compile()
|
H A D | Compiler.h | 83 bool compile(const char* const shaderStrings[],
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
H A D | Compiler.h | 102 TIntermBlock *compileTreeForTesting(const char *const shaderStrings[], 106 bool compile(const char *const shaderStrings[], 276 TIntermBlock *compileTreeImpl(const char *const shaderStrings[],
|
H A D | Compiler.cpp | 102 void DumpFuzzerCase(char const *const *shaderStrings, 127 fwrite(shaderStrings[i], sizeof(char), strlen(shaderStrings[i]), f); 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, numString in compile() [all...] |
H A D | ShaderLang.cpp | 401 const char *const shaderStrings[], in Compile() 408 return compiler->compile(shaderStrings, numStrings, compileOptions); in Compile() 400 Compile(const ShHandle handle, const char *const shaderStrings[], size_t numStrings, ShCompileOptions compileOptions) Compile() argument
|
/third_party/skia/third_party/externals/angle2/src/compiler/fuzz/ |
H A D | translator_fuzzer.cpp | 245 const char *shaderStrings[] = {reinterpret_cast<const char *>(data)}; in LLVMFuzzerTestOneInput() local 246 translator->compile(shaderStrings, 1, options); in LLVMFuzzerTestOneInput()
|
/third_party/glslang/gtests/ |
H A D | TestFixture.h | 191 const char* shaderStrings = code.data(); in compile() local 198 &shaderStrings, &shaderLengths, &shaderNames, 1); in compile() 200 shader->setStringsWithLengths(&shaderStrings, &shaderLengths, 1); in compile() 652 const char* shaderStrings = source.data(); in preprocess() local 656 shader.setStringsWithLengths(&shaderStrings, &shaderLengths, 1); in preprocess()
|
/third_party/glslang/glslang/MachineIndependent/ |
H A D | ShaderLang.cpp | 778 const char* const shaderStrings[], in ProcessDeferred() 823 strings[s + numPre] = shaderStrings[s]; in ProcessDeferred() 825 lengths[s + numPre] = strlen(shaderStrings[s]); in ProcessDeferred() 1240 const char* const shaderStrings[], 1259 return ProcessDeferred(compiler, shaderStrings, numStrings, inputLengths, stringNames, 1279 const char* const shaderStrings[], 1299 return ProcessDeferred(compiler, shaderStrings, numStrings, inputLengths, stringNames, 1428 const char* const shaderStrings[], 1455 bool success = CompileDeferred(compiler, shaderStrings, numStrings, inputLengths, nullptr, 776 ProcessDeferred( TCompiler* compiler, const char* const shaderStrings[], const int numStrings, const int* inputLengths, const char* const stringNames[], const char* customPreamble, const EShOptimizationLevel optLevel, const TBuiltInResource* resources, int defaultVersion, EProfile defaultProfile, bool forceDefaultVersionAndProfile, int overrideVersion, bool forwardCompatible, EShMessages messages, TIntermediate& intermediate, ProcessingContext& processingContext, bool requireNonempty, TShader::Includer& includer, const std::string sourceEntryPointName = �, const TEnvironment* environment = nullptr, bool compileOnly = false) ProcessDeferred() argument
|
/third_party/skia/third_party/externals/angle2/include/GLSLANG/ |
H A D | ShaderLang.h | 658 // shaderStrings: Specifies an array of pointers to null-terminated strings containing the shader 660 // numStrings: Specifies the number of elements in shaderStrings array. 663 const char *const shaderStrings[],
|
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/third_party/ |
H A D | vulkan_command_buffer_utils.cpp | 1451 const char *shaderStrings[1]; in GLSLtoSPV() local 1458 shaderStrings[0] = pshader; in GLSLtoSPV() 1459 shader.setStrings(shaderStrings, 1); in GLSLtoSPV()
|
/third_party/glslang/glslang/Public/ |
H A D | ShaderLang.h | 333 GLSLANG_EXPORT int ShCompile(const ShHandle, const char* const shaderStrings[], const int numStrings,
|