summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/nvfragparse.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-11-05 03:02:28 +0000
committerBrian Paul <[email protected]>2005-11-05 03:02:28 +0000
commitfd4395b8d1d6f8f018e7e7c3dd0c52fe52ab2794 (patch)
treeadbfd291e7a2947ad2f587d219720648f0c79b24 /src/mesa/shader/nvfragparse.c
parent613e1ad5d517d9964bd9cf94daa931dda33113fe (diff)
don't need MAKE_SWIZZLE() macro
Diffstat (limited to 'src/mesa/shader/nvfragparse.c')
-rw-r--r--src/mesa/shader/nvfragparse.c4
1 files changed, 2 insertions, 2 deletions
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 */