/third_party/glslang/glslang/Include/ |
D | Types.h | 1584 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/ |
D | CollectVariables_test.cpp | 67 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/ |
D | stgdict.c | 338 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/ |
D | VaryingPacking.cpp | 315 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()
|
D | Uniform.cpp | 65 ASSERT(!isArray() || !isStruct()); in LinkedUniform() 75 ASSERT(!isArray() || !isStruct()); in LinkedUniform()
|
/third_party/skia/src/sksl/ir/ |
D | SkSLFieldAccess.cpp | 48 if (baseType.isStruct()) { in Convert() 69 SkASSERT(base->type().isStruct()); in Make()
|
D | SkSLType.h | 183 return !(this->isArray() || this->isStruct()); in isInBuiltinTypes() 448 virtual bool isStruct() const { in isStruct() function
|
D | SkSLConstructorStruct.cpp | 19 SkASSERTF(type.isStruct() && type.fields().size() > 0, "%s", type.description().c_str()); in Convert()
|
D | SkSLType.cpp | 340 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/ |
D | VariablePacker.cpp | 32 ASSERT(variable.isStruct()); in ExpandStructVariable() 69 if (variable.isStruct()) in ExpandVariable() 219 ASSERT(!variable.isStruct()); in checkExpandedVariablesWithinPackingLimits()
|
D | blocklayout.cpp | 376 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()
|
D | blocklayoutHLSL.cpp | 137 if (variable.isStruct()) in HLSLVariableRegisterCount()
|
D | ShaderVars.cpp | 201 ASSERT(!isStruct() || !isArray()); in getBasicTypeElementCount() 215 if (isStruct()) in getExternalSize()
|
/third_party/vk-gl-cts/framework/randomshaders/ |
D | rsgVariableValue.cpp | 37 if (a.getType().isStruct()) in compareValueRangesAllTrue() 205 if (a.getType().isStruct()) in computeIntersection()
|
D | rsgVariableType.hpp | 158 bool isStruct (void) const { return m_baseType == TYPE_STRUCT; } in isStruct() function in rsg::VariableType
|
D | rsgVariableType.cpp | 115 DE_ASSERT(isStruct()); in getMemberScalarOffset()
|
/third_party/skia/src/sksl/dsl/ |
D | DSLType.cpp | 219 bool DSLType::isStruct() const { in isStruct() function in SkSL::dsl::DSLType 220 return this->skslType().isStruct(); in isStruct()
|
/third_party/glslang/glslang/MachineIndependent/ |
D | SymbolTable.cpp | 226 … << (param.type->isStruct() ? "of " + param.type->getTypeName() + " " : "") in dump() 357 assert(! copyOf.type.isStruct()); in TVariable()
|
D | iomapper.cpp | 514 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()
|
D | linkValidate.cpp | 521 …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/ |
D | GetElementPtrTypeIterator.h | 106 bool isStruct() const { return CurTy.is<StructType *>(); } in isStruct() function
|
/third_party/glslang/glslang/HLSL/ |
D | hlslParseHelper.cpp | 176 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/ |
D | Types.h | 289 if(isStruct()) in setMatrixPackingIfUnspecified() 449 bool isStruct() const { return structure != 0; } in isStruct() function
|
/third_party/skia/third_party/externals/angle2/include/GLSLANG/ |
D | ShaderVars.h | 108 bool isStruct() const { return !fields.empty(); } in isStruct() function
|
/third_party/skia/tests/ |
D | SkSLDSLTest.cpp | 497 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()
|