From a763f483080045ae701e2f82a178fa39526e10dc Mon Sep 17 00:00:00 2001 From: eihrul Date: Thu, 7 Feb 2013 11:16:38 +0000 Subject: [PATCH] remove unused macro git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11888 d7cf8633-e32d-0410-b094-e92efae38249 --- dpsoftrast.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/dpsoftrast.c b/dpsoftrast.c index 6d7de773..9d0ea02a 100644 --- a/dpsoftrast.c +++ b/dpsoftrast.c @@ -1725,14 +1725,6 @@ static void DPSOFTRAST_Vertex_Copy(float *out4f, const float *in4f, int numitems out = _mm_shuffle_ps(p, p, _MM_SHUFFLE(0, 3, 2, 1)); \ } -#define DPSOFTRAST_PROJECTY(out, in, viewportcenter, viewportscale) \ -{ \ - __m128 p = (in), w = _mm_shuffle_ps(p, p, _MM_SHUFFLE(3, 3, 3, 3)); \ - p = _mm_move_ss(_mm_shuffle_ps(p, p, _MM_SHUFFLE(2, 1, 0, 3)), _mm_set_ss(1.0f)); \ - p = _mm_add_ps(viewportcenter, _mm_div_ps(_mm_mul_ps(viewportscale, p), w)); \ - out = _mm_shuffle_ps(p, p, _MM_SHUFFLE(0, 3, 2, 1)); \ -} - #define DPSOFTRAST_TRANSFORMVERTEX(out, in, m0, m1, m2, m3) \ { \ __m128 p = (in); \ -- 2.39.2