Home
last modified time | relevance | path

Searched refs:interfaceBlocks (Results 1 – 12 of 12) sorted by relevance

/external/deqp/modules/gles31/functional/
Des31fProgramInterfaceDefinition.cpp257 …for (int interfaceNdx = 0; interfaceNdx < (int)m_defaultBlock.interfaceBlocks.size(); ++interfaceN… in isValid()
260 if (m_defaultBlock.interfaceBlocks[interfaceNdx].dimensions.size() > 1) in isValid()
264 …if (!m_defaultBlock.interfaceBlocks[interfaceNdx].dimensions.empty() && m_defaultBlock.interfaceBl… in isValid()
268 … if (containsMatchingSubtype(m_defaultBlock.interfaceBlocks[interfaceNdx].variables, isOpaqueType)) in isValid()
286 …for (int interfaceNdx = 0; interfaceNdx < (int)m_defaultBlock.interfaceBlocks.size(); ++interfaceN… in isValid()
288 if (m_defaultBlock.interfaceBlocks[interfaceNdx].storage == glu::STORAGE_IN || in isValid()
289 m_defaultBlock.interfaceBlocks[interfaceNdx].storage == glu::STORAGE_PATCH_IN || in isValid()
290 m_defaultBlock.interfaceBlocks[interfaceNdx].storage == glu::STORAGE_PATCH_OUT) in isValid()
307 …for (int interfaceNdx = 0; interfaceNdx < (int)m_defaultBlock.interfaceBlocks.size(); ++interfaceN… in isValid()
309 if (m_defaultBlock.interfaceBlocks[interfaceNdx].storage == glu::STORAGE_PATCH_IN || in isValid()
[all …]
Des31fProgramInterfaceDefinitionUtil.cpp141 for (int ndx = 0; ndx < (int)shader->getDefaultBlock().interfaceBlocks.size(); ++ndx) in shaderContainsIOBlocks()
143 const glu::Storage storage = shader->getDefaultBlock().interfaceBlocks[ndx].storage; in shaderContainsIOBlocks()
355 for (int blockNdx = 0; blockNdx < (int)defaultBlock.interfaceBlocks.size(); ++blockNdx) in writeStructureDefinitions()
356 for (int ndx = 0; ndx < (int)defaultBlock.interfaceBlocks[blockNdx].variables.size(); ++ndx) in writeStructureDefinitions()
357 …collectNamedStructureDefinitions(namedStructs, defaultBlock.interfaceBlocks[blockNdx].variables[nd… in writeStructureDefinitions()
781 …for (int interfaceNdx = 0; interfaceNdx < (int)shader->getDefaultBlock().interfaceBlocks.size(); +… in traverseShaderVariablePath()
783 if (!filter.matchesFilter(shader->getDefaultBlock().interfaceBlocks[interfaceNdx])) in traverseShaderVariablePath()
786 if (shader->getDefaultBlock().interfaceBlocks[interfaceNdx].interfaceName == blockName) in traverseShaderVariablePath()
793 …for (int varNdx = 0; varNdx < (int)shader->getDefaultBlock().interfaceBlocks[interfaceNdx].variabl… in traverseShaderVariablePath()
795 …if (shader->getDefaultBlock().interfaceBlocks[interfaceNdx].variables[varNdx].name == blockMemeber… in traverseShaderVariablePath()
[all …]
Des31fProgramInterfaceDefinition.hpp60 std::vector<glu::InterfaceBlock> interfaceBlocks; member
Des31fProgramInterfaceQueryTestCase.cpp335 …for (int blockNdx = 0; blockNdx < (int)shader->getDefaultBlock().interfaceBlocks.size(); ++blockNd… in validate()
337 const glu::InterfaceBlock& block = shader->getDefaultBlock().interfaceBlocks[blockNdx]; in validate()
1297 …for (int blockNdx = 0; blockNdx < (int)shader->getDefaultBlock().interfaceBlocks.size(); ++blockNd… in validate()
1299 const glu::InterfaceBlock& block = shader->getDefaultBlock().interfaceBlocks[blockNdx]; in validate()
1814 …for (int blockNdx = 0; blockNdx < (int)shader->getDefaultBlock().interfaceBlocks.size(); ++blockNd… in isInterfaceBlockInterfaceName()
1816 const glu::InterfaceBlock& block = shader->getDefaultBlock().interfaceBlocks[blockNdx]; in isInterfaceBlockInterfaceName()
1879 …for (int blockNdx = 0; blockNdx < (int)shader->getDefaultBlock().interfaceBlocks.size(); ++blockNd… in getInterfaceBlockInteraceNameByMember()
1881 const glu::InterfaceBlock& block = shader->getDefaultBlock().interfaceBlocks[blockNdx]; in getInterfaceBlockInteraceNameByMember()
Des31fProgramInterfaceQueryTests.cpp727 defaultBlock.interfaceBlocks.push_back(interfaceBlock); in generateProgramDefinitionFromResource()
1722 shader->getDefaultBlock().interfaceBlocks.push_back(precedingInterfaceBlock); in init()
1764 shader->getDefaultBlock().interfaceBlocks.push_back(targetInterfaceBlock); in init()
1777 shader->getDefaultBlock().interfaceBlocks.push_back(trailingInterfaceBlock); in init()
1976 …0; interfaceNdx < (int)m_program->getShaders()[0]->getDefaultBlock().interfaceBlocks.size(); ++int… in iterate()
1978 …if (m_program->getShaders()[0]->getDefaultBlock().interfaceBlocks[interfaceNdx].interfaceName == b… in iterate()
1980 block = &m_program->getShaders()[0]->getDefaultBlock().interfaceBlocks[interfaceNdx]; in iterate()
2136 …0; interfaceNdx < (int)m_program->getShaders()[0]->getDefaultBlock().interfaceBlocks.size(); ++int… in getBlockMinDataSize()
2138 …if (m_program->getShaders()[0]->getDefaultBlock().interfaceBlocks[interfaceNdx].interfaceName == b… in getBlockMinDataSize()
2139 m_program->getShaders()[0]->getDefaultBlock().interfaceBlocks[interfaceNdx].storage == m_storage) in getBlockMinDataSize()
[all …]
/external/angle/src/compiler/translator/tree_ops/
DRemoveInactiveInterfaceVariables.cpp32 const std::vector<sh::InterfaceBlock> &interfaceBlocks);
50 const std::vector<sh::InterfaceBlock> &interfaceBlocks) in RemoveInactiveInterfaceVariablesTraverser() argument
56 mInterfaceBlocks(interfaceBlocks) in RemoveInactiveInterfaceVariablesTraverser()
162 const std::vector<sh::InterfaceBlock> &interfaceBlocks) in RemoveInactiveInterfaceVariables() argument
165 outputVariables, uniforms, interfaceBlocks); in RemoveInactiveInterfaceVariables()
DRemoveInactiveInterfaceVariables.h37 const std::vector<sh::InterfaceBlock> &interfaceBlocks);
/external/angle/src/tests/compiler_tests/
DCollectVariables_test.cpp330 const std::vector<InterfaceBlock> &interfaceBlocks = mTranslator->getInterfaceBlocks(); in TEST_F() local
331 ASSERT_EQ(1u, interfaceBlocks.size()); in TEST_F()
333 const InterfaceBlock &interfaceBlock = interfaceBlocks[0]; in TEST_F()
367 const std::vector<InterfaceBlock> &interfaceBlocks = mTranslator->getInterfaceBlocks(); in TEST_F() local
368 ASSERT_EQ(1u, interfaceBlocks.size()); in TEST_F()
370 const InterfaceBlock &interfaceBlock = interfaceBlocks[0]; in TEST_F()
406 const std::vector<InterfaceBlock> &interfaceBlocks = mTranslator->getInterfaceBlocks(); in TEST_F() local
407 ASSERT_EQ(1u, interfaceBlocks.size()); in TEST_F()
409 const InterfaceBlock &interfaceBlock = interfaceBlocks[0]; in TEST_F()
453 const std::vector<InterfaceBlock> &interfaceBlocks = mTranslator->getInterfaceBlocks(); in TEST_F() local
[all …]
/external/angle/src/compiler/translator/
DResourcesHLSL.cpp702 TString interfaceBlocks; in uniformBlocksHeader() local
710 interfaceBlocks += uniformBlockStructString(interfaceBlock); in uniformBlocksHeader()
724 interfaceBlocks += uniformBlockWithOneLargeArrayMemberString( in uniformBlocksHeader()
732 interfaceBlocks += uniformBlockWithOneLargeArrayMemberString( in uniformBlocksHeader()
749 interfaceBlocks += uniformBlockString(interfaceBlock, instanceVariable, in uniformBlocksHeader()
756 interfaceBlocks += uniformBlockString(interfaceBlock, instanceVariable, activeRegister, in uniformBlocksHeader()
762 return (interfaceBlocks.empty() ? "" : ("// Uniform Blocks\n\n" + interfaceBlocks)); in uniformBlocksHeader()
768 TString interfaceBlocks; in shaderStorageBlocksHeader() local
783 interfaceBlocks += shaderStorageBlockString( in shaderStorageBlocksHeader()
790 interfaceBlocks += shaderStorageBlockString(interfaceBlock, instanceVariable, in shaderStorageBlocksHeader()
[all …]
/external/angle/src/libANGLE/
DProgramLinkedResources.cpp574 void getShaderBlockInfo(const std::vector<sh::InterfaceBlock> &interfaceBlocks);
591 void InterfaceBlockInfo::getShaderBlockInfo(const std::vector<sh::InterfaceBlock> &interfaceBlocks) in getShaderBlockInfo() argument
593 for (const sh::InterfaceBlock &interfaceBlock : interfaceBlocks) in getShaderBlockInfo()
DProgram.cpp286 const std::vector<sh::InterfaceBlock> &interfaceBlocks, in ValidateInterfaceBlocksCount() argument
293 for (const sh::InterfaceBlock &block : interfaceBlocks) in ValidateInterfaceBlocksCount()
512 void InitializeInterfaceBlockMap(const std::vector<sh::InterfaceBlock> &interfaceBlocks, in InitializeInterfaceBlockMap() argument
518 for (const sh::InterfaceBlock &interfaceBlock : interfaceBlocks) in InitializeInterfaceBlockMap()
572 const std::vector<sh::InterfaceBlock> &interfaceBlocks, in ValidateInstancelessGraphicsInterfaceBlocksPerShader() argument
579 for (const sh::InterfaceBlock &block : interfaceBlocks) in ValidateInstancelessGraphicsInterfaceBlocksPerShader()
/external/angle/src/libANGLE/capture/
Dframe_capture_utils.cpp966 const std::vector<sh::InterfaceBlock> &interfaceBlocks) in SerializeInterfaceBlocksVector() argument
968 for (const sh::InterfaceBlock &interfaceBlock : interfaceBlocks) in SerializeInterfaceBlocksVector()