Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/
H A 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()
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 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()
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 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()
H A DFragDepth_test.cpp53 const char *shaderStrings[] = {version, pragma, shader}; in TestShaderCompile() local
54 bool success = sh::Compile(mCompiler, shaderStrings, 3, 0); in TestShaderCompile()
H A 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()
H A 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()
H A DPrecise_test.cpp81 const char *shaderStrings[] = {shaderSource}; in TestShaderCompile() local
85 bool success = sh::Compile(mCompilerList[shaderOutputType], shaderStrings, 1, options); in TestShaderCompile()
H A 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()
H A DTypeTracking_test.cpp38 const char *shaderStrings[] = {shaderString.c_str()}; in compile() local
39 bool compilationSuccess = mTranslator->compile(shaderStrings, 1, SH_INTERMEDIATE_TREE); in compile()
H A 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()
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
H A DCompilerPerf.cpp306 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 DShaderExtensionTest.h66 const char *shaderStrings[] = {version, pragma, shader}; in TestShaderCompile() local
67 bool success = sh::Compile(mCompiler, shaderStrings, 3, 0); in TestShaderCompile()
H A DShaderCompileTreeTest.cpp136 const char *shaderStrings[] = {shaderString.c_str()}; in compile() local
137 mASTRoot = mTranslator->compileTreeForTesting(shaderStrings, 1, mExtraCompileOptions); in compile()
H A Dcompiler_test.cpp79 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 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) == 0) && in compile()
H A DCompiler.h83 bool compile(const char* const shaderStrings[],
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
H A DCompiler.h102 TIntermBlock *compileTreeForTesting(const char *const shaderStrings[],
106 bool compile(const char *const shaderStrings[],
276 TIntermBlock *compileTreeImpl(const char *const shaderStrings[],
H A DCompiler.cpp102 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 DShaderLang.cpp401 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 Dtranslator_fuzzer.cpp245 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 DTestFixture.h191 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 DShaderLang.cpp778 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 DShaderLang.h658 // 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 Dvulkan_command_buffer_utils.cpp1451 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 DShaderLang.h333 GLSLANG_EXPORT int ShCompile(const ShHandle, const char* const shaderStrings[], const int numStrings,

Completed in 27 milliseconds