Searched refs:GetMetalAlignmentForGLType (Results 1 – 3 of 3) sorted by relevance
130 size_t GetMetalAlignmentForGLType(GLenum type) in GetMetalAlignmentForGLType() function242 return mtl::GetMetalAlignmentForGLType(variableType); in GetMTLBaseAlignment()265 baseAlignment = static_cast<int>(mtl::GetMetalAlignmentForGLType(type)); in getBlockLayoutInfo()266 matrixStride = static_cast<int>(mtl::GetMetalAlignmentForGLType(type)); in getBlockLayoutInfo()274 baseAlignment = static_cast<int>(mtl::GetMetalAlignmentForGLType(type)); in getBlockLayoutInfo()279 baseAlignment = mtl::GetMetalAlignmentForGLType(type); in getBlockLayoutInfo()
28 size_t GetMetalAlignmentForGLType(GLenum type);
33 align = std::max(mtl::GetMetalAlignmentForGLType(layoutIter->second.type), align);