Lines Matching refs:layoutFlags
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()
420 return computeStd430BaseAlignment(type.getElementType(), layoutFlags); in computeRelaxedBlockBaseAlignment()
427 … = de::max(maxBaseAlignment, computeRelaxedBlockBaseAlignment(memberIter->getType(), layoutFlags)); in computeRelaxedBlockBaseAlignment()
433 int computeScalarBlockAlignment (const VarType& type, deUint32 layoutFlags) in computeScalarBlockAlignment() argument
440 return computeScalarBlockAlignment(type.getElementType(), layoutFlags); in computeScalarBlockAlignment()
447 …nment = de::max(maxBaseAlignment, computeScalarBlockAlignment(memberIter->getType(), layoutFlags)); in computeScalarBlockAlignment()
473 deUint32 layoutFlags) in computeReferenceLayout() argument
477 …const int baseAlignment = (layoutFlags & LAYOUT_SCALAR) != 0 ? computeScalarBlockAlignment(type,… in computeReferenceLayout()
478 (layoutFlags & LAYOUT_STD140) != 0 ? computeStd140BaseAlignment(type, layoutFlags) : in computeReferenceLayout()
479 … (layoutFlags & LAYOUT_RELAXED) != 0 ? computeRelaxedBlockBaseAlignment(type, layoutFlags) : in computeReferenceLayout()
480 computeStd430BaseAlignment(type, layoutFlags); in computeReferenceLayout()
502 const bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR); in computeReferenceLayout()
508 …const int vecStride = (layoutFlags & LAYOUT_SCALAR) ? getDataTypeByteSize(vecType) : baseAlignme… in computeReferenceLayout()
518 if (!(layoutFlags & LAYOUT_SCALAR) && (layoutFlags & LAYOUT_RELAXED) && in computeReferenceLayout()
538 …const int stride = (layoutFlags & LAYOUT_SCALAR) ? getDataTypeByteSize(elemBasicType) : baseA… in computeReferenceLayout()
559 const bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR); in computeReferenceLayout()
565 …const int vecStride = (layoutFlags & LAYOUT_SCALAR) ? getDataTypeByteSize(vecType) : baseAlig… in computeReferenceLayout()
588 …Ndx, curOffset, curPrefix + "[" + de::toString(elemNdx) + "]", type.getElementType(), layoutFlags); in computeReferenceLayout()
596 …rBlockNdx, curOffset, curPrefix + "." + memberIter->getName(), memberIter->getType(), layoutFlags); in computeReferenceLayout()
598 if (!(layoutFlags & LAYOUT_SCALAR)) in computeReferenceLayout()