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

/external/deqp/modules/gles31/functional/
H A Des31fUniformBlockTests.cpp62 BlockBasicTypeCase (Context& context, const char* name, const char* description, const VarType& type, deUint32 layoutFlags, int numInstances) argument
67 block.setFlags(layoutFlags);
77 static void createBlockBasicTypeCases (tcu::TestCaseGroup* group, Context& context, const char* name, const VarType& type, deUint32 layoutFlags, int numInstances = 0) argument
79 group->addChild(new BlockBasicTypeCase(context, (string(name) + "_vertex").c_str(), "", type, layoutFlags|DECLARE_VERTEX, numInstances));
80 group->addChild(new BlockBasicTypeCase(context, (string(name) + "_fragment").c_str(), "", type, layoutFlags|DECLARE_FRAGMENT, numInstances));
82 if (!(layoutFlags & LAYOUT_PACKED))
83 group->addChild(new BlockBasicTypeCase(context, (string(name) + "_both").c_str(), "", type, layoutFlags|DECLARE_VERTEX|DECLARE_FRAGMENT, numInstances));
89 Block2LevelStructArrayCase (Context& context, const char* name, const char* description, deUint32 layoutFlags, BufferMode bufferMode, int numInstances) argument
91 , m_layoutFlags (layoutFlags)
167 } layoutFlags[] local
[all...]
H A Des31fSSBOLayoutTests.cpp76 void generateBlock (de::Random& rnd, deUint32 layoutFlags);
120 void RandomSSBOLayoutCase::generateBlock (de::Random& rnd, deUint32 layoutFlags) argument
145 layoutFlags |= rnd.choose<deUint32>(layoutFlagCandidates.begin(), layoutFlagCandidates.end());
150 layoutFlags |= rnd.choose<deUint32>(&matrixCandidates[0], &matrixCandidates[DE_LENGTH_OF_ARRAY(matrixCandidates)]);
153 block.setFlags(layoutFlags);
311 BlockBasicTypeCase (Context& context, const char* name, const char* description, const VarType& type, deUint32 layoutFlags, int numInstances) argument
316 block.setFlags(layoutFlags);
329 BlockBasicUnsizedArrayCase (Context& context, const char* name, const char* description, const VarType& elementType, int arraySize, deUint32 layoutFlags) argument
334 block.setFlags(layoutFlags);
354 BlockSingleStructCase (Context& context, const char* name, const char* description, deUint32 layoutFlags, BufferMod argument
387 BlockSingleStructArrayCase(Context& context, const char* name, const char* description, deUint32 layoutFlags, BufferMode bufferMode, int numInstances) argument
422 BlockSingleNestedStructCase(Context& context, const char* name, const char* description, deUint32 layoutFlags, BufferMode bufferMode, int numInstances) argument
462 BlockSingleNestedStructArrayCase(Context& context, const char* name, const char* description, deUint32 layoutFlags, BufferMode bufferMode, int numInstances) argument
502 BlockUnsizedStructArrayCase(Context& context, const char* name, const char* description, deUint32 layoutFlags, BufferMode bufferMode, int numInstances) argument
546 Block2LevelUnsizedStructArrayCase(Context& context, const char* name, const char* description, deUint32 layoutFlags, BufferMode bufferMode, int numInstances) argument
589 BlockUnsizedNestedStructArrayCase(Context& context, const char* name, const char* description, deUint32 layoutFlags, BufferMode bufferMode, int numInstances) argument
774 } layoutFlags[] = local
[all...]
H A Des31fSSBOLayoutCase.cpp371 int computeStd140BaseAlignment (const VarType& type, deUint32 layoutFlags) argument
381 const bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR);
393 int elemAlignment = computeStd140BaseAlignment(type.getElementType(), layoutFlags);
405 maxBaseAlignment = de::max(maxBaseAlignment, computeStd140BaseAlignment(memberIter->getType(), layoutFlags));
411 int computeStd430BaseAlignment (const VarType& type, deUint32 layoutFlags) argument
422 const bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR);
434 return computeStd430BaseAlignment(type.getElementType(), layoutFlags);
443 maxBaseAlignment = de::max(maxBaseAlignment, computeStd430BaseAlignment(memberIter->getType(), layoutFlags));
469 deUint32 layoutFlags)
473 const bool isStd140 = (layoutFlags
463 computeReferenceLayout( BufferLayout& layout, int curBlockNdx, int baseOffset, const std::string& curPrefix, const VarType& type, deUint32 layoutFlags) argument
[all...]
/external/deqp/modules/gles3/functional/
H A Des3fUniformBlockTests.cpp60 BlockBasicTypeCase (Context& context, const char* name, const char* description, const VarType& type, deUint32 layoutFlags, int numInstances) argument
65 block.setFlags(layoutFlags);
75 static void createBlockBasicTypeCases (tcu::TestCaseGroup* group, Context& context, const char* name, const VarType& type, deUint32 layoutFlags, int numInstances = 0) argument
77 group->addChild(new BlockBasicTypeCase(context, (string(name) + "_vertex").c_str(), "", type, layoutFlags|DECLARE_VERTEX, numInstances));
78 group->addChild(new BlockBasicTypeCase(context, (string(name) + "_fragment").c_str(), "", type, layoutFlags|DECLARE_FRAGMENT, numInstances));
80 if (!(layoutFlags & LAYOUT_PACKED))
81 group->addChild(new BlockBasicTypeCase(context, (string(name) + "_both").c_str(), "", type, layoutFlags|DECLARE_VERTEX|DECLARE_FRAGMENT, numInstances));
87 BlockSingleStructCase (Context& context, const char* name, const char* description, deUint32 layoutFlags, BufferMode bufferMode, int numInstances) argument
89 , m_layoutFlags (layoutFlags)
120 BlockSingleStructArrayCase (Context& context, const char* name, const char* description, deUint32 layoutFlags, BufferMod argument
155 BlockSingleNestedStructCase(Context& context, const char* name, const char* description, deUint32 layoutFlags, BufferMode bufferMode, int numInstances) argument
195 BlockSingleNestedStructArrayCase(Context& context, const char* name, const char* description, deUint32 layoutFlags, BufferMode bufferMode, int numInstances) argument
379 } layoutFlags[] = local
[all...]
/external/deqp/external/vulkancts/modules/vulkan/ubo/
H A DvktUniformBlockTests.cpp45 BlockBasicTypeCase (tcu::TestContext& testCtx, const std::string& name, const std::string& description, const VarType& type, deUint32 layoutFlags, int numInstances) argument
50 block.setFlags(layoutFlags);
62 static void createBlockBasicTypeCases (tcu::TestCaseGroup* group, tcu::TestContext& testCtx, const std::string& name, const VarType& type, deUint32 layoutFlags, int numInstances = 0) argument
64 group->addChild(new BlockBasicTypeCase(testCtx, name + "_vertex", "", type, layoutFlags|DECLARE_VERTEX, numInstances));
65 group->addChild(new BlockBasicTypeCase(testCtx, name + "_fragment", "", type, layoutFlags|DECLARE_FRAGMENT, numInstances));
66 group->addChild(new BlockBasicTypeCase(testCtx, name + "_both", "", type, layoutFlags|DECLARE_VERTEX|DECLARE_FRAGMENT, numInstances));
72 BlockSingleStructCase (tcu::TestContext& testCtx, const std::string& name, const std::string& description, deUint32 layoutFlags, BufferMode bufferMode, int numInstances) argument
82 block.setFlags(layoutFlags);
97 BlockSingleStructArrayCase (tcu::TestContext& testCtx, const std::string& name, const std::string& description, deUint32 layoutFlags, BufferMode bufferMode, int numInstances) argument
109 block.setFlags(layoutFlags);
124 BlockSingleNestedStructCase(tcu::TestContext& testCtx, const std::string& name, const std::string& description, deUint32 layoutFlags, BufferMode bufferMode, int numInstances) argument
156 BlockSingleNestedStructArrayCase(tcu::TestContext& testCtx, const std::string& name, const std::string& description, deUint32 layoutFlags, BufferMode bufferMode, int numInstances) argument
260 Block2LevelStructArrayCase(tcu::TestContext& testCtx, const std::string& name, const std::string& description, deUint32 layoutFlags, BufferMode bufferMode, int numInstances) argument
403 } layoutFlags[] = local
[all...]
H A DvktRandomUniformBlockCase.hpp70 void generateBlock (de::Random& rnd, deUint32 layoutFlags);
H A DvktRandomUniformBlockCase.cpp94 void RandomUniformBlockCase::generateBlock (de::Random& rnd, deUint32 layoutFlags) argument
116 layoutFlags |= rnd.choose<deUint32>(layoutFlagCandidates.begin(), layoutFlagCandidates.end());
121 layoutFlags |= rnd.choose<deUint32>(&matrixCandidates[0], &matrixCandidates[DE_LENGTH_OF_ARRAY(matrixCandidates)]);
124 block.setFlags(layoutFlags);
H A DvktUniformBlockCase.cpp412 void computeStd140Layout (UniformLayout& layout, int& curOffset, int curBlockNdx, const std::string& curPrefix, const VarType& type, deUint32 layoutFlags) argument
433 bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR);
483 bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR);
509 computeStd140Layout(layout, curOffset, curBlockNdx, curPrefix + "[" + de::toString(elemNdx) + "]", type.getElementType(), layoutFlags);
517 computeStd140Layout(layout, curOffset, curBlockNdx, curPrefix + "." + memberIter->getName(), memberIter->getType(), layoutFlags);
/external/deqp/external/vulkancts/modules/vulkan/ssbo/
H A DvktSSBOLayoutTests.cpp71 void generateBlock (de::Random& rnd, deUint32 layoutFlags);
113 void RandomSSBOLayoutCase::generateBlock (de::Random& rnd, deUint32 layoutFlags) argument
134 layoutFlags |= rnd.choose<deUint32>(layoutFlagCandidates.begin(), layoutFlagCandidates.end());
139 layoutFlags |= rnd.choose<deUint32>(&matrixCandidates[0], &matrixCandidates[DE_LENGTH_OF_ARRAY(matrixCandidates)]);
142 block.setFlags(layoutFlags);
298 BlockBasicTypeCase (tcu::TestContext& testCtx, const char* name, const char* description, const VarType& type, deUint32 layoutFlags, int numInstances) argument
303 block.setFlags(layoutFlags);
318 BlockBasicUnsizedArrayCase (tcu::TestContext& testCtx, const char* name, const char* description, const VarType& elementType, int arraySize, deUint32 layoutFlags) argument
323 block.setFlags(layoutFlags);
345 BlockSingleStructCase (tcu::TestContext& testCtx, const char* name, const char* description, deUint32 layoutFlags, BufferMod argument
376 BlockSingleStructArrayCase(tcu::TestContext& testCtx, const char* name, const char* description, deUint32 layoutFlags, BufferMode bufferMode, int numInstances) argument
409 BlockSingleNestedStructCase(tcu::TestContext& testCtx, const char* name, const char* description, deUint32 layoutFlags, BufferMode bufferMode, int numInstances) argument
447 BlockSingleNestedStructArrayCase(tcu::TestContext& testCtx, const char* name, const char* description, deUint32 layoutFlags, BufferMode bufferMode, int numInstances) argument
485 BlockUnsizedStructArrayCase(tcu::TestContext& testCtx, const char* name, const char* description, deUint32 layoutFlags, BufferMode bufferMode, int numInstances) argument
527 Block2LevelUnsizedStructArrayCase(tcu::TestContext& testCtx, const char* name, const char* description, deUint32 layoutFlags, BufferMode bufferMode, int numInstances) argument
568 BlockUnsizedNestedStructArrayCase(tcu::TestContext& testCtx, const char* name, const char* description, deUint32 layoutFlags, BufferMode bufferMode, int numInstances) argument
759 } layoutFlags[] = local
[all...]
H A DvktSSBOLayoutCase.cpp286 int computeStd140BaseAlignment (const VarType& type, deUint32 layoutFlags) argument
296 const bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR);
308 int elemAlignment = computeStd140BaseAlignment(type.getElementType(), layoutFlags);
320 maxBaseAlignment = de::max(maxBaseAlignment, computeStd140BaseAlignment(memberIter->getType(), layoutFlags));
326 int computeStd430BaseAlignment (const VarType& type, deUint32 layoutFlags) argument
337 const bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR);
349 return computeStd430BaseAlignment(type.getElementType(), layoutFlags);
358 maxBaseAlignment = de::max(maxBaseAlignment, computeStd430BaseAlignment(memberIter->getType(), layoutFlags));
384 deUint32 layoutFlags)
388 const bool isStd140 = (layoutFlags
378 computeReferenceLayout( BufferLayout& layout, int curBlockNdx, int baseOffset, const std::string& curPrefix, const VarType& type, deUint32 layoutFlags) argument
[all...]
/external/deqp/modules/glshared/
H A DglsRandomUniformBlockCase.hpp80 void generateBlock (de::Random& rnd, deUint32 layoutFlags);
H A DglsRandomUniformBlockCase.cpp82 void RandomUniformBlockCase::generateBlock (de::Random& rnd, deUint32 layoutFlags) argument
102 if ((m_features & FEATURE_SHARED_LAYOUT) && ((layoutFlags & DECLARE_BOTH) != DECLARE_BOTH))
107 layoutFlags |= rnd.choose<deUint32>(layoutFlagCandidates.begin(), layoutFlagCandidates.end());
112 layoutFlags |= rnd.choose<deUint32>(&matrixCandidates[0], &matrixCandidates[DE_LENGTH_OF_ARRAY(matrixCandidates)]);
115 block.setFlags(layoutFlags);
H A DglsUniformBlockCase.cpp466 void computeStd140Layout (UniformLayout& layout, int& curOffset, int curBlockNdx, const std::string& curPrefix, const VarType& type, deUint32 layoutFlags) argument
487 bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR);
537 bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR);
563 computeStd140Layout(layout, curOffset, curBlockNdx, curPrefix + "[" + de::toString(elemNdx) + "]", type.getElementType(), layoutFlags);
571 computeStd140Layout(layout, curOffset, curBlockNdx, curPrefix + "." + memberIter->getName(), memberIter->getType(), layoutFlags);

Completed in 231 milliseconds