/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fSSBOLayoutTests.cpp | 76 void generateBlock (de::Random& rnd, deUint32 layoutFlags); 122 void RandomSSBOLayoutCase::generateBlock (de::Random& rnd, deUint32 layoutFlags) in generateBlock() argument 147 layoutFlags |= rnd.choose<deUint32>(layoutFlagCandidates.begin(), layoutFlagCandidates.end()); in generateBlock() 152 …layoutFlags |= rnd.choose<deUint32>(&matrixCandidates[0], &matrixCandidates[DE_LENGTH_OF_ARRAY(mat… in generateBlock() 155 block.setFlags(layoutFlags); in generateBlock() 315 …nst char* name, const char* description, const VarType& type, deUint32 layoutFlags, int numInstanc… in BlockBasicTypeCase() argument 320 block.setFlags(layoutFlags); in BlockBasicTypeCase() 333 …ar* name, const char* description, const VarType& elementType, int arraySize, deUint32 layoutFlags) in BlockBasicUnsizedArrayCase() argument 338 block.setFlags(layoutFlags); in BlockBasicUnsizedArrayCase() 358 …(Context& context, const char* name, const char* description, deUint32 layoutFlags, BufferMode buf… in BlockSingleStructCase() argument [all …]
|
D | es31fUniformBlockTests.cpp | 62 …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 …]
|
D | es31fSSBOLayoutCase.cpp | 366 int computeStd140BaseAlignment (const VarType& type, deUint32 layoutFlags) in computeStd140BaseAlignment() argument 376 const bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR); in computeStd140BaseAlignment() 388 int elemAlignment = computeStd140BaseAlignment(type.getElementType(), layoutFlags); in computeStd140BaseAlignment() 400 …gnment = de::max(maxBaseAlignment, computeStd140BaseAlignment(memberIter->getType(), layoutFlags)); in computeStd140BaseAlignment() 406 int computeStd430BaseAlignment (const VarType& type, deUint32 layoutFlags) in computeStd430BaseAlignment() argument 417 const bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR); in computeStd430BaseAlignment() 429 return computeStd430BaseAlignment(type.getElementType(), layoutFlags); in computeStd430BaseAlignment() 438 …gnment = de::max(maxBaseAlignment, computeStd430BaseAlignment(memberIter->getType(), layoutFlags)); in computeStd430BaseAlignment() 464 deUint32 layoutFlags) in computeReferenceLayout() argument 468 const bool isStd140 = (layoutFlags & LAYOUT_STD140) != 0; in computeReferenceLayout() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ubo/ |
D | vktUniformBlockTests.cpp | 45 …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() 83 …ntext& testCtx, const std::string& name, const VarType& type, deUint32 layoutFlags, int numInstanc… in createBlockBasicTypeCases() argument 87 …typeGroup->addChild(new BlockBasicTypeCase(testCtx, "vertex", "", type, layoutFlags|DECLARE_VER… in createBlockBasicTypeCases() 88 …typeGroup->addChild(new BlockBasicTypeCase(testCtx, "fragment", "", type, layoutFlags|DECLARE_F… in createBlockBasicTypeCases() 89 …typeGroup->addChild(new BlockBasicTypeCase(testCtx, "both", "", type, layoutFlags|DECLARE_VERT… in createBlockBasicTypeCases() 90 …typeGroup->addChild(new BlockBasicTypeCase(testCtx, "vertex_comp_access", "", type, layoutFlags|DE… in createBlockBasicTypeCases() [all …]
|
D | vktRandomUniformBlockCase.cpp | 101 void RandomUniformBlockCase::generateBlock (de::Random& rnd, deUint32 layoutFlags) in generateBlock() argument 142 layoutFlags |= LAYOUT_16BIT_STORAGE; in generateBlock() 145 layoutFlags |= LAYOUT_8BIT_STORAGE; in generateBlock() 148 layoutFlags |= LAYOUT_DESCRIPTOR_INDEXING; in generateBlock() 150 layoutFlags |= rnd.choose<deUint32>(layoutFlagCandidates.begin(), layoutFlagCandidates.end()); in generateBlock() 155 …layoutFlags |= rnd.choose<deUint32>(&matrixCandidates[0], &matrixCandidates[DE_LENGTH_OF_ARRAY(mat… in generateBlock() 158 block.setFlags(layoutFlags); in generateBlock()
|
D | vktUniformBlockCase.cpp | 405 int computeStd140BaseAlignment (const VarType& type, deUint32 layoutFlags) in computeStd140BaseAlignment() argument 415 const bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR); in computeStd140BaseAlignment() 427 int elemAlignment = computeStd140BaseAlignment(type.getElementType(), layoutFlags); in computeStd140BaseAlignment() 439 …gnment = de::max(maxBaseAlignment, computeStd140BaseAlignment(memberIter->getType(), layoutFlags)); in computeStd140BaseAlignment() 445 int computeStd430BaseAlignment (const VarType& type, deUint32 layoutFlags) in computeStd430BaseAlignment() argument 456 const bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR); in computeStd430BaseAlignment() 467 return computeStd430BaseAlignment(type.getElementType(), layoutFlags); in computeStd430BaseAlignment() 476 …gnment = de::max(maxBaseAlignment, computeStd430BaseAlignment(memberIter->getType(), layoutFlags)); in computeStd430BaseAlignment() 482 int computeRelaxedBlockBaseAlignment (const VarType& type, deUint32 layoutFlags) in computeRelaxedBlockBaseAlignment() argument 493 const bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR); in computeRelaxedBlockBaseAlignment() [all …]
|
D | vktRandomUniformBlockCase.hpp | 76 void generateBlock (de::Random& rnd, deUint32 layoutFlags);
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ubo/ |
D | vktUniformBlockTests.cpp | 45 …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() 83 …ntext& testCtx, const std::string& name, const VarType& type, deUint32 layoutFlags, int numInstanc… in createBlockBasicTypeCases() argument 87 …typeGroup->addChild(new BlockBasicTypeCase(testCtx, "vertex", "", type, layoutFlags|DECLARE_VER… in createBlockBasicTypeCases() 88 …typeGroup->addChild(new BlockBasicTypeCase(testCtx, "fragment", "", type, layoutFlags|DECLARE_F… in createBlockBasicTypeCases() 89 …typeGroup->addChild(new BlockBasicTypeCase(testCtx, "both", "", type, layoutFlags|DECLARE_VERT… in createBlockBasicTypeCases() 90 …typeGroup->addChild(new BlockBasicTypeCase(testCtx, "vertex_comp_access", "", type, layoutFlags|DE… in createBlockBasicTypeCases() [all …]
|
D | vktRandomUniformBlockCase.cpp | 101 void RandomUniformBlockCase::generateBlock (de::Random& rnd, deUint32 layoutFlags) in generateBlock() argument 142 layoutFlags |= LAYOUT_16BIT_STORAGE; in generateBlock() 145 layoutFlags |= LAYOUT_8BIT_STORAGE; in generateBlock() 148 layoutFlags |= LAYOUT_DESCRIPTOR_INDEXING; in generateBlock() 150 layoutFlags |= rnd.choose<deUint32>(layoutFlagCandidates.begin(), layoutFlagCandidates.end()); in generateBlock() 155 …layoutFlags |= rnd.choose<deUint32>(&matrixCandidates[0], &matrixCandidates[DE_LENGTH_OF_ARRAY(mat… in generateBlock() 158 block.setFlags(layoutFlags); in generateBlock()
|
D | vktUniformBlockCase.cpp | 405 int computeStd140BaseAlignment (const VarType& type, deUint32 layoutFlags) in computeStd140BaseAlignment() argument 415 const bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR); in computeStd140BaseAlignment() 427 int elemAlignment = computeStd140BaseAlignment(type.getElementType(), layoutFlags); in computeStd140BaseAlignment() 439 …gnment = de::max(maxBaseAlignment, computeStd140BaseAlignment(memberIter->getType(), layoutFlags)); in computeStd140BaseAlignment() 445 int computeStd430BaseAlignment (const VarType& type, deUint32 layoutFlags) in computeStd430BaseAlignment() argument 456 const bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR); in computeStd430BaseAlignment() 467 return computeStd430BaseAlignment(type.getElementType(), layoutFlags); in computeStd430BaseAlignment() 476 …gnment = de::max(maxBaseAlignment, computeStd430BaseAlignment(memberIter->getType(), layoutFlags)); in computeStd430BaseAlignment() 482 int computeRelaxedBlockBaseAlignment (const VarType& type, deUint32 layoutFlags) in computeRelaxedBlockBaseAlignment() argument 493 const bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR); in computeRelaxedBlockBaseAlignment() [all …]
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fUniformBlockTests.cpp | 60 …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 …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ssbo/ |
D | vktSSBOLayoutTests.cpp | 94 void generateBlock (de::Random& rnd, deUint32 layoutFlags); 138 void RandomSSBOLayoutCase::generateBlock (de::Random& rnd, deUint32 layoutFlags) in generateBlock() argument 172 layoutFlags |= LAYOUT_16BIT_STORAGE; in generateBlock() 175 layoutFlags |= LAYOUT_8BIT_STORAGE; in generateBlock() 178 layoutFlags |= LAYOUT_DESCRIPTOR_INDEXING; in generateBlock() 182 layoutFlags |= rnd.choose<deUint32>(layoutFlagCandidates.begin(), layoutFlagCandidates.end()); in generateBlock() 187 …layoutFlags |= rnd.choose<deUint32>(&matrixCandidates[0], &matrixCandidates[DE_LENGTH_OF_ARRAY(mat… in generateBlock() 190 block.setFlags(layoutFlags); in generateBlock() 382 …nst char* name, const char* description, const VarType& type, deUint32 layoutFlags, int numInstanc… in BlockBasicTypeCase() argument 394 layoutFlags |= LAYOUT_16BIT_STORAGE; in BlockBasicTypeCase() [all …]
|
D | vktSSBOLayoutCase.cpp | 322 int computeStd140BaseAlignment (const VarType& type, deUint32 layoutFlags) in computeStd140BaseAlignment() argument 332 const bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR); in computeStd140BaseAlignment() 344 int elemAlignment = computeStd140BaseAlignment(type.getElementType(), layoutFlags); in computeStd140BaseAlignment() 356 …gnment = de::max(maxBaseAlignment, computeStd140BaseAlignment(memberIter->getType(), layoutFlags)); in computeStd140BaseAlignment() 362 int computeStd430BaseAlignment (const VarType& type, deUint32 layoutFlags) in computeStd430BaseAlignment() argument 373 const bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR); in computeStd430BaseAlignment() 384 return computeStd430BaseAlignment(type.getElementType(), layoutFlags); in computeStd430BaseAlignment() 393 …gnment = de::max(maxBaseAlignment, computeStd430BaseAlignment(memberIter->getType(), layoutFlags)); in computeStd430BaseAlignment() 399 int computeRelaxedBlockBaseAlignment (const VarType& type, deUint32 layoutFlags) in computeRelaxedBlockBaseAlignment() argument 410 const bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR); in computeRelaxedBlockBaseAlignment() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ssbo/ |
D | vktSSBOLayoutTests.cpp | 94 void generateBlock (de::Random& rnd, deUint32 layoutFlags); 138 void RandomSSBOLayoutCase::generateBlock (de::Random& rnd, deUint32 layoutFlags) in generateBlock() argument 172 layoutFlags |= LAYOUT_16BIT_STORAGE; in generateBlock() 175 layoutFlags |= LAYOUT_8BIT_STORAGE; in generateBlock() 178 layoutFlags |= LAYOUT_DESCRIPTOR_INDEXING; in generateBlock() 182 layoutFlags |= rnd.choose<deUint32>(layoutFlagCandidates.begin(), layoutFlagCandidates.end()); in generateBlock() 187 …layoutFlags |= rnd.choose<deUint32>(&matrixCandidates[0], &matrixCandidates[DE_LENGTH_OF_ARRAY(mat… in generateBlock() 190 block.setFlags(layoutFlags); in generateBlock() 382 …nst char* name, const char* description, const VarType& type, deUint32 layoutFlags, int numInstanc… in BlockBasicTypeCase() argument 394 layoutFlags |= LAYOUT_16BIT_STORAGE; in BlockBasicTypeCase() [all …]
|
D | vktSSBOLayoutCase.cpp | 322 int computeStd140BaseAlignment (const VarType& type, deUint32 layoutFlags) in computeStd140BaseAlignment() argument 332 const bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR); in computeStd140BaseAlignment() 344 int elemAlignment = computeStd140BaseAlignment(type.getElementType(), layoutFlags); in computeStd140BaseAlignment() 356 …gnment = de::max(maxBaseAlignment, computeStd140BaseAlignment(memberIter->getType(), layoutFlags)); in computeStd140BaseAlignment() 362 int computeStd430BaseAlignment (const VarType& type, deUint32 layoutFlags) in computeStd430BaseAlignment() argument 373 const bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR); in computeStd430BaseAlignment() 384 return computeStd430BaseAlignment(type.getElementType(), layoutFlags); in computeStd430BaseAlignment() 393 …gnment = de::max(maxBaseAlignment, computeStd430BaseAlignment(memberIter->getType(), layoutFlags)); in computeStd430BaseAlignment() 399 int computeRelaxedBlockBaseAlignment (const VarType& type, deUint32 layoutFlags) in computeRelaxedBlockBaseAlignment() argument 410 const bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR); in computeRelaxedBlockBaseAlignment() [all …]
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcUniformBlockTests.cpp | 71 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 …]
|
/third_party/skia/src/sksl/ir/ |
D | SkSLModifiers.cpp | 60 int layoutFlags = fLayout.fFlags; in checkPermitted() local 62 if (layoutFlags & lf.flag) { in checkPermitted() 68 layoutFlags &= ~lf.flag; in checkPermitted() 71 SkASSERT(layoutFlags == 0); in checkPermitted()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/transform_feedback/ |
D | vktTransformFeedbackFuzzLayoutTests.cpp | 48 deUint32 layoutFlags, in BlockBasicTypeCase() argument 63 block.setFlags(layoutFlags); in BlockBasicTypeCase() 73 …ntext& testCtx, const std::string& name, const VarType& type, deUint32 layoutFlags, int numInstanc… in createBlockBasicTypeCases() argument 77 …typeGroup->addChild(new BlockBasicTypeCase(testCtx, "vertex", "", type, layoutFlags, numInstances,… in createBlockBasicTypeCases() 78 …typeGroup->addChild(new BlockBasicTypeCase(testCtx, "geometry", "", type, layoutFlags, numInstance… in createBlockBasicTypeCases() 89 deUint32 layoutFlags, in BlockSingleStructCase() argument 102 block.setFlags(layoutFlags); in BlockSingleStructCase() 118 deUint32 layoutFlags, in BlockSingleStructArrayCase() argument 133 block.setFlags(layoutFlags); in BlockSingleStructArrayCase() 149 deUint32 layoutFlags, in BlockSingleNestedStructCase() argument [all …]
|
D | vktTransformFeedbackRandomLayoutCase.cpp | 151 void RandomInterfaceBlockCase::generateBlock (de::Random& rnd, deUint32 layoutFlags) in generateBlock() argument 167 block.setFlags(layoutFlags); in generateBlock()
|
D | vktTransformFeedbackRandomLayoutCase.hpp | 67 void generateBlock (de::Random& rnd, deUint32 layoutFlags);
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/transform_feedback/ |
D | vktTransformFeedbackFuzzLayoutTests.cpp | 48 deUint32 layoutFlags, in BlockBasicTypeCase() argument 63 block.setFlags(layoutFlags); in BlockBasicTypeCase() 73 …ntext& testCtx, const std::string& name, const VarType& type, deUint32 layoutFlags, int numInstanc… in createBlockBasicTypeCases() argument 77 …typeGroup->addChild(new BlockBasicTypeCase(testCtx, "vertex", "", type, layoutFlags, numInstances,… in createBlockBasicTypeCases() 78 …typeGroup->addChild(new BlockBasicTypeCase(testCtx, "geometry", "", type, layoutFlags, numInstance… in createBlockBasicTypeCases() 89 deUint32 layoutFlags, in BlockSingleStructCase() argument 102 block.setFlags(layoutFlags); in BlockSingleStructCase() 118 deUint32 layoutFlags, in BlockSingleStructArrayCase() argument 133 block.setFlags(layoutFlags); in BlockSingleStructArrayCase() 149 deUint32 layoutFlags, in BlockSingleNestedStructCase() argument [all …]
|
D | vktTransformFeedbackRandomLayoutCase.cpp | 151 void RandomInterfaceBlockCase::generateBlock (de::Random& rnd, deUint32 layoutFlags) in generateBlock() argument 167 block.setFlags(layoutFlags); in generateBlock()
|
D | vktTransformFeedbackRandomLayoutCase.hpp | 67 void generateBlock (de::Random& rnd, deUint32 layoutFlags);
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsRandomUniformBlockCase.cpp | 82 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() 112 …layoutFlags |= rnd.choose<deUint32>(&matrixCandidates[0], &matrixCandidates[DE_LENGTH_OF_ARRAY(mat… in generateBlock() 115 block.setFlags(layoutFlags); in generateBlock()
|
D | glsRandomUniformBlockCase.hpp | 80 void generateBlock (de::Random& rnd, deUint32 layoutFlags);
|