Home
last modified time | relevance | path

Searched refs:vec4Alignment (Results 1 – 6 of 6) sorted by relevance

/external/deqp/external/openglcts/modules/common/
DglcUniformBlockCase.cpp374 int vec4Alignment = static_cast<int>(sizeof(deUint32) * 4); in getDataTypeArrayStride() local
376 DE_ASSERT(baseStride <= vec4Alignment); in getDataTypeArrayStride()
377 return de::max(baseStride, vec4Alignment); // Really? See rule 4. in getDataTypeArrayStride()
382 const int vec4Alignment = static_cast<int>(sizeof(deUint32) * 4); in computeStd140BaseAlignment() local
404 return deRoundUp32(elemAlignment, vec4Alignment); in computeStd140BaseAlignment()
416 return deRoundUp32(maxBaseAlignment, vec4Alignment); in computeStd140BaseAlignment()
/external/deqp/external/vulkancts/modules/vulkan/ubo/
DvktUniformBlockCase.cpp407 const int vec4Alignment = (int)sizeof(deUint32)*4; in computeStd140BaseAlignment() local
418 …t vecAlign = deAlign32(getDataTypeByteAlignment(glu::getDataTypeFloatVec(vecSize)), vec4Alignment); in computeStd140BaseAlignment()
430 return deAlign32(elemAlignment, vec4Alignment); in computeStd140BaseAlignment()
441 return deAlign32(maxBaseAlignment, vec4Alignment); in computeStd140BaseAlignment()
2244 const int vec4Alignment = (int)sizeof(deUint32)*4; in delayedInit() local
2255 totalSize += deRoundUp32(blockIter->size, vec4Alignment); in delayedInit()
2266 curOffset += deRoundUp32(m_uniformLayout.blocks[blockNdx].size, vec4Alignment); in delayedInit()
/external/deqp/modules/glshared/
DglsUniformBlockCase.cpp403 const int vec4Alignment = (int)sizeof(deUint32)*4; in getDataTypeArrayStride() local
405 DE_ASSERT(baseStride <= vec4Alignment); in getDataTypeArrayStride()
406 return de::max(baseStride, vec4Alignment); // Really? See rule 4. in getDataTypeArrayStride()
411 const int vec4Alignment = (int)sizeof(deUint32)*4; in computeStd140BaseAlignment() local
433 return deRoundUp32(elemAlignment, vec4Alignment); in computeStd140BaseAlignment()
444 return deRoundUp32(maxBaseAlignment, vec4Alignment); in computeStd140BaseAlignment()
/external/deqp/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutCase.cpp324 const int vec4Alignment = (int)sizeof(deUint32)*4; in computeStd140BaseAlignment() local
335 …t vecAlign = deAlign32(getDataTypeByteAlignment(glu::getDataTypeFloatVec(vecSize)), vec4Alignment); in computeStd140BaseAlignment()
347 return deAlign32(elemAlignment, vec4Alignment); in computeStd140BaseAlignment()
358 return deAlign32(maxBaseAlignment, vec4Alignment); in computeStd140BaseAlignment()
1958 const int vec4Alignment = (int)sizeof(deUint32)*4; in initRefDataStorage() local
1963 totalSize += deRoundUp32(*sizeIter, vec4Alignment); in initRefDataStorage()
1986 curOffset += deRoundUp32(bufferSize, vec4Alignment); in initRefDataStorage()
/external/deqp/modules/gles31/functional/
Des31fSSBOLayoutCase.cpp368 const int vec4Alignment = (int)sizeof(deUint32)*4; in computeStd140BaseAlignment() local
379 …t vecAlign = deAlign32(getDataTypeByteAlignment(glu::getDataTypeFloatVec(vecSize)), vec4Alignment); in computeStd140BaseAlignment()
391 return deAlign32(elemAlignment, vec4Alignment); in computeStd140BaseAlignment()
402 return deAlign32(maxBaseAlignment, vec4Alignment); in computeStd140BaseAlignment()
/external/deqp/external/vulkancts/modules/vulkan/transform_feedback/
DvktTransformFeedbackFuzzLayoutCase.cpp421 const int vec4Alignment = (int)sizeof(deUint32) * 4; in getDataTypeArrayStrideForLocation() local
423 return deAlign32(baseStride, vec4Alignment); in getDataTypeArrayStrideForLocation()