wok-next
annotate mesa12/stuff/patches/mesa-12.0.patch @ rev 21727
created recipe for vbindiff
author |
Hans-G?nter Theisgen |
date |
Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents |
c0521c689857 |
children |
|
rev |
line source |
al@19645
|
1 --- a/src/gallium/drivers/swr/rasterizer/core/utils.h
|
al@19645
|
2 +++ b/src/gallium/drivers/swr/rasterizer/core/utils.h
|
al@19645
|
3 @@ -37,7 +37,7 @@
|
al@19645
|
4 #define _MM_INSERT_EPI64 _mm_insert_epi64
|
al@19645
|
5 #define _MM_EXTRACT_EPI64 _mm_extract_epi64
|
al@19645
|
6 #else
|
al@19645
|
7 -INLINE INT64 _MM_EXTRACT_EPI64(__m128i a, const int32_t ndx)
|
al@19645
|
8 +INLINE int64_t _MM_EXTRACT_EPI64(__m128i a, const int32_t ndx)
|
al@19645
|
9 {
|
al@19645
|
10 OSALIGNLINE(uint32_t) elems[4];
|
al@19645
|
11 _mm_store_si128((__m128i*)elems, a);
|
al@19645
|
12 @@ -55,7 +55,7 @@
|
al@19645
|
13 }
|
al@19645
|
14 }
|
al@19645
|
15
|
al@19645
|
16 -INLINE __m128i _MM_INSERT_EPI64(__m128i a, INT64 b, const int32_t ndx)
|
al@19645
|
17 +INLINE __m128i _MM_INSERT_EPI64(__m128i a, int64_t b, const int32_t ndx)
|
al@19645
|
18 {
|
al@19645
|
19 OSALIGNLINE(int64_t) elems[2];
|
al@19645
|
20 _mm_store_si128((__m128i*)elems, a);
|