/external/angle/src/tests/compiler_tests/ |
D | ShCompile_test.cpp | 40 void testCompile(const char **shaderStrings, int stringCount, bool expectation) in testCompile() argument 46 bool success = sh::Compile(mCompiler, shaderStrings, stringCount, options); in testCompile() 102 const char *shaderStrings[] = {kComputeShaderString}; in TEST_F() local 104 testCompile(shaderStrings, 1, true); in TEST_F() 117 const char *shaderStrings[] = {shaderString1.c_str(), shaderString2.c_str()}; in TEST_F() local 119 testCompile(shaderStrings, 2, true); in TEST_F() 137 const char *shaderStrings[] = {shaderString1.c_str(), shaderString2.c_str(), in TEST_F() local 140 testCompile(shaderStrings, 3, true); in TEST_F()
|
D | APPLE_clip_distance_test.cpp | 89 const char *shaderStrings[] = {testing::get<1>(GetParam()), pragma, in TestShaderCompile() local 95 bool success = sh::Compile(mCompiler, shaderStrings, 3, compileOptions); in TestShaderCompile() 160 const char *shaderStrings[] = {kNoClipCull}; in TEST_P() local 165 bool success = sh::Compile(mCompiler, shaderStrings, 1, compileOptions); in TEST_P()
|
D | OES_sample_variables_test.cpp | 77 const char *shaderStrings[] = {testing::get<1>(GetParam()), pragma, in TestShaderCompile() local 83 bool success = sh::Compile(mCompiler, shaderStrings, 3, compileOptions); in TestShaderCompile()
|
D | FragDepth_test.cpp | 53 const char *shaderStrings[] = {version, pragma, shader}; in TestShaderCompile() local 54 bool success = sh::Compile(mCompiler, shaderStrings, 3, {}); in TestShaderCompile()
|
D | WorkGroupSize_test.cpp | 41 const char *shaderStrings[] = {shaderString.c_str()}; in compile() local 42 bool status = mTranslator->compile(shaderStrings, 1, compileOptions); in compile()
|
D | Precise_test.cpp | 81 const char *shaderStrings[] = {shaderSource}; in TestShaderCompile() local 86 bool success = sh::Compile(mCompilerList[shaderOutputType], shaderStrings, 1, options); in TestShaderCompile()
|
D | EXT_shader_framebuffer_fetch_test.cpp | 175 const char *shaderStrings[] = {testing::get<1>(GetParam()), pragma, in TestShaderCompile() local 179 sh::Compile(mCompilerList[shaderOutputType], shaderStrings, 3, compileOptions); in TestShaderCompile()
|
D | EXT_clip_cull_distance_test.cpp | 288 const char *shaderStrings[] = {testing::get<1>(GetParam()), pragma, in TestShaderCompile() local 290 bool success = sh::Compile(mCompiler, shaderStrings, 3, compileOptions); in TestShaderCompile()
|
D | KHR_blend_equation_advanced_test.cpp | 165 const char *shaderStrings[] = {testing::get<1>(GetParam()), pragma, in TestShaderCompile() local 175 bool success = sh::Compile(mCompilerList[shaderOutputType], shaderStrings, 3, compileFlags); in TestShaderCompile()
|
D | TypeTracking_test.cpp | 41 const char *shaderStrings[] = {shaderString.c_str()}; in compile() local 42 bool compilationSuccess = mTranslator->compile(shaderStrings, 1, compileOptions); in compile()
|
D | CollectVariables_test.cpp | 59 const char *shaderStrings[] = {shaderString.c_str()}; in validateDepthRangeShader() local 61 ASSERT_TRUE(mTranslator->compile(shaderStrings, 1, compileOptions)); in validateDepthRangeShader() 110 const char *shaderStrings[] = {shaderString.c_str()}; in validateOutputVariableForShader() local 112 ASSERT_TRUE(mTranslator->compile(shaderStrings, 1, compileOptions)) in validateOutputVariableForShader() 127 const char *shaderStrings[] = {shaderString.c_str()}; in compile() local 128 ASSERT_TRUE(mTranslator->compile(shaderStrings, 1, *compileOptions)); in compile()
|
/external/angle/src/compiler/translator/ |
D | Compiler.cpp | 116 void DumpFuzzerCase(char const *const *shaderStrings, in DumpFuzzerCase() argument 136 contentsLength += strlen(shaderStrings[i]); in DumpFuzzerCase() 143 auto length = strlen(shaderStrings[i]); in DumpFuzzerCase() 144 memcpy(data, shaderStrings[i], length); in DumpFuzzerCase() 421 TIntermBlock *TCompiler::compileTreeForTesting(const char *const shaderStrings[], in compileTreeForTesting() argument 425 return compileTreeImpl(shaderStrings, numStrings, compileOptions); in compileTreeForTesting() 428 TIntermBlock *TCompiler::compileTreeImpl(const char *const shaderStrings[], in compileTreeImpl() argument 470 mSourcePath = shaderStrings[0]; in compileTreeImpl() 486 if (PaParseStrings(numStrings - firstSource, &shaderStrings[firstSource], nullptr, in compileTreeImpl() 636 const char *const shaderStrings[], in getShaderBinary() argument [all …]
|
D | Compiler.h | 102 TIntermBlock *compileTreeForTesting(const char *const shaderStrings[], 106 bool compile(const char *const shaderStrings[], 200 const char *const shaderStrings[], 301 TIntermBlock *compileTreeImpl(const char *const shaderStrings[],
|
D | ShaderLang.cpp | 400 const char *const shaderStrings[], in Compile() argument 407 return compiler->compile(shaderStrings, numStrings, compileOptions); in Compile() 468 const char *const shaderStrings[], in GetShaderBinary() argument 476 return compiler->getShaderBinary(handle, shaderStrings, numStrings, compileOptions, binaryOut); in GetShaderBinary()
|
/external/angle/src/tests/perf_tests/ |
D | CompilerPerf.cpp | 306 const char *shaderStrings[] = {mTestShader}; in step() local 315 if (!mTranslator->compile(shaderStrings, 1, compileOptions)) in step() 324 mTranslator->compile(shaderStrings, 1, compileOptions); in step()
|
/external/angle/src/tests/test_utils/ |
D | ShaderExtensionTest.h | 66 const char *shaderStrings[] = {version, pragma, shader}; in TestShaderCompile() local 69 bool success = sh::Compile(mCompiler, shaderStrings, 3, compileOptions); in TestShaderCompile()
|
D | ShaderCompileTreeTest.cpp | 136 const char *shaderStrings[] = {shaderString.c_str()}; in compile() local 137 mASTRoot = mTranslator->compileTreeForTesting(shaderStrings, 1, mCompileOptions); in compile()
|
D | compiler_test.cpp | 79 const char *shaderStrings[] = {shaderString.c_str()}; in compileTestShader() local 83 bool compilationSuccess = translator->compile(shaderStrings, 1, options); in compileTestShader()
|
/external/angle/src/compiler/fuzz/ |
D | translator_fuzzer.cpp | 230 const char *shaderStrings[] = {reinterpret_cast<const char *>(data)}; in LLVMFuzzerTestOneInput() local 231 translator->compile(shaderStrings, 1, options); in LLVMFuzzerTestOneInput()
|
/external/angle/third_party/vulkan-deps/glslang/src/gtests/ |
D | TestFixture.h | 190 const char* shaderStrings = code.data(); 197 &shaderStrings, &shaderLengths, &shaderNames, 1); 199 shader->setStringsWithLengths(&shaderStrings, &shaderLengths, 1); 635 const char* shaderStrings = source.data(); in preprocess() local 639 shader.setStringsWithLengths(&shaderStrings, &shaderLengths, 1); in preprocess()
|
/external/deqp-deps/glslang/gtests/ |
D | TestFixture.h | 190 const char* shaderStrings = code.data(); 197 &shaderStrings, &shaderLengths, &shaderNames, 1); 199 shader->setStringsWithLengths(&shaderStrings, &shaderLengths, 1); 635 const char* shaderStrings = source.data(); in preprocess() local 639 shader.setStringsWithLengths(&shaderStrings, &shaderLengths, 1); in preprocess()
|
/external/deqp-deps/glslang/glslang/MachineIndependent/ |
D | ShaderLang.cpp | 796 const char* const shaderStrings[], in ProcessDeferred() argument 840 strings[s + numPre] = shaderStrings[s]; in ProcessDeferred() 842 lengths[s + numPre] = strlen(shaderStrings[s]); in ProcessDeferred() 1259 const char* const shaderStrings[], in PreprocessDeferred() argument 1278 return ProcessDeferred(compiler, shaderStrings, numStrings, inputLengths, stringNames, in PreprocessDeferred() 1299 const char* const shaderStrings[], in CompileDeferred() argument 1318 return ProcessDeferred(compiler, shaderStrings, numStrings, inputLengths, stringNames, in CompileDeferred() 1466 const char* const shaderStrings[], in ShCompile() argument 1493 bool success = CompileDeferred(compiler, shaderStrings, numStrings, inputLengths, nullptr, in ShCompile()
|
/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/ |
D | ShaderLang.cpp | 796 const char* const shaderStrings[], in ProcessDeferred() argument 840 strings[s + numPre] = shaderStrings[s]; in ProcessDeferred() 842 lengths[s + numPre] = strlen(shaderStrings[s]); in ProcessDeferred() 1259 const char* const shaderStrings[], in PreprocessDeferred() argument 1278 return ProcessDeferred(compiler, shaderStrings, numStrings, inputLengths, stringNames, in PreprocessDeferred() 1299 const char* const shaderStrings[], in CompileDeferred() argument 1318 return ProcessDeferred(compiler, shaderStrings, numStrings, inputLengths, stringNames, in CompileDeferred() 1466 const char* const shaderStrings[], in ShCompile() argument 1493 bool success = CompileDeferred(compiler, shaderStrings, numStrings, inputLengths, nullptr, in ShCompile()
|
/external/vulkan-validation-layers/tests/ |
D | vktestframework.cpp | 763 const char *shaderStrings[1]; in GLSLtoSPV() local 781 shaderStrings[0] = pshader; in GLSLtoSPV() 782 shader->setStrings(shaderStrings, 1); in GLSLtoSPV()
|
/external/angle/include/GLSLANG/ |
D | ShaderLang.h | 762 const char *const shaderStrings[], 796 const char *const shaderStrings[],
|