]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
remove unused macro
authoreihrul <eihrul@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 7 Feb 2013 11:16:38 +0000 (11:16 +0000)
committerRudolf Polzer <divverent@xonotic.org>
Mon, 25 Feb 2013 08:23:48 +0000 (09:23 +0100)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11888 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=a763f483080045ae701e2f82a178fa39526e10dc

dpsoftrast.c

index 6d7de773b1e2c9d142b3b7664f6ad38e8f046aff..9d0ea02a2b8f6a39b8a07d97af45e2da1397bafa 100644 (file)
@@ -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); \