Mesa (master): tgsi/exec: Exit early on error.
MichaŠKról
michal at kemper.freedesktop.org
Tue Nov 10 02:25:12 UTC 2009
Module: Mesa
Branch: master
Commit: b5d8a7b6dc1b48c2a11131803e1f37c05fe0bd03
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b5d8a7b6dc1b48c2a11131803e1f37c05fe0bd03
Author: Michal Krol <michal at vmware.com>
Date: Tue Nov 10 03:12:02 2009 +0100
tgsi/exec: Exit early on error.
---
src/gallium/auxiliary/tgsi/tgsi_exec.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/gallium/auxiliary/tgsi/tgsi_exec.c b/src/gallium/auxiliary/tgsi/tgsi_exec.c
index 1989045..b7569e7 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 ) {
More information about the mesa-commit
mailing list