#include "ray_tracing_utils.h"
#include "generated/layer_chassis_dispatch.h"
#include "containers/custom_containers.h"
#include <cassert>
#include <vector>
#include <vulkan/utility/vk_struct_helper.hpp>
namespace rt {
static VkAccelerationStructureBuildSizesInfoKHR ComputeBuildSizes(const VkDevice device,
const VkAccelerationStructureBuildTypeKHR build_type,
const VkAccelerationStructureBuildGeometryInfoKHR &build_info,
const VkAccelerationStructureBuildRangeInfoKHR *range_infos) { … }
VkDeviceSize ComputeScratchSize(BuildType build_type, const VkDevice device,
const VkAccelerationStructureBuildGeometryInfoKHR &build_info,
const VkAccelerationStructureBuildRangeInfoKHR *range_infos) { … }
VkDeviceSize ComputeAccelerationStructureSize(BuildType build_type, const VkDevice device,
const VkAccelerationStructureBuildGeometryInfoKHR &build_info,
const VkAccelerationStructureBuildRangeInfoKHR *range_infos) { … }
}