From da1f92779d0b65c4a57ea201cca6d370da63a011 Mon Sep 17 00:00:00 2001 From: Jan Vesely Date: Wed, 14 Jan 2015 15:53:18 -0500 Subject: mesa: remove comparisons that are always true Signed-off-by: Jan Vesely Reviewed-by: Jose Fonseca --- src/mesa/program/prog_execute.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/mesa/program/prog_execute.c') diff --git a/src/mesa/program/prog_execute.c b/src/mesa/program/prog_execute.c index 33c1751..85aba00 100644 --- a/src/mesa/program/prog_execute.c +++ b/src/mesa/program/prog_execute.c @@ -1260,7 +1260,6 @@ _mesa_execute_program(struct gl_context * ctx, else if (swz == SWIZZLE_ONE) result[i] = 1.0; else { - ASSERT(swz >= 0); ASSERT(swz <= 3); result[i] = src[swz]; } -- cgit v1.1