Oops, shifting using a SSE register apparently requires AVX2

This commit is contained in:
Magnus Norddahl 2019-12-08 16:29:14 +01:00
parent 6c65c25303
commit 0b9e4e1f3d
2 changed files with 1 additions and 3 deletions

View file

@ -199,8 +199,6 @@ public:
struct Scanline
{
float W[MAXWIDTH];
float WeightV1[MAXWIDTH];
float WeightV2[MAXWIDTH];
uint16_t U[MAXWIDTH];
uint16_t V[MAXWIDTH];
float WorldX[MAXWIDTH];

View file

@ -435,7 +435,7 @@ static const int shiftTable[] = {
24, 16, 8, 0 // STYLEALPHA_InvDstCol
};
#ifdef NO_SSE
#if 1 //#ifndef USE_AVX2
template<typename OptT>
static void BlendColor(int y, int x0, int x1, PolyTriangleThreadData* thread)
{