wok-next view mesa12/stuff/patches/mesa-12.0.patch @ rev 20661
Unification of the patch system
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu May 10 21:12:00 2018 +0300 (2018-05-10) |
parents | mesa12/stuff/mesa-12.0.patch@c0521c689857 |
children |
line source
1 --- a/src/gallium/drivers/swr/rasterizer/core/utils.h
2 +++ b/src/gallium/drivers/swr/rasterizer/core/utils.h
3 @@ -37,7 +37,7 @@
4 #define _MM_INSERT_EPI64 _mm_insert_epi64
5 #define _MM_EXTRACT_EPI64 _mm_extract_epi64
6 #else
7 -INLINE INT64 _MM_EXTRACT_EPI64(__m128i a, const int32_t ndx)
8 +INLINE int64_t _MM_EXTRACT_EPI64(__m128i a, const int32_t ndx)
9 {
10 OSALIGNLINE(uint32_t) elems[4];
11 _mm_store_si128((__m128i*)elems, a);
12 @@ -55,7 +55,7 @@
13 }
14 }
16 -INLINE __m128i _MM_INSERT_EPI64(__m128i a, INT64 b, const int32_t ndx)
17 +INLINE __m128i _MM_INSERT_EPI64(__m128i a, int64_t b, const int32_t ndx)
18 {
19 OSALIGNLINE(int64_t) elems[2];
20 _mm_store_si128((__m128i*)elems, a);