- Fix compiling issues on some platforms. (Regression from r5212.)
This commit is contained in:
rogerman 2015-06-30 20:09:03 +00:00
parent d1db3dd7ef
commit 611d0c9036
2 changed files with 5 additions and 1 deletions

View File

@ -19,6 +19,10 @@
#include "common.h"
#ifndef _MSC_VER
#include <stdint.h>
#endif
#include <string.h>
#include <string>
#include <stdarg.h>

View File

@ -693,7 +693,7 @@ Render3DError Render3D_SSSE3::ClearFramebuffer(const GFX3D_State &renderState)
clearDepth_vec128 = _mm_and_si128(clearDepth_vec128, fogBufferBitMask_vec128);
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_and_si128(clearDepth_vec128, fogBufferBitMask_vec128);