freedreno: Use align64 instead ALIGN for 64 bits input
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Timur Kristóf <timur.kristof@gmail.com> Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38365>
This commit is contained in:
@@ -135,7 +135,7 @@ get_bvh_layout(VkGeometryTypeKHR geometry_type,
|
||||
offset += (internal_count + leaf_count) * sizeof(uint32_t);
|
||||
|
||||
/* The BVH and hence bvh_offset needs 64 byte alignment for RT nodes. */
|
||||
offset = ALIGN(offset, 64);
|
||||
offset = align64(offset, 64);
|
||||
layout->bvh_offset = offset;
|
||||
|
||||
offset += internal_count * sizeof(struct tu_internal_node) +
|
||||
|
||||
Reference in New Issue
Block a user