godot/thirdparty/embree/kernels/builders/bvh_builder_sah.h

// Copyright 2009-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0

#pragma once

#include "heuristic_binning_array_aligned.h"
#include "heuristic_spatial_array.h"
#include "heuristic_openmerge_array.h"

#define NUM_OBJECT_BINS
#define NUM_SPATIAL_BINS

namespace embree
{
  namespace isa
  {
    MAYBE_UNUSED static const float travCost =;
    MAYBE_UNUSED static const size_t DEFAULT_SINGLE_THREAD_THRESHOLD =;

    struct GeneralBVHBuilder
    {};

    /* SAH builder that operates on an array of BuildRecords */
    struct BVHBuilderBinnedSAH
    {};

    /* Spatial SAH builder that operates on an double-buffered array of BuildRecords */
    struct BVHBuilderBinnedFastSpatialSAH
    {};

    /* Open/Merge SAH builder that operates on an array of BuildRecords */
    struct BVHBuilderBinnedOpenMergeSAH
    {};
  }
}