Home
last modified time | relevance | path

Searched refs:typeDepth (Results 1 – 10 of 10) sorted by relevance

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory_model/
DvktMemoryModelSharedLayout.cpp161 glu::VarType RandomSharedLayoutCase::generateType (de::Random &rnd, int typeDepth, bool arrayOk) in generateType() argument
166 if (typeDepth > 0 && rnd.getFloat() < structWeight && (m_features & FEATURE_STRUCTS)) in generateType()
173 memberTypes.push_back(generateType(rnd, typeDepth - 1, true)); in generateType()
184 else if (typeDepth > 0 && m_maxArrayLength > 0 && arrayOk && rnd.getFloat() < arrayWeight) in generateType()
188 const glu::VarType elementType = generateType(rnd, typeDepth - 1, childArrayOk); in generateType()
DvktMemoryModelSharedLayoutCase.hpp163 glu::VarType generateType (de::Random& rnd, int typeDepth, bool arrayOk);
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/transform_feedback/
DvktTransformFeedbackRandomLayoutCase.cpp204 VarType RandomInterfaceBlockCase::generateType (de::Random& rnd, int typeDepth, bool arrayOk) in generateType() argument
209 if (typeDepth < m_maxStructDepth && rnd.getFloat() < structWeight) in generateType()
218 memberTypes.push_back(generateType(rnd, typeDepth+1, true)); in generateType()
242 VarType elementType = generateType(rnd, typeDepth, arraysOfArraysOk); in generateType()
DvktTransformFeedbackRandomLayoutCase.hpp69 VarType generateType (de::Random& rnd, int typeDepth, bool arrayOk);
/third_party/vk-gl-cts/modules/glshared/
DglsRandomUniformBlockCase.cpp156 VarType RandomUniformBlockCase::generateType (de::Random& rnd, int typeDepth, bool arrayOk) in generateType() argument
161 if (typeDepth < m_maxStructDepth && rnd.getFloat() < structWeight) in generateType()
171 memberTypes.push_back(generateType(rnd, typeDepth+1, true)); in generateType()
193 VarType elementType = generateType(rnd, typeDepth, arraysOfArraysOk); in generateType()
DglsRandomUniformBlockCase.hpp82 ub::VarType generateType (de::Random& rnd, int typeDepth, bool arrayOk);
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ubo/
DvktRandomUniformBlockCase.cpp183 VarType RandomUniformBlockCase::generateType (de::Random& rnd, int typeDepth, bool arrayOk) in generateType() argument
188 if (typeDepth < m_maxStructDepth && rnd.getFloat() < structWeight) in generateType()
198 memberTypes.push_back(generateType(rnd, typeDepth+1, true)); in generateType()
220 VarType elementType = generateType(rnd, typeDepth, arraysOfArraysOk); in generateType()
DvktRandomUniformBlockCase.hpp78 VarType generateType (de::Random& rnd, int typeDepth, bool arrayOk);
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcUniformBlockTests.cpp73 VarType generateType(de::Random& rnd, int typeDepth, bool arrayOk);
204 VarType RandomUniformBlockCase::generateType(de::Random& rnd, int typeDepth, bool arrayOk) in generateType() argument
209 if (typeDepth < m_maxStructDepth && rnd.getFloat() < structWeight) in generateType()
219 memberTypes.push_back(generateType(rnd, typeDepth + 1, true)); in generateType()
240 VarType elementType = generateType(rnd, typeDepth, false /* nested arrays are not allowed */); in generateType()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutTests.cpp96 glu::VarType generateType (de::Random& rnd, int typeDepth, bool arrayOk, bool unusedArrayOk);
246 glu::VarType RandomSSBOLayoutCase::generateType (de::Random& rnd, int typeDepth, bool arrayOk, bool… in generateType() argument
257 const glu::VarType elementType = generateType(rnd, typeDepth, childArrayOk, false); in generateType()
260 else if (typeDepth < m_maxStructDepth && rnd.getFloat() < structWeight) in generateType()
267 memberTypes.push_back(generateType(rnd, typeDepth+1, true, false)); in generateType()
284 const glu::VarType elementType = generateType(rnd, typeDepth, childArrayOk, false); in generateType()