Home
last modified time | relevance | path

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

1234

/third_party/glslang/glslang/MachineIndependent/
H A DShaderLang.cpp105 TParseContextBase* CreateParseContext(TSymbolTable& symbolTable, TIntermediate& intermediate, in CreateParseContext() argument
114 intermediate.setEntryPointName("main"); in CreateParseContext()
116 return new TParseContext(symbolTable, intermediate, parsingBuiltIns, version, profile, spvVersion, in CreateParseContext()
121 return new HlslParseContext(symbolTable, intermediate, parsingBuiltIns, version, profile, spvVersion, in CreateParseContext()
247 TIntermediate intermediate(language, version, profile);
249 intermediate.setSource(source);
251 std::unique_ptr<TParseContextBase> parseContext(CreateParseContext(symbolTable, intermediate, version, profile, source,
750 // Most processes are recorded when set in the intermediate representation,
752 void RecordProcesses(TIntermediate& intermediate, EShMessages messages, const std::string& sourceEntryPointName) in RecordProcesses() argument
755 intermediate in RecordProcesses()
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
[all...]
H A DParseHelper.cpp168 intermediate.setLimits(r); in setLimits()
221 globalUniformBinding = intermediate.getGlobalUniformBinding(); in growGlobalUniformBlock()
222 globalUniformSet = intermediate.getGlobalUniformSet(); in growGlobalUniformBlock()
230 TBlockStorageClass storageOverride = intermediate.getBlockStorageOverride(getGlobalUniformBlockName()); in growGlobalUniformBlock()
254 atomicCounterBlockSet = intermediate.getAtomicCounterBlockSet(); in growAtomicCounterBlock()
264 TBlockStorageClass storageOverride = intermediate.getBlockStorageOverride(getAtomicCounterBlockName()); in growAtomicCounterBlock()
284 const char* name = intermediate.getGlobalUniformBlockName(); in getGlobalUniformBlockName()
302 const char* name = intermediate.getAtomicCounterBlockName(); in getAtomicCounterBlockName()
321 if (intermediate.inIoAccessed(builtin)) in setInvariant()
391 intermediate in handlePragma()
[all...]
H A Dreflection.cpp81 TIntermTraverser(), intermediate(i), reflection(r), updateStageMasks(true) { } in TReflectionTraverser()
108 blockIndex = addBlockName(blockName, base.getType(), intermediate.getBlockSize(base.getType())); in addUniform()
159 stages = static_cast<EShLanguageMask>(stages | 1 << intermediate.getStage()); in addPipeIOVariable()
162 stages = static_cast<EShLanguageMask>(stages | 1 << intermediate.getStage()); in addPipeIOVariable()
182 intermediate.updateOffset(type, *memberList[m].type, offset, memberSize); in getOffsets()
203 intermediate.getMemberAlignment(type, dummySize, stride, in getArrayStride()
323 offset += intermediate.getOffset(visitNode->getLeft()->getType(), index); in blowUpActiveAggregate()
466 stages = static_cast<EShLanguageMask>(stages | 1 << intermediate.getStage()); in blowUpActiveAggregate()
476 stages = static_cast<EShLanguageMask>(stages | 1 << intermediate.getStage()); in blowUpActiveAggregate()
535 stages = static_cast<EShLanguageMask>(stages | 1 << intermediate in blowUpIOAggregate()
1016 const TIntermediate& intermediate; global() member in glslang::TReflectionTraverser
1118 buildAttributeReflection(EShLanguage stage, const TIntermediate& intermediate) buildAttributeReflection() argument
1128 buildCounterIndices(const TIntermediate& intermediate) buildCounterIndices() argument
1145 buildUniformStageMask(const TIntermediate& intermediate) buildUniformStageMask() argument
1163 addStage(EShLanguage stage, const TIntermediate& intermediate) addStage() argument
[all...]
H A Diomapper.cpp89 ent.stage = intermediate.getStage(); in visitSymbol()
407 // In case we need to new an intermediate, which costs too much
760 TDefaultIoResolverBase::TDefaultIoResolverBase(const TIntermediate& intermediate) in TDefaultIoResolverBase() argument
761 : referenceIntermediate(intermediate) in TDefaultIoResolverBase()
762 , nextUniformLocation(intermediate.getUniformLocationBase()) in TDefaultIoResolverBase()
768 stageIntermediates[intermediate.getStage()] = &intermediate; in TDefaultIoResolverBase()
934 TDefaultGlslIoResolver::TDefaultGlslIoResolver(const TIntermediate& intermediate) in TDefaultGlslIoResolver() argument
935 : TDefaultIoResolverBase(intermediate) in TDefaultGlslIoResolver()
1275 TDefaultIoResolver(const TIntermediate& intermediate)
1405 addStage(EShLanguage stage, TIntermediate& intermediate, TInfoSink& infoSink, TIoMapResolver* resolver) addStage() argument
1504 addStage(EShLanguage stage, TIntermediate& intermediate, TInfoSink& infoSink, TIoMapResolver* resolver) addStage() argument
[all...]
H A DLiveTraverser.h64 intermediate(i), traverseAll(traverseAll) in TLiveTraverser()
73 TIntermSequence& globals = intermediate.getTreeRoot()->getAsAggregate()->getSequence(); in pushFunction()
85 TIntermSequence& globals = intermediate.getTreeRoot()->getAsAggregate()->getSequence(); in pushGlobalReference()
155 const TIntermediate& intermediate; member in glslang::TLiveTraverser
/third_party/glslang/glslang/HLSL/
H A DhlslParseHelper.cpp119 intermediate.setLimits(resources); in setLimits()
199 if (intermediate.getNoStorageFormat()) in getLayoutFromTxType()
239 intermediate.setNeedsLegalization(); in lValueErrorCheck()
283 loadOp->getSequence().push_back(intermediate.addSymbol(*coord->getAsSymbolNode())); in handleLvalue()
286 sequence = intermediate.growAggregate(sequence, in handleLvalue()
287 intermediate.addAssign(EOpAssign, rhsTmp, loadOp, loc), in handleLvalue()
296 storeOp->getSequence().push_back(intermediate.addSymbol(*rhsTmp)); in handleLvalue()
300 sequence = intermediate.growAggregate(sequence, storeOp); in handleLvalue()
305 sequence = intermediate.growAggregate(sequence, in handleLvalue()
306 intermediate in handleLvalue()
[all...]
H A DhlslGrammar.cpp100 idToken.string = NewPoolTString(intermediate.implicitThisName); in acceptIdentifier()
138 unitNode = intermediate.growAggregate(nullptr, unitNode); in acceptCompilationUnit()
139 intermediate.setTreeRoot(unitNode); in acceptCompilationUnit()
504 initializers = intermediate.growAggregate(initializers, in acceptDeclaration()
523 unitNode = intermediate.growAggregate(unitNode, initializers, idToken.loc); in acceptDeclaration()
527 nodeList = intermediate.growAggregate(nodeList, initializers); in acceptDeclaration()
2474 functionDeclarators[b].function->addThisParameter(type, intermediate.implicitThisName); in acceptStruct()
2891 node = intermediate.fold(node->getAsAggregate()); in acceptDefaultParameterDeclaration()
2994 nodeList = intermediate.growAggregate(nodeList, functionNode); in acceptFunctionBody()
2995 nodeList = intermediate in acceptFunctionBody()
[all...]
H A DhlslGrammar.h55 : HlslTokenStream(scanner), parseContext(parseContext), intermediate(parseContext.intermediate), in HlslGrammar()
136 HlslParseContext& parseContext; // state of parsing and helper functions for building the intermediate
137 TIntermediate& intermediate; // the final product, the intermediate representation, includes the AST member in glslang::HlslGrammar
/third_party/typescript/tests/baselines/reference/
H A DwideningTuples2.js3 let intermediate = bar();
4 intermediate = [""];
10 var intermediate = bar();
11 intermediate = [""];
H A DwideningTuples7.js3 let intermediate: [string];
4 return intermediate = [undefined];
9 var intermediate;
10 return intermediate = [undefined];
/third_party/glslang/SPIRV/
H A DSpvTools.cpp148 void SpirvToolsValidate(const glslang::TIntermediate& intermediate, std::vector<unsigned int>& spirv, in SpirvToolsValidate() argument
152 spv_context context = spvContextCreate(MapToSpirvToolsEnv(intermediate.getSpv(), logger)); in SpirvToolsValidate()
156 spvValidatorOptionsSetRelaxBlockLayout(options, intermediate.usingHlslOffsets()); in SpirvToolsValidate()
158 spvValidatorOptionsSetScalarBlockLayout(options, intermediate.usingScalarBlockLayout()); in SpirvToolsValidate()
159 spvValidatorOptionsSetWorkgroupScalarBlockLayout(options, intermediate.usingScalarBlockLayout()); in SpirvToolsValidate()
175 void SpirvToolsTransform(const glslang::TIntermediate& intermediate, std::vector<unsigned int>& spirv, in SpirvToolsTransform() argument
178 spv_target_env target_env = MapToSpirvToolsEnv(intermediate.getSpv(), logger); in SpirvToolsTransform()
221 optimizer.SetTargetEnv(MapToSpirvToolsEnv(intermediate.getSpv(), logger)); in SpirvToolsTransform()
279 void SpirvToolsStripDebugInfo(const glslang::TIntermediate& intermediate, in SpirvToolsStripDebugInfo() argument
282 spv_target_env target_env = MapToSpirvToolsEnv(intermediate in SpirvToolsStripDebugInfo()
[all...]
H A DSpvTools.h69 void SpirvToolsValidate(const glslang::TIntermediate& intermediate, std::vector<unsigned int>& spirv,
73 void SpirvToolsTransform(const glslang::TIntermediate& intermediate, std::vector<unsigned int>& spirv,
95 void SpirvToolsStripDebugInfo(const glslang::TIntermediate& intermediate,
H A DGlslangToSpv.h60 void GlslangToSpv(const glslang::TIntermediate& intermediate, std::vector<unsigned int>& spirv,
62 void GlslangToSpv(const glslang::TIntermediate& intermediate, std::vector<unsigned int>& spirv,
/third_party/icu/icu4c/source/test/perf/utfperf/
H A Dutfperf.cpp40 static char intermediate[OUTPUT_CAPACITY]; variable
183 pInterLimit=intermediate+testcase.chunkLength; in call()
189 /* convert a block of [pIn..pInLimit[ to the encoding in intermediate[] */ in call()
190 pInter=intermediate; in call()
192 encodedLength+=(int32_t)(pInter-intermediate); in call()
203 /* convert the block [intermediate..pInter[ back to UTF-16 */ in call()
204 p=intermediate; in call()
209 /* intermediate must have been consumed (p==pInter) because of the converter semantics */ in call()
244 pInterLimit=intermediate+testcase.chunkLength; in call()
249 pInter=intermediate; in call()
[all...]
/third_party/gn/src/gn/
H A Dpath_output.cc134 // Shell escaping needs an intermediate string since it may end up in WriteSourceRelativeString()
136 std::string intermediate; in WriteSourceRelativeString() local
137 intermediate.reserve(inverse_current_dir_.size() + str.size()); in WriteSourceRelativeString()
138 intermediate.assign(inverse_current_dir_.c_str(), in WriteSourceRelativeString()
140 intermediate.append(str.data(), str.size()); in WriteSourceRelativeString()
143 out, std::string_view(intermediate.c_str(), intermediate.size()), in WriteSourceRelativeString()
146 // Ninja (and none) escaping can avoid the intermediate string and in WriteSourceRelativeString()
/third_party/skia/third_party/externals/sfntly/cpp/src/test/
H A Dserialization_test.cc40 FontPtr intermediate; in TestSerialization() local
41 intermediate.Attach(font_builder->Build()); in TestSerialization()
43 factory2->SerializeFont(intermediate, &os); in TestSerialization()
106 FontPtr intermediate; in TestSerializationBitmap() local
107 intermediate.Attach(font_builder->Build()); in TestSerializationBitmap()
109 factory2->SerializeFont(intermediate, &os); in TestSerializationBitmap()
/third_party/glslang/glslang/MachineIndependent/preprocessor/
H A DPpScanner.cpp148 if (ch == '#' && (ifdepth > 0 || parseContext.intermediate.getSource() == EShSourceHlsl)) { in lFloatConst()
264 if (ifdepth == 0 && parseContext.intermediate.getSource() == EShSourceGlsl) in lFloatConst()
268 if (parseContext.intermediate.getSource() == EShSourceGlsl) { in lFloatConst()
278 } else if (parseContext.intermediate.getSource() == EShSourceHlsl) { in lFloatConst()
283 if (ifdepth == 0 && parseContext.intermediate.getSource() == EShSourceGlsl) in lFloatConst()
287 if (parseContext.intermediate.getSource() == EShSourceGlsl) { in lFloatConst()
297 } else if (parseContext.intermediate.getSource() == EShSourceHlsl) { in lFloatConst()
381 if (parseContext.intermediate.getSource() != EShSourceHlsl) { in characterLiteral()
592 pp->parseContext.intermediate.getSource() == EShSourceGlsl) { in scan()
603 pp->parseContext.intermediate in scan()
[all...]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
H A DParseHelper.cpp1316 TIntermSymbol* intermSymbol = intermediate.addSymbol(variable->getUniqueId(), variable->getName(), variable->getType(), line); in executeInitializer()
1442 TIntermSymbol *symbol = intermediate.addSymbol(0, identifier, TType(publicType), identifierOrTypeLocation); in parseSingleDeclaration()
1473 return intermediate.makeAggregate(symbol, identifierOrTypeLocation); in parseSingleDeclaration()
1510 TIntermSymbol *symbol = intermediate.addSymbol(0, identifier, arrayType, identifierLocation); in parseSingleArrayDeclaration()
1514 return intermediate.makeAggregate(symbol, identifierLocation); in parseSingleArrayDeclaration()
1532 // Build intermediate representation in parseSingleInitDeclaration()
1534 return intermNode ? intermediate.makeAggregate(intermNode, initLocation) : nullptr; in parseSingleInitDeclaration()
1577 return initNode ? intermediate.makeAggregate(initNode, initLocation) : nullptr; in parseSingleArrayInitDeclaration()
1616 TIntermSymbol *intermSymbol = intermediate.addSymbol(variable->getUniqueId(), in parseInvariantDeclaration()
1619 TIntermAggregate *aggregate = intermediate in parseInvariantDeclaration()
[all...]
H A DCompiler.cpp121 TIntermediate intermediate(infoSink); in compile()
122 TParseContext parseContext(symbolTable, extensionBehavior, intermediate, in compile()
142 success = intermediate.postProcess(root); in compile()
151 intermediate.outputTree(root); in compile()
/third_party/python/Modules/_io/
H A Dstringio.c129 PyObject *intermediate = _PyAccu_Finish(&self->accu); in make_intermediate() local
131 if (intermediate == NULL) in make_intermediate()
134 _PyAccu_Accumulate(&self->accu, intermediate)) { in make_intermediate()
135 Py_DECREF(intermediate); in make_intermediate()
139 return intermediate; in make_intermediate()
146 PyObject *intermediate; in realize() local
153 intermediate = _PyAccu_Finish(&self->accu); in realize()
154 if (intermediate == NULL) in realize()
157 /* Append the intermediate string to the internal buffer. in realize()
160 len = PyUnicode_GET_LENGTH(intermediate); in realize()
[all...]
/third_party/libabigail/include/
H A Dabg-diff-utils.h230 /// The end point of the non-diagonal edge is the intermediate point
231 /// of the snake; it's given by the snake::intermediate() method.
240 /// diagonal edge, snake::intermediate(), and snake::end() return the
255 /// Constructor from the beginning, intermediate and end points.
260 /// @param i the intermediate point of the snake. That is, the end
272 /// Constructor from the beginning, intermediate and end points.
277 /// @param i the intermediate point of the snake. That is, the end
314 intermediate() const in intermediate() function in abigail::diff_utils::snake
318 /// aka intermediate point.
320 /// @param p the new intermediate poin
322 intermediate(const point& p) intermediate() function in abigail::diff_utils::snake
849 point begin, intermediate, diag_start, end; end_of_fr_d_path_in_k() local
994 point begin, intermediate, diag_start, end; end_of_frr_d_path_in_k_plus_delta() local
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
H A DSpirvShaderDebug.hpp136 return (v.intermediate != nullptr) ? PrintValue::Ty<sw::Intermediate>::fmt(*v.intermediate) : PrintValue::Ty<sw::SIMD::UInt>::fmt(v.UInt(0)); in fmt()
141 return (v.intermediate != nullptr) ? PrintValue::Ty<sw::Intermediate>::val(*v.intermediate) : PrintValue::Ty<sw::SIMD::UInt>::val(v.UInt(0)); in val()
/third_party/ffmpeg/libavfilter/
H A Dvf_avgblur_opencl.c153 AVFrame *intermediate = NULL; in avgblur_opencl_filter_frame() local
188 intermediate = ff_get_video_buffer(outlink, outlink->w, outlink->h); in avgblur_opencl_filter_frame()
189 if (!intermediate) { in avgblur_opencl_filter_frame()
197 inter = (cl_mem)intermediate->data[p]; in avgblur_opencl_filter_frame()
220 i == 0 ? intermediate : output, p, 0); in avgblur_opencl_filter_frame()
235 i == 0 ? output : intermediate, p, 0); in avgblur_opencl_filter_frame()
262 av_frame_free(&intermediate); in avgblur_opencl_filter_frame()
274 av_frame_free(&intermediate); in avgblur_opencl_filter_frame()
/third_party/openssl/test/
H A Dcmp_protect_test.c72 *root = NULL, *intermediate = NULL; variable
375 || !TEST_true(sk_X509_push(fixture->certs, intermediate)) in test_cmp_build_cert_chain()
377 || !TEST_true(sk_X509_push(fixture->chain, intermediate))) { in test_cmp_build_cert_chain()
418 || !TEST_true(sk_X509_push(fixture->certs, intermediate)) in test_cmp_build_cert_chain_no_root()
420 || !TEST_true(sk_X509_push(fixture->chain, intermediate))) { in test_cmp_build_cert_chain_no_root()
491 || !sk_X509_push(fixture->certs, intermediate) in test_X509_STORE()
509 || !TEST_true(sk_X509_push(fixture->certs, intermediate)) in test_X509_STORE_only_self_issued()
528 X509_free(intermediate); in cleanup_tests()
588 || !TEST_ptr(intermediate = load_cert_pem(intermediate_f, libctx))) in OPT_TEST_DECLARE_USAGE()
/third_party/mesa3d/src/gallium/auxiliary/vl/
H A Dvl_idct.h73 struct pipe_sampler_view *intermediate, *transpose; member
106 struct pipe_sampler_view *intermediate);

Completed in 31 milliseconds

1234