Home
last modified time | relevance | path

Searched refs:layoutFlags (Results 1 – 15 of 15) 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/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutTests.cpp87 void generateBlock (de::Random& rnd, deUint32 layoutFlags);
129 void RandomSSBOLayoutCase::generateBlock (de::Random& rnd, deUint32 layoutFlags) in generateBlock() argument
157 layoutFlags |= LAYOUT_16BIT_STORAGE; in generateBlock()
160 layoutFlags |= LAYOUT_8BIT_STORAGE; in generateBlock()
167 layoutFlags |= rnd.choose<deUint32>(layoutFlagCandidates.begin(), layoutFlagCandidates.end()); in generateBlock()
172layoutFlags |= rnd.choose<deUint32>(&matrixCandidates[0], &matrixCandidates[DE_LENGTH_OF_ARRAY(mat… in generateBlock()
175 block.setFlags(layoutFlags); in generateBlock()
365 …nst char* name, const char* description, const VarType& type, deUint32 layoutFlags, int numInstanc… in BlockBasicTypeCase() argument
377 layoutFlags |= LAYOUT_16BIT_STORAGE; in BlockBasicTypeCase()
382 layoutFlags |= LAYOUT_8BIT_STORAGE; in BlockBasicTypeCase()
[all …]
DvktSSBOLayoutCase.cpp325 int computeStd140BaseAlignment (const VarType& type, deUint32 layoutFlags) in computeStd140BaseAlignment() argument
335 const bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR); in computeStd140BaseAlignment()
347 int elemAlignment = computeStd140BaseAlignment(type.getElementType(), layoutFlags); in computeStd140BaseAlignment()
359 …gnment = de::max(maxBaseAlignment, computeStd140BaseAlignment(memberIter->getType(), layoutFlags)); in computeStd140BaseAlignment()
365 int computeStd430BaseAlignment (const VarType& type, deUint32 layoutFlags) in computeStd430BaseAlignment() argument
376 const bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR); in computeStd430BaseAlignment()
387 return computeStd430BaseAlignment(type.getElementType(), layoutFlags); in computeStd430BaseAlignment()
396 …gnment = de::max(maxBaseAlignment, computeStd430BaseAlignment(memberIter->getType(), layoutFlags)); in computeStd430BaseAlignment()
402 int computeRelaxedBlockBaseAlignment (const VarType& type, deUint32 layoutFlags) in computeRelaxedBlockBaseAlignment() argument
413 const bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR); in computeRelaxedBlockBaseAlignment()
[all …]
/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
57 layoutFlags |= LAYOUT_16BIT_STORAGE; in BlockBasicTypeCase()
62 layoutFlags |= LAYOUT_8BIT_STORAGE; in BlockBasicTypeCase()
68 if ((layoutFlags & LAYOUT_SCALAR) && !isDataTypeScalar(type.getBasicType())) { in BlockBasicTypeCase()
73 block.setFlags(layoutFlags); in BlockBasicTypeCase()
85 …ntext& testCtx, const std::string& name, const VarType& type, deUint32 layoutFlags, int numInstanc… in createBlockBasicTypeCases() argument
89 …typeGroup->addChild(new BlockBasicTypeCase(testCtx, "vertex", "", type, layoutFlags|DECLARE_VER… in createBlockBasicTypeCases()
90 …typeGroup->addChild(new BlockBasicTypeCase(testCtx, "fragment", "", type, layoutFlags|DECLARE_F… in createBlockBasicTypeCases()
91 …typeGroup->addChild(new BlockBasicTypeCase(testCtx, "both", "", type, layoutFlags|DECLARE_VERT… in createBlockBasicTypeCases()
92 …typeGroup->addChild(new BlockBasicTypeCase(testCtx, "vertex_comp_access", "", type, layoutFlags|DE… in createBlockBasicTypeCases()
[all …]
DvktRandomUniformBlockCase.cpp94 void RandomUniformBlockCase::generateBlock (de::Random& rnd, deUint32 layoutFlags) in generateBlock() argument
123 layoutFlags |= LAYOUT_16BIT_STORAGE; in generateBlock()
126 layoutFlags |= LAYOUT_8BIT_STORAGE; in generateBlock()
128 layoutFlags |= rnd.choose<deUint32>(layoutFlagCandidates.begin(), layoutFlagCandidates.end()); in generateBlock()
133layoutFlags |= rnd.choose<deUint32>(&matrixCandidates[0], &matrixCandidates[DE_LENGTH_OF_ARRAY(mat… in generateBlock()
136 block.setFlags(layoutFlags); in generateBlock()
DvktUniformBlockCase.cpp410 int computeStd140BaseAlignment (const VarType& type, deUint32 layoutFlags) in computeStd140BaseAlignment() argument
420 const bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR); in computeStd140BaseAlignment()
432 int elemAlignment = computeStd140BaseAlignment(type.getElementType(), layoutFlags); in computeStd140BaseAlignment()
444 …gnment = de::max(maxBaseAlignment, computeStd140BaseAlignment(memberIter->getType(), layoutFlags)); in computeStd140BaseAlignment()
450 int computeStd430BaseAlignment (const VarType& type, deUint32 layoutFlags) in computeStd430BaseAlignment() argument
461 const bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR); in computeStd430BaseAlignment()
472 return computeStd430BaseAlignment(type.getElementType(), layoutFlags); in computeStd430BaseAlignment()
481 …gnment = de::max(maxBaseAlignment, computeStd430BaseAlignment(memberIter->getType(), layoutFlags)); in computeStd430BaseAlignment()
487 int computeRelaxedBlockBaseAlignment (const VarType& type, deUint32 layoutFlags) in computeRelaxedBlockBaseAlignment() argument
498 const bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR); in computeRelaxedBlockBaseAlignment()
[all …]
DvktRandomUniformBlockCase.hpp75 void generateBlock (de::Random& rnd, deUint32 layoutFlags);
/external/deqp/external/openglcts/modules/common/
DglcUniformBlockTests.cpp71 void generateBlock(de::Random& rnd, deUint32 layoutFlags);
129 void RandomUniformBlockCase::generateBlock(de::Random& rnd, deUint32 layoutFlags) in generateBlock() argument
149 if ((m_features & FEATURE_SHARED_LAYOUT) && ((layoutFlags & DECLARE_BOTH) != DECLARE_BOTH)) in generateBlock()
154 layoutFlags |= rnd.choose<deUint32>(layoutFlagCandidates.begin(), layoutFlagCandidates.end()); in generateBlock()
159 layoutFlags |= in generateBlock()
163 block.setFlags(layoutFlags); in generateBlock()
299 const VarType& type, deUint32 layoutFlags, int numInstances) in BlockBasicTypeCase() argument
304 block.setFlags(layoutFlags); in BlockBasicTypeCase()
333 deUint32 layoutFlags, BufferMode bufferMode, int numInstances) in BlockSingleStructCase() argument
335 , m_layoutFlags(layoutFlags) in BlockSingleStructCase()
[all …]
DglcUniformBlockCase.cpp439 const VarType& type, deUint32 layoutFlags) in computeStd140Layout() argument
460 bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR); in computeStd140Layout()
510 bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR); in computeStd140Layout()
537 type.getElementType(), layoutFlags); in computeStd140Layout()
547 memberIter->getType(), layoutFlags); in computeStd140Layout()
/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()