Core:
- Fix compiling issues on some platforms. (Regression from r5212.)
This commit is contained in:
parent
d1db3dd7ef
commit
611d0c9036
|
@ -19,6 +19,10 @@
|
||||||
|
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
|
|
||||||
|
#ifndef _MSC_VER
|
||||||
|
#include <stdint.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
|
@ -693,7 +693,7 @@ Render3DError Render3D_SSSE3::ClearFramebuffer(const GFX3D_State &renderState)
|
||||||
clearDepth_vec128 = _mm_and_si128(clearDepth_vec128, fogBufferBitMask_vec128);
|
clearDepth_vec128 = _mm_and_si128(clearDepth_vec128, fogBufferBitMask_vec128);
|
||||||
clearDepth_vec128 = _mm_srli_epi16(clearDepth_vec128, 15);
|
clearDepth_vec128 = _mm_srli_epi16(clearDepth_vec128, 15);
|
||||||
|
|
||||||
__m128 clearDepthFogBit_vec128 = _mm_shuffle_epi8(clearDepth_vec128, _mm_set_epi8(15, 13, 11, 9, 7, 5, 3, 1, 14, 12, 10, 8, 6, 4, 2, 0));
|
__m128i clearDepthFogBit_vec128 = _mm_shuffle_epi8(clearDepth_vec128, _mm_set_epi8(15, 13, 11, 9, 7, 5, 3, 1, 14, 12, 10, 8, 6, 4, 2, 0));
|
||||||
|
|
||||||
clearDepth_vec128 = _mm_load_si128((__m128i *)(clearDepthBuffer + addr));
|
clearDepth_vec128 = _mm_load_si128((__m128i *)(clearDepthBuffer + addr));
|
||||||
clearDepth_vec128 = _mm_and_si128(clearDepth_vec128, fogBufferBitMask_vec128);
|
clearDepth_vec128 = _mm_and_si128(clearDepth_vec128, fogBufferBitMask_vec128);
|
||||||
|
|
Loading…
Reference in New Issue