Home
last modified time | relevance | path

Searched refs:getArraySizes (Results 1 – 25 of 30) sorted by relevance

12

/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DInfoSink.cpp77 for (auto arraySizeIter = type.getArraySizes().rbegin(); in operator <<()
78 arraySizeIter != type.getArraySizes().rend(); ++arraySizeIter) in operator <<()
DValidateTypeSizeLimitations.cpp157 const TSpan<const unsigned int> &arraySizes = type.getArraySizes(); in setFieldOrVariableProperties()
DShaderStorageBlockOutputHLSL.cpp115 const TSpan<const unsigned int> &typeArraySizes = type.getArraySizes(); in GetBlockMemberInfoByType()
608 const TSpan<const unsigned int> &arraySizes = type.getArraySizes(); in writeEOpIndexDirectOrIndirectOutput()
DValidateAST.cpp125 a.getSecondarySize() == b.getSecondarySize() && a.getArraySizes() == b.getArraySizes() && in IsSameType()
DTypes.h203 const TSpan<const unsigned int> &getArraySizes() const { return mArraySizes; } in getArraySizes() function
Dutil.cpp436 const TSpan<const unsigned int> &arraySizes = type.getArraySizes(); in ArrayString()
DParseContext.cpp1221 const TSpan<const unsigned int> &arraySizes = type->getArraySizes(); in checkCanBeDeclaredWithoutInitializer()
2296 type->sizeUnsizedArrays(initializer->getType().getArraySizes()); in executeInitializer()
4235 if (type.getArraySizes()[i] == 0u) in addConstructor()
4237 type.setArraySize(i, firstElement->getType().getArraySizes()[i]); in addConstructor()
6085 if (left->getType().getArraySizes() != right->getType().getArraySizes()) in binaryOpCommonCheck()
6630 if (offsetType.getNumArraySizes() != 1 || offsetType.getArraySizes()[0] != kOffsetsCount) in checkTextureOffset()
DBuildSPIRV.cpp124 fieldType.getArraySizes(), isFieldRowMajor)); in ToShaderVariable()
529 spirvType.arraySizes = type.getArraySizes(); in getSpirvType()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/
DReduceInterfaceBlocks.cpp57 TQualifier::EvqBuffer, &type.getArraySizes()); in visitDeclarationPre()
75 TQualifier::EvqBuffer, &type.getArraySizes()); in visitDeclarationPre()
DSeparateCompoundStructDeclarations.cpp60 instanceType->makeArrays(type.getArraySizes()); in visitDeclaration()
DModifyStruct.cpp240 ASSERT(ot.getArraySizes() == mt.getArraySizes()); in publish()
714 newType.makeArrays(type.getArraySizes()); in RecurseStruct()
DRewritePipelines.cpp238 textureEnvType->makeArrays(varType.getArraySizes()); in createInternalPipelineStruct()
426 type.makeArrays(field->type()->getArraySizes()); in getUpdatedFunction()
DEmitMetal.cpp975 for (auto size : type.getArraySizes()) in emitType()
998 for (auto size : type.getArraySizes()) in emitType()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DRewriteStructSamplers.cpp454 newType->makeArrays(fieldType.getArraySizes()); in stripStructSpecifierSamplers()
533 newType->makeArrays(type.getArraySizes()); in extractStructSamplerUniforms()
631 const TSpan<const unsigned int> &arraySizes = arrayType.getArraySizes(); in enterArray()
DSeparateStructFromUniformDeclarations.cpp88 uniformType->makeArrays(oldType.getArraySizes()); in doReplacement()
DSeparateDeclarations.cpp174 newType->makeArrays(asSymbol->getType().getArraySizes()); in separateDeclarator()
DRewriteArrayOfArrayOfOpaqueUniforms.cpp281 const TSpan<const unsigned int> &arraySizes = type.getArraySizes(); in visitDeclaration()
/third_party/glslang/glslang/MachineIndependent/
DParseHelper.cpp465 TArraySizes& arraySizes = *leftType.getArraySizes(); in handleBracketDereference()
3126 TArraySizes& arraySizes = *type.getArraySizes(); in constructorError()
3130 … arraySizes.getNumDims() != function[0].type->getArraySizes()->getNumDims() + 1) { in constructorError()
3140 … arraySizes.setDimSize(d, function[0].type->getArraySizes()->getDimSize(d - 1)); in constructorError()
3896 arraySizeRequiredCheck(structure[m].loc, *member.getArraySizes()); in structArrayCheck()
4146 int viewDimSize = type.getArraySizes()->getDimSize(viewDim); in checkAndResizeMeshViewDim()
4151 type.getArraySizes()->setDimSize(viewDim, maxViewCount); in checkAndResizeMeshViewDim()
4468 if (oldType.getArraySizes()->getNumDims() != newType.getArraySizes()->getNumDims()) in redeclareBuiltinBlock()
4472 else if (newType.getArraySizes()->getNumDims() == 2) { in redeclareBuiltinBlock()
4473 int innerDimSize = newType.getArraySizes()->getDimSize(1); in redeclareBuiltinBlock()
[all …]
DParseContextBase.cpp264 type.getArraySizes()->getOuterNode() != nullptr && in checkIndex()
265 type.getArraySizes()->getOuterNode()->getAsSymbolNode() == nullptr; }; in checkIndex()
Dreflection.cpp234 … if (memberType.isArray() && ! memberType.getArraySizes()->hasUnsized() && memberType.isStruct()) { in countAggregateMembers()
236 numMembers *= memberType.getArraySizes()->getCumulativeSize(); in countAggregateMembers()
411 … auto dimSize = derefType.isUnsizedArray() ? 0 : derefType.getArraySizes()->getDimSize(0); in blowUpActiveAggregate()
416 … auto dimSize = derefType.isUnsizedArray() ? 0 : derefType.getArraySizes()->getDimSize(0); in blowUpActiveAggregate()
Dglslang.y1022 parseContext.arrayOfArrayVersionCheck($2.loc, type->getArraySizes());
3379 type.transferArraySizes((*$$)[i].type->getArraySizes());
3381 parseContext.arrayOfArrayVersionCheck((*$$)[i].loc, type.getArraySizes());
3403 type.transferArraySizes((*$$)[i].type->getArraySizes());
3405 parseContext.arrayOfArrayVersionCheck((*$$)[i].loc, type.getArraySizes());
Dglslang.m41022 parseContext.arrayOfArrayVersionCheck($2.loc, type->getArraySizes());
3379 type.transferArraySizes((*$$)[i].type->getArraySizes());
3381 parseContext.arrayOfArrayVersionCheck((*$$)[i].loc, type.getArraySizes());
3403 type.transferArraySizes((*$$)[i].type->getArraySizes());
3405 parseContext.arrayOfArrayVersionCheck((*$$)[i].loc, type.getArraySizes());
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/apple/
DRewriteRowMajorMatrices.cpp81 to->makeArrays(from->getArraySizes()); in CopyArraySizes()
223 mArrayIndices(mBaseExpressionType.getArraySizes().size(), 0) in TransformArrayHelper()
228 const TSpan<const unsigned int> &arraySizes = mBaseExpressionType.getArraySizes(); in getNextElement()
256 const TSpan<const unsigned int> &baseTypeArraySizes = mBaseExpressionType.getArraySizes(); in constructReadTransformExpression()
/third_party/glslang/glslang/HLSL/
DhlslParseHelper.cpp1141 splitBuiltIn(name, *ioType->type, type.getArraySizes(), outerQualifier); in split()
1188 type.getQualifier(), type.getArraySizes()); in flatten()
1310 … ? dereferencedType.getArraySizes() in flattenStruct()
1345 type.getArraySizes()); in flattenArray()
2583 const TArraySizes* const internalArraySizes = internalNode->getType().getArraySizes(); in assignClipCullDistance()
2645 const TArraySizes* const clipCullArraySizes = clipCullSym->getType().getArraySizes(); in assignClipCullDistance()
6569 TArraySizes& arraySizes = *type.getArraySizes(); in constructorError()
6573 arraySizes.getNumDims() != function[0].type->getArraySizes()->getNumDims() + 1) { in constructorError()
6583 … arraySizes.setDimSize(d, function[0].type->getArraySizes()->getDimSize(d - 1)); in constructorError()
6789 arraySizeRequiredCheck(structure[m].loc, *member.getArraySizes()); in structArrayCheck()
[all …]
/third_party/glslang/glslang/Include/
DTypes.h1504 if (type.getArraySizes()->getNumDims() == 1) {
1672 virtual const TArraySizes* getArraySizes() const { return arraySizes; } in getArraySizes() function
1673 virtual TArraySizes* getArraySizes() { return arraySizes; } in getArraySizes() function

12