Home
last modified time | relevance | path

Searched refs:retType (Results 1 – 17 of 17) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/
DAddExplicitTypeCasts.cpp31 const TType &retType = callNode.getType(); in visitAggregatePost() local
35 if (IsScalarBasicType(retType)) in visitAggregatePost()
43 return CoerceSimple(retType, SubVector(arg, 0, 1), mNeedsExplicitBoolCasts); in visitAggregatePost()
47 else if (retType.isVector()) in visitAggregatePost()
50 if (argCount == 1 && !retType.isArray()) in visitAggregatePost()
56 return CoerceSimple(retType, SubVector(arg, 0, retType.getNominalSize()), in visitAggregatePost()
64 CoerceSimple(retType.getBasicType(), arg, mNeedsExplicitBoolCasts)); in visitAggregatePost()
67 else if (retType.isMatrix()) in visitAggregatePost()
75 if (retType.getCols() != argType.getCols() || in visitAggregatePost()
76 retType.getRows() != argType.getRows()) in visitAggregatePost()
[all …]
DFixTypeConstructors.cpp29 const TType &retType = aggregateNode->getType(); in visitAggregate() local
30 if (retType.isScalar()) in visitAggregate()
34 else if (retType.isVector()) in visitAggregate()
36 size_t primarySize = retType.getNominalSize() * retType.getArraySizeProduct(); in visitAggregate()
80 else if (retType.isMatrix()) in visitAggregate()
DEmitMetal.cpp1939 const TType &retType = aggregateNode->getType(); in visitAggregate() local
1956 if (retType.isArray()) in visitAggregate()
1958 emitType(retType, etConfig); in visitAggregate()
1961 else if (retType.getStruct()) in visitAggregate()
1963 emitType(retType, etConfig); in visitAggregate()
1968 emitType(retType, etConfig); in visitAggregate()
2025 const char *opName = GetOperatorString(op, retType, argType0, argType1, argType2); in visitAggregate()
2027 if (IsSymbolicOperator(op, retType, argType0, argType1)) in visitAggregate()
DModifyStruct.cpp64 auto &retType = InnermostType(type); in Flatten() local
65 retType.makeArray(1); in Flatten()
67 return symbolEnv.callFunctionOverload(Name("flatten"), retType, *new TIntermSequence{&node}); in Flatten()
/third_party/icu/icu4c/source/test/cintltst/
Dsprpdata.c155 UStringPrepType retType; in compareMapping() local
165 retType = getValues(result,&value,&isIndex); in compareMapping()
168 if(type != retType && retType != USPREP_DELETE){ in compareMapping()
190 length = (retType == USPREP_DELETE)? 0 : 1; in compareMapping()
222 if(retType!=USPREP_DELETE && (codepoint-delta) != (uint16_t)mapping[0]){ in compareMapping()
235 UStringPrepType retType; in compareFlagsForRange() local
259 retType = getValues(result, &value, &isIndex); in compareFlagsForRange()
261 if(retType != type){ in compareFlagsForRange()
262 …ed type for 0x%06X. Expected: %s Got: %s\n",start,usprepTypeNames[type], usprepTypeNames[retType]); in compareFlagsForRange()
266 …ed type for 0x%06X. Expected: %s Got: %s\n",start,usprepTypeNames[type], usprepTypeNames[retType]); in compareFlagsForRange()
/third_party/icu/icu4c/source/test/intltest/
Dtestidn.cpp336 UStringPrepType retType; in compareMapping() local
339 retType = getValues(result,value,isIndex); in compareMapping()
342 if(type != retType && retType != USPREP_DELETE){ in compareMapping()
364 length = (retType == USPREP_DELETE)? 0 : 1; in compareMapping()
397 if(retType!=USPREP_DELETE && (codepoint-delta) != (uint16_t)mapping[0]){ in compareMapping()
409 UStringPrepType retType; in compareFlagsForRange() local
432 retType = getValues(result,value,isIndex); in compareFlagsForRange()
434 if(retType != type){ in compareFlagsForRange()
435 …ed type for 0x%06X. Expected: %s Got: %s\n",start,usprepTypeNames[type], usprepTypeNames[retType]); in compareFlagsForRange()
439 …ed type for 0x%06X. Expected: %s Got: %s\n",start,usprepTypeNames[type], usprepTypeNames[retType]); in compareFlagsForRange()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DSymbol.h298 const TType *retType,
340 const TType *retType, in TFunction() argument
350 returnType(retType),
366 const TType *retType, in TFunction() argument
372 returnType(retType), in TFunction()
DSymbol.cpp188 const TType *retType, in TFunction() argument
193 returnType(retType), in TFunction()
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
DSymbol.h204 const TType *retType,
245 const TType *retType, in TFunction() argument
252 returnType(retType), in TFunction()
DSymbol.cpp161 const TType *retType, in TFunction() argument
167 returnType(retType), in TFunction()
/third_party/glslang/glslang/HLSL/
DhlslParseables.cpp501 const char* retType; // return type key: empty matches type of 1st argument in initialize() member
912 … const char* retType = intrinsic.retType ? intrinsic.retType : argType; in initialize() local
914 … if (!IsValid(intrinsic.name, *retOrder, *retType, *argOrder, *argType, dim0, dim1)) in initialize()
921 AppendTypeName(s, retOrder, retType, dim0, dim1); // add return type in initialize()
DhlslParseHelper.cpp3768 TType retType(EbtFloat, EvqConst, 2); in getSamplePosArray() local
3773 retType.transferArraySizes(arraySizes); in getSamplePosArray()
3776 return new TIntermConstantUnion(*values, retType); in getSamplePosArray()
3793 TType retType; in decomposeSampleMethods() local
3794 getTextureReturnType(sampler, retType); in decomposeSampleMethods()
3796 if (retType.isStruct()) { in decomposeSampleMethods()
3802 TVariable* structVar = makeInternalVariable("@sampleStructTemp", retType); in decomposeSampleMethods()
3816 for (unsigned m = 0; m < unsigned(retType.getStruct()->size()); ++m) { in decomposeSampleMethods()
3817 … const TType memberType(retType, m); // dereferenced type of the member we're about to assign. in decomposeSampleMethods()
3864 intermediate.setAggregateOperator(conversionAggregate, EOpSequence, retType, loc); in decomposeSampleMethods()
[all …]
DhlslParseHelper.h217 bool setTextureReturnType(TSampler& sampler, const TType& retType, const TSourceLoc& loc);
220 void getTextureReturnType(const TSampler& sampler, TType& retType) const;
/third_party/glslang/glslang/MachineIndependent/
DSymbolTable.h248 TFunction(const TString *name, const TType& retType, TOperator tOp = EOpNull) :
254 returnType.shallowCopy(retType); in TSymbol()
255 declaredBuiltIn = retType.getQualifier().builtIn; in TSymbol()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
DSymbolTable.h148 …TFunction(const TString *name, const TType& retType, TOperator tOp = EOpNull, const char *ext = ""…
150 returnType(retType), in TSymbol()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fProgramUniformTests.cpp1109 const glu::DataType retType = getSamplerLookupReturnType(samplerTypes[i]); in writeUniformDefinitions() local
1110 if (typeReq[0](retType) || typeReq[1](retType)) in writeUniformDefinitions()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fUniformApiTests.cpp1293 const glu::DataType retType = getSamplerLookupReturnType(samplerTypes[i]); in writeUniformDefinitions() local
1294 if (typeReq[0](retType) || typeReq[1](retType)) in writeUniformDefinitions()