virtualx-engine/thirdparty/embree/common/sys/regression.h
jfons a69cc9f13d
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.

(cherry picked from commit 767e374dce)
2021-05-22 15:14:07 +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);
}