Skip to content

Commit

Permalink
Oops, shifting using a SSE register apparently requires AVX2
Browse files Browse the repository at this point in the history
  • Loading branch information
dpjudas committed Dec 8, 2019
1 parent 6c65c25 commit 0b9e4e1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/rendering/polyrenderer/drawers/poly_triangle.h
Expand Up @@ -199,8 +199,6 @@ class PolyTriangleThreadData
struct Scanline
{
float W[MAXWIDTH];
float WeightV1[MAXWIDTH];
float WeightV2[MAXWIDTH];
uint16_t U[MAXWIDTH];
uint16_t V[MAXWIDTH];
float WorldX[MAXWIDTH];
Expand Down
2 changes: 1 addition & 1 deletion src/rendering/polyrenderer/drawers/screen_triangle.cpp
Expand Up @@ -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)
{
Expand Down

0 comments on commit 0b9e4e1

Please sign in to comment.