Home
last modified time | relevance | path

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

/external/deqp/external/vulkancts/modules/vulkan/ubo/
DvktUniformBlockTests.cpp45 …g& name, const std::string& description, const VarType& type, deUint32 layoutFlags, int numInstanc… in BlockBasicTypeCase() argument
50 block.setFlags(layoutFlags); in BlockBasicTypeCase()
62 …ntext& testCtx, const std::string& name, const VarType& type, deUint32 layoutFlags, int numInstanc… in createBlockBasicTypeCases() argument
64 …group->addChild(new BlockBasicTypeCase(testCtx, name + "_vertex", "", type, layoutFlags|DECLARE_VE… in createBlockBasicTypeCases()
65 …group->addChild(new BlockBasicTypeCase(testCtx, name + "_fragment", "", type, layoutFlags|DECLARE_… in createBlockBasicTypeCases()
66 …group->addChild(new BlockBasicTypeCase(testCtx, name + "_both", "", type, layoutFlags|DECLARE_VER… in createBlockBasicTypeCases()
72 …Ctx, const std::string& name, const std::string& description, deUint32 layoutFlags, BufferMode buf… in BlockSingleStructCase() argument
82 block.setFlags(layoutFlags); in BlockSingleStructCase()
97 …Ctx, const std::string& name, const std::string& description, deUint32 layoutFlags, BufferMode buf… in BlockSingleStructArrayCase() argument
109 block.setFlags(layoutFlags); in BlockSingleStructArrayCase()
[all …]
DvktRandomUniformBlockCase.cpp94 void RandomUniformBlockCase::generateBlock (de::Random& rnd, deUint32 layoutFlags) in generateBlock() argument
116 layoutFlags |= rnd.choose<deUint32>(layoutFlagCandidates.begin(), layoutFlagCandidates.end()); in generateBlock()
121layoutFlags |= rnd.choose<deUint32>(&matrixCandidates[0], &matrixCandidates[DE_LENGTH_OF_ARRAY(mat… in generateBlock()
124 block.setFlags(layoutFlags); in generateBlock()
DvktRandomUniformBlockCase.hpp70 void generateBlock (de::Random& rnd, deUint32 layoutFlags);
DvktUniformBlockCase.cpp412 …urOffset, int curBlockNdx, const std::string& curPrefix, const VarType& type, deUint32 layoutFlags) in computeStd140Layout() argument
433 bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR); in computeStd140Layout()
483 bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR); in computeStd140Layout()
509 …t, curBlockNdx, curPrefix + "[" + de::toString(elemNdx) + "]", type.getElementType(), layoutFlags); in computeStd140Layout()
517 …rOffset, curBlockNdx, curPrefix + "." + memberIter->getName(), memberIter->getType(), layoutFlags); in computeStd140Layout()
/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/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutTests.cpp71 void generateBlock (de::Random& rnd, deUint32 layoutFlags);
113 void RandomSSBOLayoutCase::generateBlock (de::Random& rnd, deUint32 layoutFlags) in generateBlock() argument
134 layoutFlags |= rnd.choose<deUint32>(layoutFlagCandidates.begin(), layoutFlagCandidates.end()); in generateBlock()
139layoutFlags |= rnd.choose<deUint32>(&matrixCandidates[0], &matrixCandidates[DE_LENGTH_OF_ARRAY(mat… in generateBlock()
142 block.setFlags(layoutFlags); in generateBlock()
298 …nst char* name, const char* description, const VarType& type, deUint32 layoutFlags, int numInstanc… in BlockBasicTypeCase() argument
303 block.setFlags(layoutFlags); in BlockBasicTypeCase()
318 …ar* name, const char* description, const VarType& elementType, int arraySize, deUint32 layoutFlags) in BlockBasicUnsizedArrayCase() argument
323 block.setFlags(layoutFlags); in BlockBasicUnsizedArrayCase()
345 …tContext& testCtx, const char* name, const char* description, deUint32 layoutFlags, BufferMode buf… in BlockSingleStructCase() argument
[all …]
DvktSSBOLayoutCase.cpp286 int computeStd140BaseAlignment (const VarType& type, deUint32 layoutFlags) in computeStd140BaseAlignment() argument
296 const bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR); in computeStd140BaseAlignment()
308 int elemAlignment = computeStd140BaseAlignment(type.getElementType(), layoutFlags); in computeStd140BaseAlignment()
320 …gnment = de::max(maxBaseAlignment, computeStd140BaseAlignment(memberIter->getType(), layoutFlags)); in computeStd140BaseAlignment()
326 int computeStd430BaseAlignment (const VarType& type, deUint32 layoutFlags) in computeStd430BaseAlignment() argument
337 const bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR); in computeStd430BaseAlignment()
349 return computeStd430BaseAlignment(type.getElementType(), layoutFlags); in computeStd430BaseAlignment()
358 …gnment = de::max(maxBaseAlignment, computeStd430BaseAlignment(memberIter->getType(), layoutFlags)); in computeStd430BaseAlignment()
384 deUint32 layoutFlags) in computeReferenceLayout() argument
388 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()