blob: 66e2c8bdebe48415e94dfa28528c01085708a4ed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
diff -Nur a/core/rend/soft/softrend.cpp b/core/rend/soft/softrend.cpp
--- a/core/rend/soft/softrend.cpp 2016-05-18 07:26:32.058143101 -0300
+++ b/core/rend/soft/softrend.cpp 2016-05-18 12:24:35.403930238 -0300
@@ -1164,7 +1164,7 @@
//R coefs should be adjusted to match pixel format
INLINE __m128 shuffle_pixel(__m128 v) {
- return (__m128&)_mm_shuffle_epi8((__m128i&)v, _mm_set_epi8(R(0x80,2,1, 0)));
+ return _mm_cvtepi32_ps(_mm_shuffle_epi8(_mm_cvtps_epi32(v), _mm_set_epi8(R(0x80, 2, 1, 0))));
}
virtual void Present() {
|