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

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

#pragma once

#include "heuristic_binning.h"
#include "heuristic_spatial.h"

namespace embree
{
  namespace isa
  { 
#if 0
#define SPATIAL_ASPLIT_OVERLAP_THRESHOLD
#define SPATIAL_ASPLIT_SAH_THRESHOLD
#define SPATIAL_ASPLIT_AREA_THRESHOLD
#else
#define SPATIAL_ASPLIT_OVERLAP_THRESHOLD
#define SPATIAL_ASPLIT_SAH_THRESHOLD
#define SPATIAL_ASPLIT_AREA_THRESHOLD
#endif

    struct PrimInfoExtRange : public CentGeomBBox3fa, public extended_range<size_t>
    {};

    template<typename ObjectSplit, typename SpatialSplit>
      struct Split2
      {};
    
    /*! Performs standard object binning */
    template<typename PrimitiveSplitterFactory, typename PrimRef, size_t OBJECT_BINS, size_t SPATIAL_BINS>
      struct HeuristicArraySpatialSAH
      {};
  }
}