From 5e4158eb4869427ac13a0fe57e9b688ea4c3b0f1 Mon Sep 17 00:00:00 2001 From: DeeJayLSP Date: Thu, 24 Nov 2022 11:45:59 -0300 Subject: Update embree to 3.13.5 --- thirdparty/embree/common/simd/wasm/emulation.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 thirdparty/embree/common/simd/wasm/emulation.h (limited to 'thirdparty/embree/common/simd/wasm/emulation.h') diff --git a/thirdparty/embree/common/simd/wasm/emulation.h b/thirdparty/embree/common/simd/wasm/emulation.h new file mode 100644 index 0000000000..778ab4ae6a --- /dev/null +++ b/thirdparty/embree/common/simd/wasm/emulation.h @@ -0,0 +1,13 @@ +// Copyright 2009-2020 Intel Corporation +// SPDX-License-Identifier: Apache-2.0 + +#pragma once + +// According to https://emscripten.org/docs/porting/simd.html, _MM_SET_EXCEPTION_MASK and +// _mm_setcsr are unavailable in WebAssembly. + +#define _MM_SET_EXCEPTION_MASK(x) + +__forceinline void _mm_setcsr(unsigned int) +{ +} -- cgit v1.2.3