From dd97f64e8824324e6a3cdcc0195dd5c9fbb75020 Mon Sep 17 00:00:00 2001 From: Yonggang Luo Date: Mon, 10 Nov 2025 19:57:30 +0800 Subject: [PATCH] freedreno: Use align64 instead ALIGN for 64 bits input MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Yonggang Luo Reviewed-by: Timur Kristóf Acked-by: Alyssa Rosenzweig Part-of: --- src/freedreno/vulkan/tu_acceleration_structure.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/freedreno/vulkan/tu_acceleration_structure.cc b/src/freedreno/vulkan/tu_acceleration_structure.cc index c1355d2b26c..5195f2cba8d 100644 --- a/src/freedreno/vulkan/tu_acceleration_structure.cc +++ b/src/freedreno/vulkan/tu_acceleration_structure.cc @@ -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) +