From: Michal Krol Date: Tue, 10 Nov 2009 02:12:02 +0000 (+0100) Subject: tgsi/exec: Exit early on error. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b5d8a7b6dc1b48c2a11131803e1f37c05fe0bd03;p=mesa.git tgsi/exec: Exit early on error. --- diff --git a/src/gallium/auxiliary/tgsi/tgsi_exec.c b/src/gallium/auxiliary/tgsi/tgsi_exec.c index 1989045985b..b7569e74d4b 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_exec.c +++ b/src/gallium/auxiliary/tgsi/tgsi_exec.c @@ -1811,8 +1811,8 @@ exec_declaration( break; default: - eval = NULL; assert( 0 ); + return; } if( mask == TGSI_WRITEMASK_XYZW ) {