Lines Matching refs:interfaceBlock
349 static void writeInterfaceBlock (std::ostringstream& buf, const glu::InterfaceBlock& interfaceBlock) in writeInterfaceBlock() argument
351 buf << interfaceBlock.layout; in writeInterfaceBlock()
353 if (interfaceBlock.layout != glu::Layout()) in writeInterfaceBlock()
356 buf << glu::getStorageName(interfaceBlock.storage) << " " << interfaceBlock.interfaceName << "\n" in writeInterfaceBlock()
359 for (int ndx = 0; ndx < (int)interfaceBlock.variables.size(); ++ndx) in writeInterfaceBlock()
360 buf << glu::indent(1) << interfaceBlock.variables[ndx] << ";\n"; in writeInterfaceBlock()
364 if (!interfaceBlock.instanceName.empty()) in writeInterfaceBlock()
365 buf << " " << interfaceBlock.instanceName; in writeInterfaceBlock()
367 for (int dimensionNdx = 0; dimensionNdx < (int)interfaceBlock.dimensions.size(); ++dimensionNdx) in writeInterfaceBlock()
368 buf << "[" << interfaceBlock.dimensions[dimensionNdx] << "]"; in writeInterfaceBlock()
1256 …std::string> getProgramInterfaceBlockMemberResourceList (const glu::InterfaceBlock& interfaceBlock) in getProgramInterfaceBlockMemberResourceList() argument
1258 …const std::string namePrefix = (!interfaceBlock.instanceName.empty()) ? (interfaceBlock.inte… in getProgramInterfaceBlockMemberResourceList()
1259 const bool isTopLevelBufferVariable = (interfaceBlock.storage == glu::STORAGE_BUFFER); in getProgramInterfaceBlockMemberResourceList()
1263 for (int variableNdx = 0; variableNdx < (int)interfaceBlock.variables.size(); ++variableNdx) in getProgramInterfaceBlockMemberResourceList()
1265 namePrefix + interfaceBlock.variables[variableNdx].name, in getProgramInterfaceBlockMemberResourceList()
1266 interfaceBlock.variables[variableNdx].varType, in getProgramInterfaceBlockMemberResourceList()
1303 …const glu::InterfaceBlock& interfaceBlock = shader->getDefaultBlock().interfaceBlocks[interfaceNdx… in getProgramInterfaceResourceList() local
1304 if (interfaceBlock.storage == storage) in getProgramInterfaceResourceList()
1306 …d::vector<std::string> blockResources = getProgramInterfaceBlockMemberResourceList(interfaceBlock); in getProgramInterfaceResourceList()
1324 …const glu::InterfaceBlock& interfaceBlock = shader->getDefaultBlock().interfaceBlocks[interfaceNdx… in getProgramInterfaceResourceList() local
1325 if (interfaceBlock.storage == storage) in getProgramInterfaceResourceList()
1327 std::vector<int> index(interfaceBlock.dimensions.size(), 0); in getProgramInterfaceResourceList()
1334 name << interfaceBlock.interfaceName; in getProgramInterfaceResourceList()
1336 … for (int dimensionNdx = 0; dimensionNdx < (int)interfaceBlock.dimensions.size(); ++dimensionNdx) in getProgramInterfaceResourceList()
1343 if (!incrementMultiDimensionIndex(index, interfaceBlock.dimensions)) in getProgramInterfaceResourceList()
1378 …const glu::InterfaceBlock& interfaceBlock = shader->getDefaultBlock().interfaceBlocks[interfaceNdx… in getProgramInterfaceResourceList() local
1379 if (interfaceBlock.storage == queryStorage || interfaceBlock.storage == queryPatchStorage) in getProgramInterfaceResourceList()
1381 …d::vector<std::string> blockResources = getProgramInterfaceBlockMemberResourceList(interfaceBlock); in getProgramInterfaceResourceList()