HomeSort by relevance Sort by last modified time
    Searched refs:interfaceBlock (Results 1 - 15 of 15) sorted by null

  /external/chromium_org/third_party/angle/tests/compiler_tests/
CollectVariables_test.cpp 148 const std::vector<sh::InterfaceBlock> &interfaceBlocks = mTranslator->getInterfaceBlocks();
151 const sh::InterfaceBlock &interfaceBlock = interfaceBlocks[0];
153 EXPECT_EQ(0u, interfaceBlock.arraySize);
154 EXPECT_FALSE(interfaceBlock.isRowMajorLayout);
155 EXPECT_EQ(sh::BLOCKLAYOUT_SHARED, interfaceBlock.layout);
156 EXPECT_EQ("b", interfaceBlock.name);
157 EXPECT_TRUE(interfaceBlock.staticUse);
159 ASSERT_EQ(1u, interfaceBlock.fields.size());
161 const sh::InterfaceBlockField &field = interfaceBlock.fields[0]
    [all...]
  /external/chromium_org/third_party/angle/src/compiler/translator/
UniformHLSL.cpp 59 static TString InterfaceBlockStructName(const TInterfaceBlock &interfaceBlock)
61 return DecoratePrivate(interfaceBlock.name()) + "_type";
168 const TInterfaceBlock &interfaceBlock = *nodeType.getInterfaceBlock();
170 unsigned int arraySize = static_cast<unsigned int>(interfaceBlock.arraySize());
173 mInterfaceBlockRegisterMap[interfaceBlock.name().c_str()] = activeRegister;
178 if (interfaceBlock.hasInstanceName())
180 interfaceBlocks += interfaceBlockStructString(interfaceBlock);
187 interfaceBlocks += interfaceBlockString(interfaceBlock, activeRegister + arrayIndex, arrayIndex);
192 interfaceBlocks += interfaceBlockString(interfaceBlock, activeRegister, GL_INVALID_INDEX);
199 TString UniformHLSL::interfaceBlockString(const TInterfaceBlock &interfaceBlock, unsigned int registerIndex, unsigned int arrayIndex
    [all...]
FlagStd140Structs.cpp 59 const TInterfaceBlock *interfaceBlock = type.getInterfaceBlock();
60 if (interfaceBlock)
62 return (interfaceBlock->blockStorage() == EbsStd140);
UniformHLSL.h 30 static TString interfaceBlockInstanceString(const TInterfaceBlock& interfaceBlock, unsigned int arrayIndex);
42 TString interfaceBlockString(const TInterfaceBlock &interfaceBlock, unsigned int registerIndex, unsigned int arrayIndex);
43 TString interfaceBlockMembersString(const TInterfaceBlock &interfaceBlock, TLayoutBlockStorage blockStorage);
44 TString interfaceBlockStructString(const TInterfaceBlock &interfaceBlock);
VariableInfo.cpp 18 TString InterfaceBlockFieldName(const TInterfaceBlock &interfaceBlock, const TField &field)
20 if (interfaceBlock.hasInstanceName())
22 return interfaceBlock.name() + "." + field.name();
133 std::vector<sh::InterfaceBlock> *interfaceBlocks,
179 const TInterfaceBlock *interfaceBlock = symbol->getType().getInterfaceBlock();
180 if (interfaceBlock)
182 InterfaceBlock *namedBlock = FindVariable(interfaceBlock->name(), mInterfaceBlocks);
293 std::vector<InterfaceBlock> *infoList) const
295 InterfaceBlock interfaceBlock
    [all...]
Types.h 230 interfaceBlock(0), structure(0)
238 interfaceBlock(0), structure(0)
246 interfaceBlock(0), structure(userDef)
254 interfaceBlock(interfaceBlockIn), structure(0)
349 return interfaceBlock;
353 interfaceBlock = interfaceBlockIn;
482 TInterfaceBlock *interfaceBlock;
Types.cpp 51 interfaceBlock(0), structure(0)
142 mangledName += interfaceBlock->mangledName();
OutputHLSL.cpp     [all...]
ParseContext.cpp     [all...]
  /external/deqp/modules/gles31/functional/
es31fProgramInterfaceDefinitionUtil.cpp 223 static void writeInterfaceBlock (std::ostringstream& buf, const glu::InterfaceBlock& interfaceBlock)
225 buf << interfaceBlock.layout;
227 if (interfaceBlock.layout != glu::Layout())
230 buf << glu::getStorageName(interfaceBlock.storage) << " " << interfaceBlock.interfaceName << "\n"
233 for (int ndx = 0; ndx < (int)interfaceBlock.variables.size(); ++ndx)
234 buf << glu::indent(1) << interfaceBlock.variables[ndx] << ";\n";
238 if (!interfaceBlock.instanceName.empty())
239 buf << " " << interfaceBlock.instanceName
    [all...]
es31fProgramInterfaceDefinitionUtil.hpp 47 VariablePathComponent (const glu::InterfaceBlock* block) :m_type(TYPE_INTERFACEBLOCK) { m_data.block = block; }
58 const glu::InterfaceBlock* getInterfaceBlock (void) const { DE_ASSERT(isInterfaceBlock()); return m_data.block; }
74 const glu::InterfaceBlock* block;
91 bool matchesFilter (const glu::InterfaceBlock& block) const { return !m_null && (m_storage == glu::STORAGE_LAST || block.storage == m_storage); }
165 std::vector<std::string> getProgramInterfaceBlockMemberResourceList (const glu::InterfaceBlock& interfaceBlock);
es31fProgramInterfaceQueryTests.cpp 279 class InterfaceBlock : public Node
282 InterfaceBlock (const SharedPtr& enclosing, bool named)
468 glu::InterfaceBlock interfaceBlock;
508 DE_ASSERT(interfaceBlock.storage == glu::STORAGE_LAST);
509 interfaceBlock.storage = qualifier->m_storage;
524 targetLayout = &interfaceBlock.layout;
577 interfaceBlock.dimensions.push_back(arraySize);
607 DE_ASSERT(dynamic_cast<const ResourceDefinition::InterfaceBlock*>(head));
610 const bool named = static_cast<const ResourceDefinition::InterfaceBlock*>(head)->m_named
    [all...]
  /external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/
ShaderD3D.cpp 286 const sh::InterfaceBlock &interfaceBlock = mInterfaceBlocks[blockIndex];
288 if (interfaceBlock.staticUse)
291 bool result = ShGetInterfaceBlockRegister(compiler, interfaceBlock.name.c_str(), &index);
295 mInterfaceBlockRegisterMap[interfaceBlock.name] = index;
  /external/chromium_org/third_party/angle/src/libGLESv2/
ProgramBinary.cpp     [all...]
ProgramBinary.h 231 bool areMatchingInterfaceBlocks(InfoLog &infoLog, const sh::InterfaceBlock &vertexInterfaceBlock, const sh::InterfaceBlock &fragmentInterfaceBlock);
242 bool defineUniformBlock(InfoLog &infoLog, const Shader &shader, const sh::InterfaceBlock &interfaceBlock, const Caps &caps);

Completed in 434 milliseconds