Home
last modified time | relevance | path

Searched refs:fieldIndex (Results 1 – 25 of 51) sorted by relevance

123

/third_party/skia/src/sksl/ir/
DSkSLFieldAccess.h32 FieldAccess(std::unique_ptr<Expression> base, int fieldIndex,
34 : INHERITED(base->fLine, kExpressionKind, base->type().fields()[fieldIndex].fType)
35 , fFieldIndex(fieldIndex)
48 int fieldIndex,
59 int fieldIndex() const { in fieldIndex() function
73 this->fieldIndex(), in clone()
79 this->base()->type().fields()[this->fieldIndex()].fName; in description()
DSkSLField.h27 Field(int line, const Variable* owner, int fieldIndex) in Field() argument
28 : INHERITED(line, kSymbolKind, owner->type().fields()[fieldIndex].fName, in Field()
29 owner->type().fields()[fieldIndex].fType) in Field()
31 , fFieldIndex(fieldIndex) {} in Field()
33 int fieldIndex() const { in fieldIndex() function
DSkSLFieldAccess.cpp67 int fieldIndex, in Make() argument
70 SkASSERT(fieldIndex >= 0); in Make()
71 SkASSERT(fieldIndex < (int) base->type().fields().size()); in Make()
72 return std::make_unique<FieldAccess>(std::move(base), fieldIndex, ownerKind); in Make()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DVaryingPacking.cpp77 if (x.fieldIndex != y.fieldIndex) in ComparePackedVarying()
79 return x.fieldIndex < y.fieldIndex; in ComparePackedVarying()
234 fieldIndex(fieldIndexIn), in PackedVarying()
246 fieldIndex(other.fieldIndex), in PackedVarying()
257 std::swap(fieldIndex, other.fieldIndex); in operator =()
547 GLuint fieldIndex, in collectUserVaryingField() argument
557 const sh::ShaderVariable *frontField = input ? &input->fields[fieldIndex] : nullptr; in collectUserVaryingField()
558 const sh::ShaderVariable *backField = output ? &output->fields[fieldIndex] : nullptr; in collectUserVaryingField()
599 arrayIndex, fieldIndex, in collectUserVaryingField()
629 GLuint fieldIndex, in collectUserVaryingFieldTF() argument
[all …]
DVaryingPacking.h146 GLuint fieldIndex; member
277 GLuint fieldIndex,
283 GLuint fieldIndex,
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/vulkan/
DDeclarePerVertexBlocks.cpp72 const int fieldIndex = in visitGlobalQualifierDeclaration() local
74 if (fieldIndex < 0) in visitGlobalQualifierDeclaration()
81 (*mInvariantFlagsOut)[fieldIndex] = true; in visitGlobalQualifierDeclaration()
85 (*mPreciseFlagsOut)[fieldIndex] = true; in visitGlobalQualifierDeclaration()
162 const int fieldIndex = in visitSymbol() local
164 ASSERT(fieldIndex >= 0); in visitSymbol()
168 mPerVertexOutInvariantFlags[fieldIndex] = true; in visitSymbol()
172 mPerVertexOutPreciseFlags[fieldIndex] = true; in visitSymbol()
241 const int fieldIndex = GetPerVertexFieldIndex(type->getQualifier(), variable->name()); in visitSymbol() local
244 if (fieldIndex < 0) in visitSymbol()
[all …]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DNameNamelessUniformBuffers.cpp92 for (size_t fieldIndex = 0; fieldIndex < fields.size(); ++fieldIndex) in visitSymbol() local
94 const TField *field = fields[fieldIndex]; in visitSymbol()
105 CreateIndexNode(static_cast<uint32_t>(fieldIndex))); in visitSymbol()
DRewriteStructSamplers.cpp292 const int fieldIndex = asConstantUnion->getIConst(0); in RewriteModifiedStructFieldSelectionExpression() local
293 ASSERT(fieldIndex < in RewriteModifiedStructFieldSelectionExpression()
296 const int mappedFieldIndex = structureMap.at(structure).fieldMap[fieldIndex]; in RewriteModifiedStructFieldSelectionExpression()
431 for (size_t fieldIndex = 0; fieldIndex < structure->fields().size(); ++fieldIndex) in stripStructSpecifierSamplers() local
433 const TField *field = structure->fields()[fieldIndex]; in stripStructSpecifierSamplers()
465 modifiedData->fieldMap[fieldIndex] = static_cast<int>(newFieldList->size()); in stripStructSpecifierSamplers()
DInitializeVariables.cpp65 for (size_t fieldIndex = 0; fieldIndex < fieldList.size(); ++fieldIndex) in AddZeroInitSequence() local
67 const TField &field = *fieldList[fieldIndex]; in AddZeroInitSequence()
68 TIntermTyped *fieldIndexRef = CreateIndexNode(static_cast<int>(fieldIndex)); in AddZeroInitSequence()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
DFindPreciseNodes.cpp106 int fieldIndex = binary->getRight()->getAsConstantUnion()->getIConst(0); in build() local
107 mChain.push_back(fieldIndex); in build()
302 for (size_t fieldIndex = 0; fieldIndex < block->fields().size(); ++fieldIndex) in AddPreciseSubObjects() local
305 subObject.accessChain.push_back(fieldIndex); in AddPreciseSubObjects()
308 if (block->fields()[fieldIndex]->type()->isPrecise()) in AddPreciseSubObjects()
DDriverUniform.cpp194 size_t fieldIndex = 0; in createDriverUniformRef() local
197 fieldIndex = in createDriverUniformRef()
202 fieldIndex = FindFieldIndex(mDriverUniforms->getType().getStruct()->fields(), fieldName); in createDriverUniformRef()
207 uniformIndex->setIConst(static_cast<int>(fieldIndex)); in createDriverUniformRef()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DVariablePacker.cpp36 for (size_t fieldIndex = 0; fieldIndex < fields.size(); fieldIndex++) in ExpandStructVariable() local
38 const ShaderVariable &field = fields[fieldIndex]; in ExpandStructVariable()
DBuildSPIRV.cpp164 uint32_t fieldIndex = 0; in Encode() local
192 spirv::LiteralInteger(fieldIndex), spv::DecorationOffset, in Encode()
202 decorationsBlob, blockTypeId, spirv::LiteralInteger(fieldIndex), in Encode()
207 ++fieldIndex; in Encode()
888 uint32_t fieldIndex = 0; in declareType() local
891 spirv::WriteMemberName(&mSpirvDebug, typeId, spirv::LiteralInteger(fieldIndex++), in declareType()
1699 uint32_t fieldIndex = 0; in writePerVertexBuiltIns() local
1721 spirv::WriteMemberDecorate(&mSpirvDecorations, typeId, spirv::LiteralInteger(fieldIndex++), in writePerVertexBuiltIns()
1943 uint32_t fieldIndex = 0; in writeMemberDecorations() local
1953 spirv::LiteralInteger(fieldIndex), spv::DecorationInvariant, in writeMemberDecorations()
[all …]
DShaderVars.cpp534 for (size_t fieldIndex = 0; fieldIndex < fields.size(); ++fieldIndex) in isSameInterfaceBlockAtLinkTime() local
536 if (!fields[fieldIndex].isSameInterfaceBlockFieldAtLinkTime(other.fields[fieldIndex])) in isSameInterfaceBlockAtLinkTime()
Dutil.cpp998 for (size_t fieldIndex = 0; fieldIndex < fieldList.size(); ++fieldIndex) in FindFieldIndex() local
1000 if (strcmp(fieldList[fieldIndex]->name().data(), fieldName) == 0) in FindFieldIndex()
1002 return fieldIndex; in FindFieldIndex()
DCollectVariables.cpp939 for (size_t fieldIndex = 0; fieldIndex < varying.fields.size(); ++fieldIndex) in recordVarying() local
941 const TField *blockField = blockType->fields()[fieldIndex]; in recordVarying()
942 ShaderVariable &fieldVariable = varying.fields[fieldIndex]; in recordVarying()
1235 unsigned int fieldIndex = static_cast<unsigned int>(constantUnion->getIConst(0)); in visitBinary() local
1236 ASSERT(fieldIndex < namedBlock->fields.size()); in visitBinary()
1241 MarkActive(&namedBlock->fields[fieldIndex]); in visitBinary()
/third_party/skia/third_party/externals/icu/source/i18n/
Dsmpdtfst.cpp106 UnicodeSet *SimpleDateFormatStaticSets::getIgnorables(UDateFormatField fieldIndex) in getIgnorables() argument
114 switch (fieldIndex) { in getIgnorables()
Dsmpdtfst.h40 static UnicodeSet *getIgnorables(UDateFormatField fieldIndex);
/third_party/node/deps/icu-small/source/i18n/
Dsmpdtfst.cpp106 UnicodeSet *SimpleDateFormatStaticSets::getIgnorables(UDateFormatField fieldIndex) in getIgnorables() argument
114 switch (fieldIndex) { in getIgnorables()
Dsmpdtfst.h40 static UnicodeSet *getIgnorables(UDateFormatField fieldIndex);
/third_party/icu/icu4c/source/i18n/
Dsmpdtfst.cpp106 UnicodeSet *SimpleDateFormatStaticSets::getIgnorables(UDateFormatField fieldIndex) in getIgnorables() argument
114 switch (fieldIndex) { in getIgnorables()
Dsmpdtfst.h40 static UnicodeSet *getIgnorables(UDateFormatField fieldIndex);
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/apple/
DRewriteRowMajorMatrices.cpp209 int fieldIndex = fieldIndexNode->getConstantValue()->getIConst(); in IsConvertedField() local
210 const TField *field = interfaceBlock->fields()[fieldIndex]; in IsConvertedField()
666 const size_t fieldIndex = variable->getType().getInterfaceBlockFieldIndex(); in convertNamelessInterfaceBlockField() local
667 ASSERT(fieldIndex < fields.size()); in convertNamelessInterfaceBlockField()
669 const TField *field = fields[fieldIndex]; in convertNamelessInterfaceBlockField()
681 newType->setInterfaceBlockField(iter.second->getType().getInterfaceBlock(), fieldIndex); in convertNamelessInterfaceBlockField()
1469 for (size_t fieldIndex = 0; fieldIndex < fromFields.size(); ++fieldIndex) in declareStructCopy() local
1471 TIntermTyped *fieldIndexNode = CreateIndexNode(static_cast<int>(fieldIndex)); in declareStructCopy()
1478 const TType *fromFieldType = fromFields[fieldIndex]->type(); in declareStructCopy()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
Dglslang_wrapper_utils.cpp164 int fieldIndex, in SetXfbInfo() argument
177 if (fieldIndex >= 0) in SetXfbInfo()
179 if (info.fieldXfb.size() <= static_cast<size_t>(fieldIndex)) in SetXfbInfo()
181 info.fieldXfb.resize(fieldIndex + 1); in SetXfbInfo()
183 xfb = &info.fieldXfb[fieldIndex]; in SetXfbInfo()
251 (varying.fieldIndex > 0 || varying.secondaryFieldIndex > 0)) in IsFirstRegisterOfVarying()
572 int fieldIndex = -1; in AssignTransformFeedbackQualifiers() local
584 fieldIndex = index; in AssignTransformFeedbackQualifiers()
588 ASSERT(fieldIndex != -1); in AssignTransformFeedbackQualifiers()
589 ASSERT(!usesExtension || fieldIndex > 0); in AssignTransformFeedbackQualifiers()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DUCharacterName.java248 int fieldIndex= choice==UCharacterNameChoice.ISO_COMMENT_ ? 2 : choice; in getGroupName() local
254 } while(--fieldIndex>0); in getGroupName()
1263 int fieldIndex= choice==UCharacterNameChoice.ISO_COMMENT_ ? 2 : choice; in getGroupChar() local
1269 } while(--fieldIndex>0); in getGroupChar()

123