Home
last modified time | relevance | path

Searched refs:shaderStrings (Results 1 – 25 of 28) sorted by relevance

12

/external/angle/src/tests/compiler_tests/
DShCompile_test.cpp40 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 …]
DOES_sample_variables_test.cpp77 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()
DWorkGroupSize_test.cpp38 const char *shaderStrings[] = {shaderString.c_str()}; in compile() local
39 bool status = mTranslator->compile(shaderStrings, 1, SH_INTERMEDIATE_TREE | SH_VARIABLES); in compile()
DFragDepth_test.cpp53 const char *shaderStrings[] = {version, pragma, shader}; in TestShaderCompile() local
54 bool success = sh::Compile(mCompiler, shaderStrings, 3, 0); in TestShaderCompile()
DAPPLE_clip_distance_test.cpp60 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()
DEXT_clip_cull_distance_test.cpp258 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()
DEXT_shader_framebuffer_fetch_test.cpp186 const char *shaderStrings[] = {testing::get<1>(GetParam()), pragma, in TestShaderCompile() local
189 bool success = sh::Compile(mCompilerList[shaderOutputType], shaderStrings, 3, in TestShaderCompile()
DTypeTracking_test.cpp38 const char *shaderStrings[] = {shaderString.c_str()}; in compile() local
39 bool compilationSuccess = mTranslator->compile(shaderStrings, 1, SH_INTERMEDIATE_TREE); in compile()
DCollectVariables_test.cpp59 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()
/external/angle/src/tests/test_utils/
DShaderExtensionTest.h66 const char *shaderStrings[] = {version, pragma, shader}; in TestShaderCompile() local
67 bool success = sh::Compile(mCompiler, shaderStrings, 3, 0); in TestShaderCompile()
DShaderCompileTreeTest.cpp136 const char *shaderStrings[] = {shaderString.c_str()}; in compile() local
137 mASTRoot = mTranslator->compileTreeForTesting(shaderStrings, 1, mExtraCompileOptions); in compile()
Dcompiler_test.cpp79 const char *shaderStrings[] = {shaderString.c_str()}; in compileTestShader() local
82 translator->compile(shaderStrings, 1, SH_OBJECT_CODE | compileOptions); in compileTestShader()
/external/angle/src/tests/perf_tests/
DCompilerPerf.cpp305 const char *shaderStrings[] = {mTestShader}; in step() local
312 if (!mTranslator->compile(shaderStrings, 1, compileOptions)) in step()
321 mTranslator->compile(shaderStrings, 1, compileOptions); in step()
/external/swiftshader/src/OpenGL/compiler/
DCompiler.cpp102 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()
DCompiler.h83 bool compile(const char* const shaderStrings[],
/external/angle/src/compiler/translator/
DCompiler.cpp68 void DumpFuzzerCase(char const *const *shaderStrings, in DumpFuzzerCase() argument
93 fwrite(shaderStrings[i], sizeof(char), strlen(shaderStrings[i]), f); in DumpFuzzerCase()
350 TIntermBlock *TCompiler::compileTreeForTesting(const char *const shaderStrings[], in compileTreeForTesting() argument
354 return compileTreeImpl(shaderStrings, numStrings, compileOptions); in compileTreeForTesting()
357 TIntermBlock *TCompiler::compileTreeImpl(const char *const shaderStrings[], in compileTreeImpl() argument
399 mSourcePath = shaderStrings[0]; in compileTreeImpl()
415 if (PaParseStrings(numStrings - firstSource, &shaderStrings[firstSource], nullptr, in compileTreeImpl()
1034 bool TCompiler::compile(const char *const shaderStrings[], in compile() argument
1039 DumpFuzzerCase(shaderStrings, numStrings, mShaderType, mShaderSpec, mOutputType, in compile()
1056 TIntermBlock *root = compileTreeImpl(shaderStrings, numStrings, compileOptions); in compile()
DCompiler.h97 TIntermBlock *compileTreeForTesting(const char *const shaderStrings[],
101 bool compile(const char *const shaderStrings[],
264 TIntermBlock *compileTreeImpl(const char *const shaderStrings[],
DShaderLang.cpp391 const char *const shaderStrings[], in Compile() argument
398 return compiler->compile(shaderStrings, numStrings, compileOptions); in Compile()
/external/angle/src/compiler/fuzz/
Dtranslator_fuzzer.cpp245 const char *shaderStrings[] = {reinterpret_cast<const char *>(data)}; in LLVMFuzzerTestOneInput() local
246 translator->compile(shaderStrings, 1, options); in LLVMFuzzerTestOneInput()
/external/angle/third_party/vulkan-deps/glslang/src/gtests/
DTestFixture.h190 const char* shaderStrings = code.data();
197 &shaderStrings, &shaderLengths, &shaderNames, 1);
199 shader->setStringsWithLengths(&shaderStrings, &shaderLengths, 1);
629 const char* shaderStrings = source.data(); in preprocess() local
633 shader.setStringsWithLengths(&shaderStrings, &shaderLengths, 1); in preprocess()
/external/deqp-deps/glslang/gtests/
DTestFixture.h190 const char* shaderStrings = code.data();
197 &shaderStrings, &shaderLengths, &shaderNames, 1);
199 shader->setStringsWithLengths(&shaderStrings, &shaderLengths, 1);
629 const char* shaderStrings = source.data(); in preprocess() local
633 shader.setStringsWithLengths(&shaderStrings, &shaderLengths, 1); in preprocess()
/external/deqp-deps/glslang/glslang/MachineIndependent/
DShaderLang.cpp799 const char* const shaderStrings[], in ProcessDeferred() argument
842 strings[s + numPre] = shaderStrings[s]; in ProcessDeferred()
844 lengths[s + numPre] = strlen(shaderStrings[s]); in ProcessDeferred()
1259 const char* const shaderStrings[], in PreprocessDeferred() argument
1276 return ProcessDeferred(compiler, shaderStrings, numStrings, inputLengths, stringNames, in PreprocessDeferred()
1297 const char* const shaderStrings[], in CompileDeferred() argument
1315 return ProcessDeferred(compiler, shaderStrings, numStrings, inputLengths, stringNames, in CompileDeferred()
1461 const char* const shaderStrings[], in ShCompile() argument
1488 bool success = CompileDeferred(compiler, shaderStrings, numStrings, inputLengths, nullptr, in ShCompile()
/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/
DShaderLang.cpp804 const char* const shaderStrings[], in ProcessDeferred() argument
847 strings[s + numPre] = shaderStrings[s]; in ProcessDeferred()
849 lengths[s + numPre] = strlen(shaderStrings[s]); in ProcessDeferred()
1268 const char* const shaderStrings[], in PreprocessDeferred() argument
1286 return ProcessDeferred(compiler, shaderStrings, numStrings, inputLengths, stringNames, in PreprocessDeferred()
1307 const char* const shaderStrings[], in CompileDeferred() argument
1325 return ProcessDeferred(compiler, shaderStrings, numStrings, inputLengths, stringNames, in CompileDeferred()
1471 const char* const shaderStrings[], in ShCompile() argument
1498 bool success = CompileDeferred(compiler, shaderStrings, numStrings, inputLengths, nullptr, in ShCompile()
/external/vulkan-validation-layers/tests/
Dvktestframework.cpp763 const char *shaderStrings[1]; in GLSLtoSPV() local
781 shaderStrings[0] = pshader; in GLSLtoSPV()
782 shader->setStrings(shaderStrings, 1); in GLSLtoSPV()
/external/angle/include/GLSLANG/
DShaderLang.h671 const char *const shaderStrings[],

12