The distinction existed for legacy reasons, to easily port of Embree intersection code without affecting the main vector types. However we are now using SIMD for these types as well, so no good reason to keep the distinction. Also more consistently pass these vector types by value in inline functions. Previously it was partially changed for functions used by Metal to avoid having to add address space qualifiers, simple to do it everywhere. Also removes function declarations for vector math headers, serves no real purpose. Differential Revision: https://developer.blender.org/D16146
14 lines
342 B
C++
14 lines
342 B
C++
/* SPDX-License-Identifier: Apache-2.0
|
|
* Copyright 2011-2022 Blender Foundation */
|
|
|
|
#define __KERNEL_SSE__
|
|
#define __KERNEL_AVX__
|
|
#define __KERNEL_AVX2__
|
|
|
|
#define TEST_CATEGORY_NAME util_avx2
|
|
|
|
#if (defined(i386) || defined(_M_IX86) || defined(__x86_64__) || defined(_M_X64)) && \
|
|
defined(__AVX2__)
|
|
# include "util_float8_test.h"
|
|
#endif
|