diff options
author | Jan Vesely <jan.vesely@rutgers.edu> | 2015-01-14 15:53:18 -0500 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2015-01-21 14:05:04 +0000 |
commit | da1f92779d0b65c4a57ea201cca6d370da63a011 (patch) | |
tree | 398faa1ae8fcb6a40d7adf6d06d4a9df9725b545 /src/mesa/program/prog_execute.c | |
parent | 194f6235b32cd0c54547a3913e463cf691d011d6 (diff) | |
download | external_mesa3d-da1f92779d0b65c4a57ea201cca6d370da63a011.zip external_mesa3d-da1f92779d0b65c4a57ea201cca6d370da63a011.tar.gz external_mesa3d-da1f92779d0b65c4a57ea201cca6d370da63a011.tar.bz2 |
mesa: remove comparisons that are always true
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Diffstat (limited to 'src/mesa/program/prog_execute.c')
-rw-r--r-- | src/mesa/program/prog_execute.c | 1 |
1 files changed, 0 insertions, 1 deletions
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]; } |