Searched refs:BUFFER_ALIGN (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/render/node/ |
H A D | render_node_morph.cpp | 39 constexpr const uint32_t BUFFER_ALIGN = 0x100; // on Nvidia = 0x20, on Mali and Intel = 0x10, SBO o… variable 133 bufferSize_ = static_cast<uint32_t>(Align(sizeOfBuffer, BUFFER_ALIGN)); in PreExecuteFrame() 221 BUFFER_ALIGN)); in ComputeMorphs()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/ |
H A D | mesh_builder.cpp | 56 constexpr uint32_t BUFFER_ALIGN = 0x100; // on Nvidia = 0x20, on Mali and Intel = 0x10, SBO on Mali… variable 1008 bufferSizes.indexBuffer = Align(bufferSizes.indexBuffer, BUFFER_ALIGN); in Allocate() 1009 bufferSizes.jointBuffer = Align(bufferSizes.jointBuffer, BUFFER_ALIGN); in Allocate() 1010 bufferSizes.morphVertexData = Align(bufferSizes.morphVertexData, BUFFER_ALIGN); in Allocate() 1060 … static_cast<uint32_t>(Align(bindingDesc.stride * submesh.info.vertexCount, BUFFER_ALIGN)); in CalculateSizes() 1063 … submesh.indexBufferOffset = static_cast<uint32_t>(Align(bufferSizes.indexBuffer, BUFFER_ALIGN)); in CalculateSizes() 1064 … submesh.jointBufferOffset = static_cast<uint32_t>(Align(bufferSizes.jointBuffer, BUFFER_ALIGN)); in CalculateSizes() 1076 Align(jointWeightSizeInBytes * submesh.info.vertexCount, BUFFER_ALIGN); in CalculateSizes() 1090 sizeof(MorphInputData) * (submesh.info.morphTargetCount + 1u), BUFFER_ALIGN)); in CalculateSizes() 1294 BUFFER_ALIGN)); in SetMorphTargetData() [all …]
|