Home
last modified time | relevance | path

Searched refs:baseAlignment (Results 1 – 8 of 8) sorted by relevance

/external/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_decorations.cpp169 uint32_t baseAlignment = 1; in getBaseAlignment() local
173 baseAlignment = words[2] / 8; in getBaseAlignment()
180 baseAlignment = in getBaseAlignment()
187 baseAlignment = getBaseAlignment(column_type, roundUp, inherited, in getBaseAlignment()
197 baseAlignment = in getBaseAlignment()
203 baseAlignment = in getBaseAlignment()
205 if (roundUp) baseAlignment = align(baseAlignment, 16u); in getBaseAlignment()
214 baseAlignment = std::max( in getBaseAlignment()
215 baseAlignment, in getBaseAlignment()
218 if (roundUp) baseAlignment = align(baseAlignment, 16u); in getBaseAlignment()
[all …]
/external/deqp-deps/SPIRV-Tools/source/val/
Dvalidate_decorations.cpp169 uint32_t baseAlignment = 1; in getBaseAlignment() local
173 baseAlignment = words[2] / 8; in getBaseAlignment()
180 baseAlignment = in getBaseAlignment()
187 baseAlignment = getBaseAlignment(column_type, roundUp, inherited, in getBaseAlignment()
197 baseAlignment = in getBaseAlignment()
203 baseAlignment = in getBaseAlignment()
205 if (roundUp) baseAlignment = align(baseAlignment, 16u); in getBaseAlignment()
214 baseAlignment = std::max( in getBaseAlignment()
215 baseAlignment, in getBaseAlignment()
218 if (roundUp) baseAlignment = align(baseAlignment, 16u); in getBaseAlignment()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutCase.cpp480 …const int baseAlignment = (layoutFlags & LAYOUT_SCALAR) != 0 ? computeScalarBlockAlignment(type,… in computeReferenceLayout() local
484 int curOffset = deAlign32(baseOffset, baseAlignment); in computeReferenceLayout()
511 …nst int vecStride = (layoutFlags & LAYOUT_SCALAR) ? getDataTypeByteSize(vecType) : baseAlignment; in computeReferenceLayout()
541 …t stride = (layoutFlags & LAYOUT_SCALAR) ? getDataTypeByteSize(elemBasicType) : baseAlignment; in computeReferenceLayout()
568 … int vecStride = (layoutFlags & LAYOUT_SCALAR) ? getDataTypeByteSize(vecType) : baseAlignment; in computeReferenceLayout()
602 curOffset = deAlign32(curOffset, baseAlignment); in computeReferenceLayout()
621 …const int baseAlignment = (blockLayoutFlags & LAYOUT_SCALAR) != 0 ? computeScalarBlockAlignment… in computeReferenceLayout() local
625 int curOffset = deAlign32(baseOffset, baseAlignment); in computeReferenceLayout()
698 …const int size = computeReferenceLayout(layout, curBlockNdx, deAlign32(curOffset, baseAlignment), … in computeReferenceLayout()
699 const int stride = deAlign32(size, baseAlignment); in computeReferenceLayout()
/external/deqp/modules/gles31/functional/
Des31fSSBOLayoutCase.cpp474 const int baseAlignment = isStd140 ? computeStd140BaseAlignment(type, layoutFlags) in computeReferenceLayout() local
476 int curOffset = deAlign32(baseOffset, baseAlignment); in computeReferenceLayout()
502 entry.matrixStride = baseAlignment; in computeReferenceLayout()
505 curOffset += numVecs*baseAlignment; in computeReferenceLayout()
525 const int stride = baseAlignment; in computeReferenceLayout()
549 const int vecStride = baseAlignment; in computeReferenceLayout()
582 curOffset = deAlign32(curOffset, baseAlignment); in computeReferenceLayout()
601 const int baseAlignment = isStd140 ? computeStd140BaseAlignment(varType, combinedFlags) in computeReferenceLayout() local
603 int curOffset = deAlign32(baseOffset, baseAlignment); in computeReferenceLayout()
/external/deqp/external/vulkancts/modules/vulkan/ubo/
DvktUniformBlockCase.cpp567 …const int baseAlignment = (layoutFlags & LAYOUT_SCALAR) != 0 ? computeScalarBlockAlignment(type,… in computeReferenceLayout() local
571 int curOffset = deAlign32(baseOffset, baseAlignment); in computeReferenceLayout()
598 …nst int vecStride = (layoutFlags & LAYOUT_SCALAR) ? getDataTypeByteSize(vecType) : baseAlignment; in computeReferenceLayout()
628 …t stride = (layoutFlags & LAYOUT_SCALAR) ? getDataTypeByteSize(elemBasicType) : baseAlignment; in computeReferenceLayout()
655 … int vecStride = (layoutFlags & LAYOUT_SCALAR) ? getDataTypeByteSize(vecType) : baseAlignment; in computeReferenceLayout()
689 curOffset = deAlign32(curOffset, baseAlignment); in computeReferenceLayout()
/external/deqp/external/openglcts/modules/common/
DglcUniformBlockCase.cpp441 int baseAlignment = computeStd140BaseAlignment(type); in computeStd140Layout() local
443 curOffset = deAlign32(curOffset, baseAlignment); in computeStd140Layout()
549 curOffset = deAlign32(curOffset, baseAlignment); in computeStd140Layout()
/external/deqp/modules/glshared/
DglsUniformBlockCase.cpp468 int baseAlignment = computeStd140BaseAlignment(type); in computeStd140Layout() local
470 curOffset = deAlign32(curOffset, baseAlignment); in computeStd140Layout()
573 curOffset = deAlign32(curOffset, baseAlignment); in computeStd140Layout()
/external/swiftshader/src/OpenGL/compiler/
DOutputASM.cpp346 size_t baseAlignment = 0; in getBlockLayoutInfo() local
352 baseAlignment = ComponentsPerRegister; in getBlockLayoutInfo()
363 baseAlignment = ComponentsPerRegister; in getBlockLayoutInfo()
369 baseAlignment = (numComponents == 3 ? 4u : numComponents); in getBlockLayoutInfo()
372 mCurrentOffset = sw::align(mCurrentOffset, baseAlignment); in getBlockLayoutInfo()