From fd4395b8d1d6f8f018e7e7c3dd0c52fe52ab2794 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 5 Nov 2005 03:02:28 +0000 Subject: don't need MAKE_SWIZZLE() macro --- src/mesa/shader/nvfragparse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/shader/nvfragparse.c') diff --git a/src/mesa/shader/nvfragparse.c b/src/mesa/shader/nvfragparse.c index 41344ec8694..3d72b485a29 100644 --- a/src/mesa/shader/nvfragparse.c +++ b/src/mesa/shader/nvfragparse.c @@ -700,7 +700,7 @@ Parse_CondCodeMask(struct parse_state *parseState, if (!Parse_SwizzleSuffix(token, swz)) RETURN_ERROR1("Invalid swizzle suffix"); - dstReg->CondSwizzle = MAKE_SWIZZLE(swz); + dstReg->CondSwizzle = MAKE_SWIZZLE4(swz[0], swz[1], swz[2], swz[3]); } return GL_TRUE; @@ -1073,7 +1073,7 @@ Parse_VectorSrc(struct parse_state *parseState, if (!Parse_SwizzleSuffix(token, swz)) RETURN_ERROR1("Invalid swizzle suffix"); - srcReg->Swizzle = MAKE_SWIZZLE(swz); + srcReg->Swizzle = MAKE_SWIZZLE4(swz[0], swz[1], swz[2], swz[3]); } /* Finish absolute value */ -- cgit v1.2.3