Home
last modified time | relevance | path

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

/external/deqp/external/openglcts/modules/common/
DglcUniformBlockCase.cpp373 int vec4Alignment = static_cast<int>(sizeof(deUint32) * 4); in getDataTypeArrayStride() local
375 DE_ASSERT(baseStride <= vec4Alignment); in getDataTypeArrayStride()
376 return de::max(baseStride, vec4Alignment); // Really? See rule 4. in getDataTypeArrayStride()
387 const int vec4Alignment = static_cast<int>(sizeof(deUint32) * 4); in computeStd140BaseAlignment() local
409 return deRoundUp32(elemAlignment, vec4Alignment); in computeStd140BaseAlignment()
421 return deRoundUp32(maxBaseAlignment, vec4Alignment); in computeStd140BaseAlignment()
/external/deqp/external/vulkancts/modules/vulkan/ubo/
DvktUniformBlockCase.cpp412 const int vec4Alignment = (int)sizeof(deUint32)*4; in computeStd140BaseAlignment() local
423 …t vecAlign = deAlign32(getDataTypeByteAlignment(glu::getDataTypeFloatVec(vecSize)), vec4Alignment); in computeStd140BaseAlignment()
435 return deAlign32(elemAlignment, vec4Alignment); in computeStd140BaseAlignment()
446 return deAlign32(maxBaseAlignment, vec4Alignment); in computeStd140BaseAlignment()
2262 const int vec4Alignment = (int)sizeof(deUint32)*4; in init() local
2273 totalSize += deRoundUp32(blockIter->size, vec4Alignment); in init()
2284 curOffset += deRoundUp32(m_uniformLayout.blocks[blockNdx].size, vec4Alignment); in init()
/external/deqp/modules/glshared/
DglsUniformBlockCase.cpp402 const int vec4Alignment = (int)sizeof(deUint32)*4; in getDataTypeArrayStride() local
404 DE_ASSERT(baseStride <= vec4Alignment); in getDataTypeArrayStride()
405 return de::max(baseStride, vec4Alignment); // Really? See rule 4. in getDataTypeArrayStride()
416 const int vec4Alignment = (int)sizeof(deUint32)*4; in computeStd140BaseAlignment() local
438 return deRoundUp32(elemAlignment, vec4Alignment); in computeStd140BaseAlignment()
449 return deRoundUp32(maxBaseAlignment, vec4Alignment); in computeStd140BaseAlignment()
/external/deqp/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutCase.cpp327 const int vec4Alignment = (int)sizeof(deUint32)*4; in computeStd140BaseAlignment() local
338 …t vecAlign = deAlign32(getDataTypeByteAlignment(glu::getDataTypeFloatVec(vecSize)), vec4Alignment); in computeStd140BaseAlignment()
350 return deAlign32(elemAlignment, vec4Alignment); in computeStd140BaseAlignment()
361 return deAlign32(maxBaseAlignment, vec4Alignment); in computeStd140BaseAlignment()
2009 const int vec4Alignment = (int)sizeof(deUint32)*4; in initRefDataStorage() local
2014 totalSize += deRoundUp32(*sizeIter, vec4Alignment); in initRefDataStorage()
2037 curOffset += deRoundUp32(bufferSize, vec4Alignment); in initRefDataStorage()
/external/deqp/modules/gles31/functional/
Des31fSSBOLayoutCase.cpp373 const int vec4Alignment = (int)sizeof(deUint32)*4; in computeStd140BaseAlignment() local
384 …t vecAlign = deAlign32(getDataTypeByteAlignment(glu::getDataTypeFloatVec(vecSize)), vec4Alignment); in computeStd140BaseAlignment()
396 return deAlign32(elemAlignment, vec4Alignment); in computeStd140BaseAlignment()
407 return deAlign32(maxBaseAlignment, vec4Alignment); in computeStd140BaseAlignment()