commit 3166608b31663ff8ec98eb6da4950cd2189d7a46
parent 620b8514bb2e799ba79f279ce8774f91dfce4b23
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Fri, 28 Apr 2023 15:36:35 +0200
Merge branch 'release_0.2'
Diffstat:
5 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/README.md b/README.md
@@ -29,6 +29,10 @@ informations on CMake.
## Release notes
+### Version 0.2
+
+Update of the acceleration data structure backend from Embree3 to Embree4
+
### Version 0.1
- Add the `suvm_mesh_desc_compute_hash` function which uses sha256 encryption
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
@@ -23,7 +23,7 @@ option(NO_TEST "Do not build tests" OFF)
################################################################################
# Check dependencies
################################################################################
-find_package(Embree 3.6 REQUIRED)
+find_package(Embree 4.0 REQUIRED)
find_package(RCMake 0.4 REQUIRED)
find_package(RSys 0.13 REQUIRED)
if(NOT NO_TEST)
@@ -44,7 +44,7 @@ endif()
# Configure and define targets
################################################################################
set(VERSION_MAJOR 0)
-set(VERSION_MINOR 1)
+set(VERSION_MINOR 2)
set(VERSION_PATCH 0)
set(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
diff --git a/src/suvm_c.h b/src/suvm_c.h
@@ -17,7 +17,7 @@
#define SUVM_C_H
#include <rsys/rsys.h>
-#include <embree3/rtcore.h>
+#include <embree4/rtcore.h>
static FINLINE res_T
rtc_error_to_res_T(const enum RTCError err)
diff --git a/src/suvm_device.h b/src/suvm_device.h
@@ -17,7 +17,7 @@
#define SUVM_DEVICE_H
#include <rsys/ref_count.h>
-#include <embree3/rtcore.h>
+#include <embree4/rtcore.h>
struct logger;
struct mem_allocator;
diff --git a/src/suvm_volume.h b/src/suvm_volume.h
@@ -21,7 +21,7 @@
#include <rsys/float3.h>
#include <rsys/ref_count.h>
-#include <embree3/rtcore.h>
+#include <embree4/rtcore.h>
/*
* Tetrahedron geometric layout