Home
last modified time | relevance | path

Searched refs:layoutFlags (Results 1 – 7 of 7) sorted by relevance

/external/deqp/modules/gles31/functional/
Des31fUniformBlockTests.cpp62 …nst char* name, const char* description, const VarType& type, deUint32 layoutFlags, int numInstanc… in BlockBasicTypeCase() argument
67 block.setFlags(layoutFlags); in BlockBasicTypeCase()
77 …oup, Context& context, const char* name, const VarType& type, deUint32 layoutFlags, int numInstanc… in createBlockBasicTypeCases() argument
79 …kBasicTypeCase(context, (string(name) + "_vertex").c_str(), "", type, layoutFlags|DECLARE_VERTEX,… in createBlockBasicTypeCases()
80 …BasicTypeCase(context, (string(name) + "_fragment").c_str(), "", type, layoutFlags|DECLARE_FRAGMEN… in createBlockBasicTypeCases()
82 if (!(layoutFlags & LAYOUT_PACKED)) in createBlockBasicTypeCases()
83 …lockBasicTypeCase(context, (string(name) + "_both").c_str(), "", type, layoutFlags|DECLARE_VERTEX|… in createBlockBasicTypeCases()
89 …(Context& context, const char* name, const char* description, deUint32 layoutFlags, BufferMode buf… in Block2LevelStructArrayCase() argument
91 , m_layoutFlags (layoutFlags) in Block2LevelStructArrayCase()
167 } layoutFlags[] = in init() local
[all …]
Des31fSSBOLayoutTests.cpp76 void generateBlock (de::Random& rnd, deUint32 layoutFlags);
120 void RandomSSBOLayoutCase::generateBlock (de::Random& rnd, deUint32 layoutFlags) in generateBlock() argument
145 layoutFlags |= rnd.choose<deUint32>(layoutFlagCandidates.begin(), layoutFlagCandidates.end()); in generateBlock()
150layoutFlags |= rnd.choose<deUint32>(&matrixCandidates[0], &matrixCandidates[DE_LENGTH_OF_ARRAY(mat… in generateBlock()
153 block.setFlags(layoutFlags); in generateBlock()
311 …nst char* name, const char* description, const VarType& type, deUint32 layoutFlags, int numInstanc… in BlockBasicTypeCase() argument
316 block.setFlags(layoutFlags); in BlockBasicTypeCase()
329 …ar* name, const char* description, const VarType& elementType, int arraySize, deUint32 layoutFlags) in BlockBasicUnsizedArrayCase() argument
334 block.setFlags(layoutFlags); in BlockBasicUnsizedArrayCase()
354 …(Context& context, const char* name, const char* description, deUint32 layoutFlags, BufferMode buf… in BlockSingleStructCase() argument
[all …]
Des31fSSBOLayoutCase.cpp371 int computeStd140BaseAlignment (const VarType& type, deUint32 layoutFlags) in computeStd140BaseAlignment() argument
381 const bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR); in computeStd140BaseAlignment()
393 int elemAlignment = computeStd140BaseAlignment(type.getElementType(), layoutFlags); in computeStd140BaseAlignment()
405 …gnment = de::max(maxBaseAlignment, computeStd140BaseAlignment(memberIter->getType(), layoutFlags)); in computeStd140BaseAlignment()
411 int computeStd430BaseAlignment (const VarType& type, deUint32 layoutFlags) in computeStd430BaseAlignment() argument
422 const bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR); in computeStd430BaseAlignment()
434 return computeStd430BaseAlignment(type.getElementType(), layoutFlags); in computeStd430BaseAlignment()
443 …gnment = de::max(maxBaseAlignment, computeStd430BaseAlignment(memberIter->getType(), layoutFlags)); in computeStd430BaseAlignment()
469 deUint32 layoutFlags) in computeReferenceLayout() argument
473 const bool isStd140 = (layoutFlags & LAYOUT_STD140) != 0; in computeReferenceLayout()
[all …]
/external/deqp/modules/gles3/functional/
Des3fUniformBlockTests.cpp60 …nst char* name, const char* description, const VarType& type, deUint32 layoutFlags, int numInstanc… in BlockBasicTypeCase() argument
65 block.setFlags(layoutFlags); in BlockBasicTypeCase()
75 …oup, Context& context, const char* name, const VarType& type, deUint32 layoutFlags, int numInstanc… in createBlockBasicTypeCases() argument
77 …kBasicTypeCase(context, (string(name) + "_vertex").c_str(), "", type, layoutFlags|DECLARE_VERTEX,… in createBlockBasicTypeCases()
78 …BasicTypeCase(context, (string(name) + "_fragment").c_str(), "", type, layoutFlags|DECLARE_FRAGMEN… in createBlockBasicTypeCases()
80 if (!(layoutFlags & LAYOUT_PACKED)) in createBlockBasicTypeCases()
81 …ockBasicTypeCase(context, (string(name) + "_both").c_str(), "", type, layoutFlags|DECLARE_VERTEX|… in createBlockBasicTypeCases()
87 …(Context& context, const char* name, const char* description, deUint32 layoutFlags, BufferMode buf… in BlockSingleStructCase() argument
89 , m_layoutFlags (layoutFlags) in BlockSingleStructCase()
120 …(Context& context, const char* name, const char* description, deUint32 layoutFlags, BufferMode buf… in BlockSingleStructArrayCase() argument
[all …]
/external/deqp/modules/glshared/
DglsRandomUniformBlockCase.cpp82 void RandomUniformBlockCase::generateBlock (de::Random& rnd, deUint32 layoutFlags) in generateBlock() argument
102 if ((m_features & FEATURE_SHARED_LAYOUT) && ((layoutFlags & DECLARE_BOTH) != DECLARE_BOTH)) in generateBlock()
107 layoutFlags |= rnd.choose<deUint32>(layoutFlagCandidates.begin(), layoutFlagCandidates.end()); in generateBlock()
112layoutFlags |= rnd.choose<deUint32>(&matrixCandidates[0], &matrixCandidates[DE_LENGTH_OF_ARRAY(mat… in generateBlock()
115 block.setFlags(layoutFlags); in generateBlock()
DglsRandomUniformBlockCase.hpp80 void generateBlock (de::Random& rnd, deUint32 layoutFlags);
DglsUniformBlockCase.cpp466 …urOffset, int curBlockNdx, const std::string& curPrefix, const VarType& type, deUint32 layoutFlags) in computeStd140Layout() argument
487 bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR); in computeStd140Layout()
537 bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR); in computeStd140Layout()
563 …t, curBlockNdx, curPrefix + "[" + de::toString(elemNdx) + "]", type.getElementType(), layoutFlags); in computeStd140Layout()
571 …rOffset, curBlockNdx, curPrefix + "." + memberIter->getName(), memberIter->getType(), layoutFlags); in computeStd140Layout()