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) +