summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTim Rowley <[email protected]>2017-06-29 17:22:05 -0500
committerTim Rowley <[email protected]>2017-07-13 08:47:10 -0500
commit4c185dd3b3348912a8809c1f13f713763263e505 (patch)
tree1ad87c305eaac3524c317acd8d17d447668df3b9 /src
parentbbc3b5c0dc38e303d97379a935f8417b81cdfbb6 (diff)
swr/rast: Fix build warnings when using the Intel compiler
Reviewed-by: Bruce Cherniak <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/swr/rasterizer/common/simdlib_types.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/swr/rasterizer/common/simdlib_types.hpp b/src/gallium/drivers/swr/rasterizer/common/simdlib_types.hpp
index 1964ef47027..07775e7b83f 100644
--- a/src/gallium/drivers/swr/rasterizer/common/simdlib_types.hpp
+++ b/src/gallium/drivers/swr/rasterizer/common/simdlib_types.hpp
@@ -293,7 +293,7 @@ namespace SIMDImpl
using __mmask16 = uint16_t;
#endif
-#if SIMD_ARCH >= SIMD_ARCH_AVX512
+#if defined(__INTEL_COMPILER) || (SIMD_ARCH >= SIMD_ARCH_AVX512)
#define SIMD_ALIGNMENT_BYTES 64
#else
#define SIMD_ALIGNMENT_BYTES 32