Home
last modified time | relevance | path

Searched refs:datumSize (Results 1 – 2 of 2) sorted by relevance

/external/deqp/modules/gles31/stress/
Des31sVertexAttributeBindingTests.cpp371 const int datumSize = 4; in genTestSpec() local
373 …nst int attrBufAlignment = ((bufferOffset % datumSize) == 0) ? (0) : (datumSize - (bufferOffset %… in genTestSpec()
376 …(flags & FLAG_ATTRIBS_SHARED_ELEMS) ? (2 * datumSize) : (flags & FLAG_ATTRIBS_MULTIPLE_ELEMS) ? (4… in genTestSpec()
378 …t bufferStrideBase = de::max(positionAttrOffset + 4 * datumSize, colorAttrOffset + 4 * datumSize); in genTestSpec()
379 …fferStrideAlignment = ((bufferStrideBase % datumSize) == 0) ? (0) : (datumSize - (bufferStrideBase… in genTestSpec()
380 …ned32(bufferStrideBase, datumSize)) ? (13) : (!(flags & FLAG_BUF_UNALIGNED_STRIDE) && !deIsAligned… in genTestSpec()
391 DE_ASSERT(!deIsAligned32(spec.bufferOffset + spec.positionAttrOffset, datumSize)); in genTestSpec()
393 DE_ASSERT(deIsAligned32(spec.bufferOffset + spec.positionAttrOffset, datumSize)); in genTestSpec()
396 DE_ASSERT(!deIsAligned32(spec.bufferStride, datumSize)); in genTestSpec()
398 DE_ASSERT(deIsAligned32(spec.bufferStride, datumSize)); in genTestSpec()
/external/deqp/modules/gles31/functional/
Des31fVertexAttributeBindingTests.cpp377 const int datumSize = 4; in genTestSpec() local
379 …nst int attrBufAlignment = ((bufferOffset % datumSize) == 0) ? (0) : (datumSize - (bufferOffset %… in genTestSpec()
382 …(flags & FLAG_ATTRIBS_SHARED_ELEMS) ? (2 * datumSize) : (flags & FLAG_ATTRIBS_MULTIPLE_ELEMS) ? (4… in genTestSpec()
384 …t bufferStrideBase = de::max(positionAttrOffset + 4 * datumSize, colorAttrOffset + 4 * datumSize); in genTestSpec()
385 …fferStrideAlignment = ((bufferStrideBase % datumSize) == 0) ? (0) : (datumSize - (bufferStrideBase… in genTestSpec()
386 …ned32(bufferStrideBase, datumSize)) ? (13) : (!(flags & FLAG_BUF_UNALIGNED_STRIDE) && !deIsAligned… in genTestSpec()
397 DE_ASSERT(!deIsAligned32(spec.bufferOffset + spec.positionAttrOffset, datumSize)); in genTestSpec()
399 DE_ASSERT(deIsAligned32(spec.bufferOffset + spec.positionAttrOffset, datumSize)); in genTestSpec()
402 DE_ASSERT(!deIsAligned32(spec.bufferStride, datumSize)); in genTestSpec()
404 DE_ASSERT(deIsAligned32(spec.bufferStride, datumSize)); in genTestSpec()