From 767e374dced69b45db0afb30ca2ccf0bbbeef672 Mon Sep 17 00:00:00 2001 From: jfons Date: Thu, 20 May 2021 12:49:33 +0200 Subject: 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. --- thirdparty/embree-aarch64/kernels/common/stat.cpp | 128 ---------------------- 1 file changed, 128 deletions(-) delete mode 100644 thirdparty/embree-aarch64/kernels/common/stat.cpp (limited to 'thirdparty/embree-aarch64/kernels/common/stat.cpp') diff --git a/thirdparty/embree-aarch64/kernels/common/stat.cpp b/thirdparty/embree-aarch64/kernels/common/stat.cpp deleted file mode 100644 index b73c3a8c76..0000000000 --- a/thirdparty/embree-aarch64/kernels/common/stat.cpp +++ /dev/null @@ -1,128 +0,0 @@ -// Copyright 2009-2020 Intel Corporation -// SPDX-License-Identifier: Apache-2.0 - -#include "stat.h" - -namespace embree -{ - Stat Stat::instance; - - Stat::Stat () { - } - - Stat::~Stat () - { -#ifdef EMBREE_STAT_COUNTERS - Stat::print(std::cout); -#endif - } - - void Stat::print(std::ostream& cout) - { - Counters& cntrs = instance.cntrs; - Counters::Data& data = instance.cntrs.code; - //Counters::Data& data = instance.cntrs.active; - - /* print absolute numbers */ - cout << "--------- ABSOLUTE ---------" << std::endl; - cout << " #normal_travs = " << float(data.normal.travs )*1E-6 << "M" << std::endl; - cout << " #nodes = " << float(data.normal.trav_nodes )*1E-6 << "M" << std::endl; - cout << " #nodes_xfm = " << float(data.normal.trav_xfm_nodes )*1E-6 << "M" << std::endl; - cout << " #leaves = " << float(data.normal.trav_leaves )*1E-6 << "M" << std::endl; - cout << " #prims = " << float(data.normal.trav_prims )*1E-6 << "M" << std::endl; - cout << " #prim_hits = " << float(data.normal.trav_prim_hits )*1E-6 << "M" << std::endl; - - cout << " #stack nodes = " << float(data.normal.trav_stack_nodes )*1E-6 << "M" << std::endl; - cout << " #stack pop = " << float(data.normal.trav_stack_pop )*1E-6 << "M" << std::endl; - - size_t normal_box_hits = 0; - size_t weighted_box_hits = 0; - for (size_t i=0;i