wok-next view mesa/stuff/mesa-12.0.patch @ rev 20500

Tiny edits: fix permissions and avoid out-of-tree files.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Mar 15 20:43:55 2018 +0200 (2018-03-15)
parents
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);