Home
last modified time | relevance | path

Searched refs:isStruct (Results 1 – 25 of 75) sorted by relevance

123

/third_party/glslang/glslang/Include/
DTypes.h1584 if (isStruct()) { in shallowCopy()
1605 if (isStruct()) in makeTemporary()
1678 …virtual bool isScalar() const { return ! isVector() && ! isMatrix() && ! isStruct() && ! isArray()… in isScalar()
1688 virtual bool isStruct() const { return basicType == EbtStruct || basicType == EbtBlock; } in isStruct() function
1720 virtual bool isUnusableName() const { return isStruct() && structure == nullptr; } in isUnusableName()
1741 return isStruct() && std::any_of(structure->begin(), structure->end(), hasa); in contains()
1759 return contains([this](const TType* t) { return t != this && t->isStruct(); } ); in containsStructure()
1911 if (isStruct() && structure->size() > 0) { in adoptImplicitArraySizes()
2213 if (isStruct() && structure) { in getCompleteString()
2245 const TTypeList* getStruct() const { assert(isStruct()); return structure; } in getStruct()
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/
DCollectVariables_test.cpp67 ASSERT_TRUE(uniform.isStruct()); in validateDepthRangeShader()
94 EXPECT_FALSE(field.isStruct()); in validateDepthRangeShader()
422 EXPECT_TRUE(blockField.isStruct()); in TEST_F()
432 EXPECT_FALSE(structField.isStruct()); in TEST_F()
470 EXPECT_TRUE(blockField.isStruct()); in TEST_F()
480 EXPECT_FALSE(structField.isStruct()); in TEST_F()
517 EXPECT_TRUE(blockField.isStruct()); in TEST_F()
527 EXPECT_FALSE(structField.isStruct()); in TEST_F()
1083 EXPECT_FALSE(glPositionField.isStruct()); in TEST_F()
1143 EXPECT_FALSE(varying.isStruct()); in TEST_F()
[all …]
/third_party/python/Modules/_ctypes/
Dstgdict.c338 PyCStructUnionType_update_stgdict(PyObject *type, PyObject *fields, int isStruct) in PyCStructUnionType_update_stgdict() argument
447 if (!isStruct) { in PyCStructUnionType_update_stgdict()
487 if (isStruct && !isPacked) { in PyCStructUnionType_update_stgdict()
561 if (isStruct && !isPacked) { in PyCStructUnionType_update_stgdict()
600 if (isStruct) { in PyCStructUnionType_update_stgdict()
631 if (isStruct && !isPacked) { in PyCStructUnionType_update_stgdict()
639 if (!isStruct) in PyCStructUnionType_update_stgdict()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DVaryingPacking.cpp315 ASSERT(!varying.isStruct()); in packVaryingIntoRegisterMap()
482 ASSERT(!varying.isStruct()); in insertVaryingIntoRegisterMap()
578 ASSERT(!frontField->isStruct() && !frontField->isArray()); in collectUserVaryingField()
592 ASSERT(!backField->isStruct() && !backField->isArray()); in collectUserVaryingField()
650 ASSERT(!frontField->isStruct() && !frontField->isArray()); in collectUserVaryingFieldTF()
668 if (varying.isStruct()) in collectVarying()
686 if (fieldVarying.isStruct()) in collectVarying()
756 if (input->isStruct()) in collectTFVarying()
762 ASSERT(input->isShaderIOBlock || (!field->isStruct() && !field->isArray())); in collectTFVarying()
770 if (input->fields[fieldIndex].isStruct()) in collectTFVarying()
DUniform.cpp65 ASSERT(!isArray() || !isStruct()); in LinkedUniform()
75 ASSERT(!isArray() || !isStruct()); in LinkedUniform()
/third_party/skia/src/sksl/ir/
DSkSLFieldAccess.cpp48 if (baseType.isStruct()) { in Convert()
69 SkASSERT(base->type().isStruct()); in Make()
DSkSLType.h183 return !(this->isArray() || this->isStruct()); in isInBuiltinTypes()
448 virtual bool isStruct() const { in isStruct() function
DSkSLConstructorStruct.cpp19 SkASSERTF(type.isStruct() && type.fields().size() > 0, "%s", type.description().c_str()); in Convert()
DSkSLType.cpp340 bool isStruct() const override { in isStruct() function in SkSL::StructType
777 if (this->isStruct()) { in isOrContainsArray()
794 if (this->isStruct()) { in isTooDeeplyNested()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DVariablePacker.cpp32 ASSERT(variable.isStruct()); in ExpandStructVariable()
69 if (variable.isStruct()) in ExpandVariable()
219 ASSERT(!variable.isStruct()); in checkExpandedVariablesWithinPackingLimits()
Dblocklayout.cpp376 if (shaderVar.isStruct()) in getBaseAlignment()
456 if (!arrayVar.hasParentArrayIndex() && !arrayVar.isStruct()) in enterArray()
466 if (!arrayVar.hasParentArrayIndex() && !arrayVar.isStruct()) in exitArray()
639 if (variable.isStruct()) in TraverseShaderVariable()
DblocklayoutHLSL.cpp137 if (variable.isStruct()) in HLSLVariableRegisterCount()
DShaderVars.cpp201 ASSERT(!isStruct() || !isArray()); in getBasicTypeElementCount()
215 if (isStruct()) in getExternalSize()
/third_party/vk-gl-cts/framework/randomshaders/
DrsgVariableValue.cpp37 if (a.getType().isStruct()) in compareValueRangesAllTrue()
205 if (a.getType().isStruct()) in computeIntersection()
DrsgVariableType.hpp158 bool isStruct (void) const { return m_baseType == TYPE_STRUCT; } in isStruct() function in rsg::VariableType
DrsgVariableType.cpp115 DE_ASSERT(isStruct()); in getMemberScalarOffset()
/third_party/skia/src/sksl/dsl/
DDSLType.cpp219 bool DSLType::isStruct() const { in isStruct() function in SkSL::dsl::DSLType
220 return this->skslType().isStruct(); in isStruct()
/third_party/glslang/glslang/MachineIndependent/
DSymbolTable.cpp226 … << (param.type->isStruct() ? "of " + param.type->getTypeName() + " " : "") in dump()
357 assert(! copyOf.type.isStruct()); in TVariable()
Diomapper.cpp514 if (type.isStruct()) { in resolveUniformLocation()
544 if (type.isStruct()) { in resolveInOutLocation()
630 if (type.isStruct()) { in resolveInOutLocation()
702 if (type.getQualifier().hasLocation() && (type.isStruct() || type.isArray())) { in resolveUniformLocation()
711 if (type.isStruct()) { in resolveUniformLocation()
DlinkValidate.cpp521 …if (! type.isStruct() || ! unitType.isStruct() || type.getStruct()->size() != unitType.getStruct()… in mergeImplicitArraySizes()
1250 if (type.isStruct()) { in computeTypeLocationSize()
1307 if (type.isStruct()) { in computeTypeUniformLocationSize()
1372 if (type.isStruct()) { in computeTypeXfbSize()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DGetElementPtrTypeIterator.h106 bool isStruct() const { return CurTy.is<StructType *>(); } in isStruct() function
/third_party/glslang/glslang/HLSL/
DhlslParseHelper.cpp176 if (memberType.isStruct()) { in growGlobalUniformBlock()
189 if (txType.isStruct()) { in getLayoutFromTxType()
1136 if (type.isStruct()) { in split()
1162 return type.isStruct() || type.isArray(); in shouldFlatten()
1165 (type.isStruct() && type.containsOpaque()); in shouldFlatten()
1177 if (type.isBuiltIn() && !type.isStruct()) in flatten()
1231 else if (type.isStruct()) in flatten()
1292 assert(type.isStruct()); in flattenStruct()
1418 if (!sym->isArray() && !sym->isStruct()) in findSubtreeOffset()
1440 if (!type.isArray() && !type.isStruct()) in findSubtreeOffset()
[all …]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
DTypes.h289 if(isStruct()) in setMatrixPackingIfUnspecified()
449 bool isStruct() const { return structure != 0; } in isStruct() function
/third_party/skia/third_party/externals/angle2/include/GLSLANG/
DShaderVars.h108 bool isStruct() const { return !fields.empty(); } in isStruct() function
/third_party/skia/tests/
DSkSLDSLTest.cpp497 REPORTER_ASSERT(r, !DSLType(kBool_Type).isStruct()); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
509 REPORTER_ASSERT(r, !DSLType(kInt_Type).isStruct()); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
521 REPORTER_ASSERT(r, !DSLType(kUInt_Type).isStruct()); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
533 REPORTER_ASSERT(r, !DSLType(kFloat_Type).isStruct()); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
545 REPORTER_ASSERT(r, !DSLType(kFloat2_Type).isStruct()); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
557 REPORTER_ASSERT(r, !DSLType(kHalf2x2_Type).isStruct()); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
569 REPORTER_ASSERT(r, !DSLType(Array(kFloat_Type, 2)).isStruct()); in DEF_GPUTEST_FOR_MOCK_CONTEXT()

123