godot/thirdparty/embree/common/sys/regression.h
jfons 767e374dce Upgrade Embree to the latest official release.
Since Embree v3.13.0 supports AARCH64, switch back to the
official repo instead of using Embree-aarch64.

`thirdparty/embree/patches/godot-changes.patch` should now contain
an accurate diff of the changes done to the library.
2021-05-21 17:00:24 +02:00

25 lines
527 B
C++

// Copyright 2009-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
#pragma once
#include "platform.h"
#include <vector>
namespace embree
{
/*! virtual interface for all regression tests */
struct RegressionTest
{
RegressionTest (std::string name) : name(name) {}
virtual bool run() = 0;
std::string name;
};
/*! registers a regression test */
void registerRegressionTest(RegressionTest* test);
/*! run all regression tests */
RegressionTest* getRegressionTest(size_t index);
}