Home
last modified time | relevance | path

Searched refs:isInterfaceBlock (Results 1 – 25 of 26) sorted by relevance

12

/external/swiftshader/src/OpenGL/compiler/
DTypes.h324 else if(isInterfaceBlock()) in getElementSize()
344 const TFieldList& fields = isInterfaceBlock() ? interfaceBlock->fields() : structure->fields(); in samplerRegisterCount()
358 if(structure || isInterfaceBlock()) in elementRegisterCount()
362 const TFieldList& fields = isInterfaceBlock() ? interfaceBlock->fields() : structure->fields(); in elementRegisterCount()
384 if(interfaceBlock && !isInterfaceBlock()) in blockRegisterCount()
443 bool isInterfaceBlock() const { return type == EbtInterfaceBlock; } in isInterfaceBlock() function
444 …TInterfaceBlock *getAsInterfaceBlock() const { return isInterfaceBlock() ? getInterfaceBlock() : n… in getAsInterfaceBlock()
447 …bool isScalar() const { return primarySize == 1 && !isMatrix() && !structure && !isInterfaceBlock(… in isScalar()
448 …bool isRegister() const { return !isMatrix() && !structure && !array && !isInterfaceBlock(); } /… in isRegister()
Dintermediate.h320 bool isInterfaceBlock() const { return type.isInterfaceBlock(); } in isInterfaceBlock() function
DOutputASM.cpp2221 if(type.isStruct() || type.isInterfaceBlock()) in componentCount()
2258 else if(type.isInterfaceBlock()) in registerSize()
2273 if(type.isStruct() || type.isInterfaceBlock()) in registerSize()
2351 if(type.isInterfaceBlock()) in getArgumentInfo()
3676 if(!type.isInterfaceBlock()) in blockMemberLookup()
3708 …const TInterfaceBlock *block = (type.isInterfaceBlock() || (blockId == -1)) ? type.getInterfaceBlo… in declareUniform()
3739 bool isUniformBlockMember = !type.isInterfaceBlock() && (blockId == -1); in declareUniform()
3774 if(type.isArray() && (structure || type.isInterfaceBlock())) in declareUniform()
DParseHelper.cpp791 if (type.getBasicType() == EbtStruct || type.isInterfaceBlock()) { in containsSampler()
2571 if(baseExpression->isInterfaceBlock()) in addIndexExpression()
2600 else if(baseType.isInterfaceBlock()) in addIndexExpression()
2731 else if(baseExpression->isInterfaceBlock()) in addFieldSelectionExpression()
/external/angle/src/compiler/translator/tree_ops/
DNameNamelessUniformBuffers.cpp40 if (!type.isInterfaceBlock()) in visitDeclaration()
75 if (type.isInterfaceBlock() || type.getInterfaceBlock() == nullptr) in visitSymbol()
DRemoveUnreferencedVariables.cpp55 if (type.isInterfaceBlock()) in incrementStructTypeRefCount()
65 ASSERT(!field->type()->isInterfaceBlock()); in incrementStructTypeRefCount()
DPruneNoOps.cpp83 !declaratorSymbol->isInterfaceBlock()) in visitDeclaration()
DRemoveInactiveInterfaceVariables.cpp102 if (type.isInterfaceBlock()) in visitDeclaration()
DRewriteRowMajorMatrices.cpp463 if (type.isInterfaceBlock() && type.getInterfaceBlock()->containsMatrices()) in visitDeclaration()
508 if (symbol->getType().getInterfaceBlock() && !variable->getType().isInterfaceBlock()) in visitSymbol()
651 if (!iter.first->getType().isInterfaceBlock()) in convertNamelessInterfaceBlockField()
880 bool requiresTransformation = !symbol->getType().isInterfaceBlock(); in transformExpression()
/external/angle/src/compiler/translator/
DValidateVaryingLocations.cpp84 ASSERT(!varyingType.isInterfaceBlock()); in GetLocationCount()
222 if (varyingType.isInterfaceBlock()) in ValidateShaderInterfaceAndAssignLocations()
351 if (varyingType.isInterfaceBlock()) in CalculateVaryingLocationCount()
DOutputVulkanGLSL.cpp52 (type.isInterfaceBlock() && (type.getQualifier() == EvqUniform || in writeLayoutQualifier()
75 if (type.isInterfaceBlock()) in writeLayoutQualifier()
DBuildSPIRV.cpp273 const bool isBlock = type.isInterfaceBlock() || type.getStruct(); in inferDefaults()
419 else if (type.isInterfaceBlock()) in getSpirvType()
440 else if (type.isInterfaceBlock()) in getTypeData()
729 const bool isInterfaceBlock = block != nullptr && block->isInterfaceBlock(); in declareType() local
732 if (!type.arraySizes.empty() && !isInterfaceBlock) in declareType()
1503 ASSERT(type.isInterfaceBlock()); in writePerVertexBuiltIns()
1541 (type.isInterfaceBlock() && in writeInterfaceVariableDecorations()
DShaderStorageBlockOutputHLSL.cpp440 if (type.isInterfaceBlock()) in collectShaderStorageBlocks()
520 if (type.isInterfaceBlock()) in traverseNode()
544 if (leftType.isInterfaceBlock()) in traverseNode()
DValidateAST.cpp386 if (type.getInterfaceBlock() && !type.isInterfaceBlock()) in visitSymbol()
621 if (type.isStructSpecifier() || type.isInterfaceBlock()) in visitDeclaration()
DSymbol.h53 bool isInterfaceBlock() const { return mSymbolClass == SymbolClass::InterfaceBlock; } in isInterfaceBlock() function
DOutputSPIRV.cpp596 (parentType.getStruct() != nullptr || parentType.isInterfaceBlock()), in accessChainOnPush()
599 else if (parentType.isInterfaceBlock() || parentType.getStruct() != nullptr) in accessChainOnPush()
602 if (!parentType.isInterfaceBlock()) in accessChainOnPush()
3906 ASSERT(!valueType.isInterfaceBlock()); in cast()
4358 if (type.getInterfaceBlock() && !type.isInterfaceBlock()) in visitSymbol()
5453 const bool isInterfaceBlock = type.getBasicType() == EbtInterfaceBlock; in visitDeclaration() local
5457 if (type.isArray() && (isShaderInOut || isInterfaceBlock)) in visitDeclaration()
5469 if (IsShaderIoBlock(type.getQualifier()) && type.isInterfaceBlock()) in visitDeclaration()
5482 else if (isInterfaceBlock) in visitDeclaration()
5498 if (type.isInterfaceBlock()) in visitDeclaration()
DTypes.h235 bool isInterfaceBlock() const { return type == EbtInterfaceBlock; } in isInterfaceBlock() function
DIntermNode.h168 bool isInterfaceBlock() const { return getType().isInterfaceBlock(); } in isInterfaceBlock() function
DTypes.cpp421 return isInterfaceBlock() ? mInterfaceBlock->containsType(t) : false; in isInterfaceBlockContainingType()
DParseContext.cpp122 if (var->isInterfaceBlock() || var->getQualifier() == EvqBuffer || in IsBufferOrSharedVariable()
4677 if (baseExpression->isInterfaceBlock()) in addIndexExpression()
4921 else if (baseExpression->isInterfaceBlock()) in addFieldSelectionExpression()
5847 if (child->getBasicType() == EbtStruct || child->isInterfaceBlock() || in createUnaryMath()
5986 if (left->isInterfaceBlock() || right->isInterfaceBlock()) in binaryOpCommonCheck()
DTranslatorMetalDirect.cpp141 bool isUniform = type.getQualifier() == EvqUniform && !type.isInterfaceBlock() && in visitDeclaration()
/external/angle/src/compiler/translator/tree_ops/d3d/
DRecordUniformBlocksWithLargeArrayMember.cpp186 if (!variableType.isInterfaceBlock()) in visitSymbol()
230 if (!variableType.isInterfaceBlock()) in visitSymbol()
259 if (leftType.isInterfaceBlock()) in visitBinary()
/external/deqp/modules/gles31/functional/
Des31fProgramInterfaceDefinitionUtil.hpp54 bool isInterfaceBlock (void) const { return m_type == TYPE_INTERFACEBLOCK; } in isInterfaceBlock() function in deqp::gles31::Functional::ProgramInterfaceDefinition::VariablePathComponent
58 …const glu::InterfaceBlock* getInterfaceBlock (void) const { DE_ASSERT(isInterfaceBlock()); retur… in getInterfaceBlock()
Des31fProgramInterfaceQueryTestCase.cpp148 if (path[pathNdx].isInterfaceBlock()) in getMatrixOrderFromPath()
529 …const bool isBufferBlock = firstComponent.isInterfaceBlock() && isBufferBackedInterfaceBlock… in validateSingleVariable()
583 if (!firstComponent.isInterfaceBlock()) in validateSingleVariable()
659 …const bool isBufferBlock = firstComponent.isInterfaceBlock() && isBufferBackedInterfaceBlock… in validateSingleVariable()
693 …const bool isBufferBlock = firstComponent.isInterfaceBlock() && isBufferBackedInterfaceBlock… in validateSingleVariable()
877 …const glu::VariableDeclaration* varDecl = (path[0].isInterfaceBlock()) ? (path[1].getDeclaration()… in getExplicitLocationFromPath()
879 …if (path.front().isInterfaceBlock() && path.front().getInterfaceBlock()->storage == glu::STORAGE_U… in getExplicitLocationFromPath()
884 …else if (path.front().isInterfaceBlock() && (path.front().getInterfaceBlock()->storage == glu::STO… in getExplicitLocationFromPath()
915 …const bool isUniformBlockVariable = path.front().isInterfaceBlock() && path.front().getInterface… in validateSingleVariable()
918 …const glu::Storage storage = (path.front().isInterfaceBlock()) ? (path.front().getInterfaceBlo… in validateSingleVariable()
[all …]
Des31fProgramInterfaceQueryTests.cpp3473 …const bool isInterfaceBlock = (parentStructure->getType() == ResourceDefinition::Node::TYPE… in generateUniformBlockArraySizeContents() local
3474 const bool namedNonArrayBlock = isInterfaceBlock && in generateUniformBlockArraySizeContents()
3478 if (!isInterfaceBlock || namedNonArrayBlock) in generateUniformBlockArraySizeContents()
3550 …const bool isInterfaceBlock = (parentStructure->getType() == ResourceDefinition::Node::TYPE… in generateUniformBlockArrayStrideContents() local
3551 const bool namedNonArrayBlock = isInterfaceBlock && in generateUniformBlockArrayStrideContents()
3555 if (!isInterfaceBlock || namedNonArrayBlock) in generateUniformBlockArrayStrideContents()
3572 if (!isInterfaceBlock) in generateUniformBlockArrayStrideContents()
3576 if (!isInterfaceBlock) in generateUniformBlockArrayStrideContents()
3609 …const bool isInterfaceBlock = (parentStructure->getType() == ResourceDefinition::Node::TYPE… in generateUniformBlockLocationContents() local
3611 if (!isInterfaceBlock) in generateUniformBlockLocationContents()
[all …]

12