vk/bvh: Fix clang build error with turnip

Make sure that struct vk_bvh_geometry_data is defined before
vk_fill_geometry_data(), to fix this error:

In file included from ../src/freedreno/vulkan/tu_acceleration_structure.cc:29:
../src/vulkan/runtime/vk_acceleration_structure.h:138:1: error: 'vk_fill_geometry_data' has C-linkage specified, but returns incomplete type 'struct vk_bvh_geometry_data' which could be incompatible with C [-Werror,-Wreturn-type-c-linkage]

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28447>
This commit is contained in:
Connor Abbott
2025-01-19 19:32:47 -05:00
committed by Marge Bot
parent 793cba0e6f
commit c2c48db6a4
@@ -28,6 +28,8 @@
#include "vk_object.h"
#include "radix_sort/radix_sort_vk.h"
#include "bvh/vk_bvh.h"
#ifdef __cplusplus
extern "C" {
#endif